]>
Commit | Line | Data |
---|---|---|
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 | ||
15 | #include "AliRecoParam.h" | |
16 | ||
17 | class AliDetectorRecoParam : public TNamed | |
18 | { | |
19 | ||
20 | public: | |
21 | AliDetectorRecoParam(); | |
22 | virtual ~AliDetectorRecoParam(); | |
23 | void Print(Option_t */*option*/) const {Dump();} | |
24 | ||
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: | |
31 | ||
32 | Int_t fEventSpecie; // Event specie for which the reco-param object is valid | |
33 | ||
34 | ClassDef(AliDetectorRecoParam, 3) | |
35 | }; | |
36 | ||
37 | ||
38 | #endif |