AliPhysics  vAN-20151012 (2287573)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
AliEmcalTriggerBitConfig.h
Go to the documentation of this file.
1 
11 #ifndef ALIEMCALTRIGGERBITCONFIG_H
12 #define ALIEMCALTRIGGERBITCONFIG_H
13 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
14  * See cxx source for full Copyright notice */
15 
16 #include "AliLog.h"
17 #include <TNamed.h>
18 
27 class AliEmcalTriggerBitConfig : public TNamed {
28 public:
30  AliEmcalTriggerBitConfig(Int_t l0bit, Int_t j1bit, Int_t j2bit, Int_t g1bit, Int_t g2bit, Int_t mcoffset);
32 
33  void Initialise(const AliEmcalTriggerBitConfig &ref);
34 
39  Int_t GetLevel0Bit() const { if(fL0Bit < 0) AliFatal("Invalid trigger configuration: Level0 bit < 0"); return fL0Bit; }
44  Int_t GetJetHighBit() const { if(fJHighBit < 0) AliFatal("Invalid trigger configuration: Jet high bit < 0"); return fJHighBit; }
49  Int_t GetJetLowBit() const { if(fJLowBit < 0) AliFatal("Invalid trigger configuration: Jet low bit < 0"); return fJLowBit; }
54  Int_t GetGammaHighBit() const { if(fGHighBit < 0) AliFatal("Invalid trigger configuration: Gamma high bit < 0"); return fGHighBit; }
59  Int_t GetGammaLowBit() const { if(fGLowBit < 0) AliFatal("Invalid trigger configuration: Gamma low bit < 0"); return fGLowBit; }
64  Int_t GetTriggerTypesEnd() const {if(fTriggerTypesEnd < 0) AliFatal("Invalid trigger configuration: MC Offset bit < 0"); return fTriggerTypesEnd; }
65 
66 protected:
67  Int_t fL0Bit;
68  Int_t fJHighBit;
69  Int_t fJLowBit;
70  Int_t fGHighBit;
71  Int_t fGLowBit;
73 
75  ClassDef(AliEmcalTriggerBitConfig, 1);
77 };
78 
87 public:
90 
92  ClassDef(AliEmcalTriggerBitConfigOld, 1);
94 };
95 
104 public:
107 
109  ClassDef(AliEmcalTriggerBitConfigNew, 1);
111 };
112 
113 #endif /* ALIEMCALTRIGGERBITCONFIG_H */
Definition of old trigger bit configuration.
Definition of new trigger bit configuration.
Definition of trigger bit configurations.
void Initialise(const AliEmcalTriggerBitConfig &ref)
Int_t fTriggerTypesEnd
Monte-Carlo offset.
Int_t fGHighBit
Gamma High bit.