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 */
9 //-------------------------------------------------------------------------
10 // Class AliDetectorTag
11 // This is the class to deal with the tags for the detector level
13 // Origin: Panos Christakoglou, UOA-CERN, Panos.Christakoglou@cern.ch
14 //-------------------------------------------------------------------------
17 //___________________________________________________________________________
18 class AliDetectorTag : public TObject {
21 AliDetectorTag(const AliDetectorTag & t);
23 AliDetectorTag &operator=(const AliDetectorTag &rhs);
24 virtual ~AliDetectorTag();
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;}
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;}
54 //____________________________________________________//
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
69 ClassDef(AliDetectorTag,2) //(ClassName, ClassVersion)
71 //______________________________________________________________________________