]>
Commit | Line | Data |
---|---|---|
f3a97c86 | 1 | #ifndef ALIDETECTORTAG_H |
2 | #define ALIDETECTORTAG_H | |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | ||
7 | /* $Id$ */ | |
8 | ||
9 | //------------------------------------------------------------------------- | |
10 | // Class AliDetectorTag | |
11 | // This is the class to deal with the tags for the detector level | |
12 | // | |
13 | // Origin: Panos Christakoglou, UOA-CERN, Panos.Christakoglou@cern.ch | |
14 | //------------------------------------------------------------------------- | |
15 | ||
16 | #include "TObject.h" | |
719bd672 | 17 | //___________________________________________________________________________ |
18 | class AliDetectorTag : public TObject { | |
f3a97c86 | 19 | public: |
20 | AliDetectorTag(); | |
e16601cf | 21 | AliDetectorTag(const AliDetectorTag & t); |
719bd672 | 22 | |
23 | AliDetectorTag &operator=(const AliDetectorTag &rhs); | |
f3a97c86 | 24 | virtual ~AliDetectorTag(); |
25 | ||
719bd672 | 26 | //____________________________________________________// |
27 | void SetITS() {fITS = kTRUE;} | |
28 | void SetTPC() {fTPC = kTRUE;} | |
29 | void SetTRD() {fTRD = kTRUE;} | |
30 | void SetTOF() {fTOF = kTRUE;} | |
31 | void SetHMPID() {fHMPID = kTRUE;} | |
32 | void SetPHOS() {fPHOS = kTRUE;} | |
33 | void SetZDC() {fZDC = kTRUE;} | |
34 | void SetMUON() {fMUON = kTRUE;} | |
35 | void SetPMD() {fPMD = kTRUE;} | |
36 | void SetEMCAL() {fEMCAL = kTRUE;} | |
37 | void SetVZERO() {fVZERO = kTRUE;} | |
38 | void SetTZERO() {fTZERO = kTRUE;} | |
f3a97c86 | 39 | |
719bd672 | 40 | //____________________________________________________// |
41 | Bool_t GetITS() const {return fITS;} | |
42 | Bool_t GetTPC() const {return fTPC;} | |
43 | Bool_t GetTRD() const {return fTRD;} | |
44 | Bool_t GetTOF() const {return fTOF;} | |
45 | Bool_t GetHMPID() const {return fHMPID;} | |
46 | Bool_t GetPHOS() const {return fPHOS;} | |
47 | Bool_t GetZDC() const {return fZDC;} | |
48 | Bool_t GetMUON() const {return fMUON;} | |
49 | Bool_t GetPMD() const {return fPMD;} | |
50 | Bool_t GetEMCAL() const {return fEMCAL;} | |
51 | Bool_t GetVZERO() const {return fVZERO;} | |
52 | Bool_t GetTZERO() const {return fTZERO;} | |
f3a97c86 | 53 | |
719bd672 | 54 | //____________________________________________________// |
e16601cf | 55 | private: |
719bd672 | 56 | Bool_t fITS; //ITS active = 1 |
57 | Bool_t fTPC; //TPC active = 1 | |
58 | Bool_t fTRD; //TRD active = 1 | |
59 | Bool_t fTOF; //TOF active = 1 | |
60 | Bool_t fHMPID; //HMPID active = 1 | |
61 | Bool_t fPHOS; //PHOS active = 1 | |
62 | Bool_t fZDC; //ZDC active = 1 | |
63 | Bool_t fMUON; //MUON active = 1 | |
64 | Bool_t fPMD; //PMD active = 1 | |
65 | Bool_t fEMCAL; //EMCAL active = 1 | |
66 | Bool_t fVZERO; //VZERO active = 1 | |
67 | Bool_t fTZERO; //TZERO active = 1 | |
e16601cf | 68 | |
719bd672 | 69 | ClassDef(AliDetectorTag,2) //(ClassName, ClassVersion) |
f3a97c86 | 70 | }; |
71 | //______________________________________________________________________________ | |
72 | ||
73 | #endif |