AliPhysics  vAN-20150630 (513c479)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
AliEmcalTriggerBitConfig.h
Go to the documentation of this file.
1 #ifndef ALIEMCALTRIGGERBITCONFIG_H
2 #define ALIEMCALTRIGGERBITCONFIG_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice */
5 
6 // Author: Markus Fasel
7 
8 #include "AliLog.h"
9 #include <TNamed.h>
10 
11 class AliEmcalTriggerBitConfig : public TNamed {
12 public:
14  AliEmcalTriggerBitConfig(Int_t l0bit, Int_t j1bit, Int_t j2bit, Int_t g1bit, Int_t g2bit, Int_t mcoffset);
16 
17  void Initialise(const AliEmcalTriggerBitConfig &ref);
18 
19  Int_t GetLevel0Bit() const { if(fL0Bit < 0) AliFatal("Invalid trigger configuration: Level0 bit < 0"); return fL0Bit; }
20  Int_t GetJetHighBit() const { if(fJHighBit < 0) AliFatal("Invalid trigger configuration: Jet high bit < 0"); return fJHighBit; }
21  Int_t GetJetLowBit() const { if(fJLowBit < 0) AliFatal("Invalid trigger configuration: Jet low bit < 0"); return fJLowBit; }
22  Int_t GetGammaHighBit() const { if(fGHighBit < 0) AliFatal("Invalid trigger configuration: Gamma high bit < 0"); return fGHighBit; }
23  Int_t GetGammaLowBit() const { if(fGLowBit < 0) AliFatal("Invalid trigger configuration: Gamma low bit < 0"); return fGLowBit; }
24  Int_t GetTriggerTypesEnd() const {if(fTriggerTypesEnd < 0) AliFatal("Invalid trigger configuration: MC Offset bit < 0"); return fTriggerTypesEnd; }
25 
26 protected:
27  Int_t fL0Bit; // Level0 bit
28  Int_t fJHighBit; // Jet High bit
29  Int_t fJLowBit; // Jet Low bit
30  Int_t fGHighBit; // Gamma High bit
31  Int_t fGLowBit; // Gamma Low bit
32  Int_t fTriggerTypesEnd; // Monte-Carlo offset
33 
35 };
36 
38 public:
41 
43 };
44 
46 public:
49 
51 };
52 
53 #endif /* ALIEMCALTRIGGERBITCONFIG_H */
ClassDef(AliEmcalTriggerBitConfigOld, 1)
ClassDef(AliEmcalTriggerBitConfig, 1)
ClassDef(AliEmcalTriggerBitConfigNew, 1)
void Initialise(const AliEmcalTriggerBitConfig &ref)