//-------------------------------------------------------------------------
#include "TObject.h"
+#include "TObjArray.h"
//___________________________________________________________________________
class AliDetectorTag : public TObject {
//____________________________________________________//
void SetDetectorMask(UInt_t mask) {fMask = mask; Int2Bin();}
+ TObjArray *GetDetectorMask() {return fDetectorArray;}
+ UInt_t GetIntDetectorMask();
void PrintDetectorMask();
//____________________________________________________//
//____________________________________________________//
private:
- void AliDetectorTag::Int2Bin();
- void AliDetectorTag::SetDetectorConfiguration();
+ void Int2Bin();
+ void SetDetectorConfiguration();
void SetITSSPD() {fITSSPD = kTRUE;}
void SetITSSDD() {fITSSDD = kTRUE;}
void SetZDC() {fZDC = kTRUE;}
void SetEMCAL() {fEMCAL = kTRUE;}
+ TObjArray *fDetectorArray; //detectors' names - active
+ UInt_t fMask; //detector mask
+ UInt_t fDetectors[32]; //detector mask
+ Bool_t fITSSPD; //ITS-SPD active = 1
+ Bool_t fITSSDD; //ITS-SDD active = 1
+ Bool_t fITSSSD; //ITS-SSD active = 1
+ Bool_t fTPC; //TPC active = 1
+ Bool_t fTRD; //TRD active = 1
+ Bool_t fTOF; //TOF active = 1
+ Bool_t fHMPID; //HMPID active = 1
+ Bool_t fPHOS; //PHOS active = 1
+ Bool_t fPMD; //PMD active = 1
+ Bool_t fMUON; //MUON active = 1
+ Bool_t fFMD; //FMD active = 1
+ Bool_t fTZERO; //TZERO active = 1
+ Bool_t fVZERO; //VZERO active = 1
+ Bool_t fZDC; //ZDC active = 1
+ Bool_t fEMCAL; //EMCAL active = 1
- UInt_t fMask; //detector mask
- UInt_t fDetectors[20]; //detector mask
- Bool_t fITSSPD; //ITS-SPD active = 1
- Bool_t fITSSDD; //ITS-SDD active = 1
- Bool_t fITSSSD; //ITS-SSD active = 1
- Bool_t fTPC; //TPC active = 1
- Bool_t fTRD; //TRD active = 1
- Bool_t fTOF; //TOF active = 1
- Bool_t fHMPID; //HMPID active = 1
- Bool_t fPHOS; //PHOS active = 1
- Bool_t fPMD; //PMD active = 1
- Bool_t fMUON; //MUON active = 1
- Bool_t fFMD; //FMD active = 1
- Bool_t fTZERO; //TZERO active = 1
- Bool_t fVZERO; //VZERO active = 1
- Bool_t fZDC; //ZDC active = 1
- Bool_t fEMCAL; //EMCAL active = 1
-
- ClassDef(AliDetectorTag,3) //(ClassName, ClassVersion)
+ ClassDef(AliDetectorTag,4) //(ClassName, ClassVersion)
};
//______________________________________________________________________________