]>
Commit | Line | Data |
---|---|---|
242b332c | 1 | #ifndef ALIDETECTORRECOPARAM_H |
2 | #define ALIDETECTORRECOPARAM_H | |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | /////////////////////////////////////////////////////////////////////////////// | |
7 | // // | |
8 | // Base Class for Detector reconstruction parameters // | |
9 | // // | |
10 | /////////////////////////////////////////////////////////////////////////////// | |
11 | ||
12 | ||
13 | #include "TNamed.h" | |
14 | ||
7e88424f | 15 | #include "AliRecoParam.h" |
16 | ||
242b332c | 17 | class AliDetectorRecoParam : public TNamed |
18 | { | |
19 | ||
20 | public: | |
21 | AliDetectorRecoParam(); | |
22 | virtual ~AliDetectorRecoParam(); | |
25e9a628 | 23 | void Print(Option_t */*option*/) const {Dump();} |
6769d914 | 24 | |
7e88424f | 25 | Int_t GetEventSpecie() const { return fEventSpecie; } |
26 | void SetEventSpecie(Int_t specie) { fEventSpecie = specie; } | |
27 | void SetAsDefault() { fEventSpecie |= AliRecoParam::kDefault; } | |
28 | Bool_t IsDefault() const { return (fEventSpecie & AliRecoParam::kDefault); } | |
29 | ||
30 | private: | |
6769d914 | 31 | |
7e88424f | 32 | Int_t fEventSpecie; // Event specie for which the reco-param object is valid |
242b332c | 33 | |
7e88424f | 34 | ClassDef(AliDetectorRecoParam, 3) |
242b332c | 35 | }; |
36 | ||
37 | ||
38 | #endif |