AliPhysics  v5-06-40-01 (42bb456)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
AliEmcalTriggerBitConfig.cxx
Go to the documentation of this file.
1 /**************************************************************************
2  * Copyright(c) 1998-2007, ALICE Experiment at CERN, All rights reserved. *
3  * *
4  * Author: The ALICE Off-line Project. *
5  * Contributors are mentioned in the code where appropriate. *
6  * *
7  * Permission to use, copy, modify and distribute this software and its *
8  * documentation strictly for non-commercial purposes is hereby granted *
9  * without fee, provided that the above copyright notice appears in all *
10  * copies and that both the copyright notice and this permission notice *
11  * appear in the supporting documentation. The authors make no claims *
12  * about the suitability of this software for any purpose. It is *
13  * provided "as is" without express or implied warranty. *
14  **************************************************************************/
16 
22 
27  TNamed(),
28  fL0Bit(-1),
29  fJHighBit(-1),
30  fJLowBit(-1),
31  fGHighBit(-1),
32  fGLowBit(-1),
33  fTriggerTypesEnd(-1)
34 {
35 }
36 
47  Int_t l0bit,
48  Int_t jhighbit,
49  Int_t jlowbit,
50  Int_t ghighbit,
51  Int_t glowbit,
52  Int_t mcoffset):
53  TNamed("EmcalTriggerBitConfigUninit", ""),
54  fL0Bit(l0bit),
55  fJHighBit(jhighbit),
56  fJLowBit(jlowbit),
57  fGHighBit(ghighbit),
58  fGLowBit(glowbit),
59  fTriggerTypesEnd(mcoffset)
60 {
61 }
62 
68  SetName(ref.GetName());
69  fL0Bit = ref.GetLevel0Bit();
70  fJHighBit = ref.GetJetHighBit();
71  fJLowBit = ref.GetJetLowBit();
72  fGHighBit = ref.GetGammaHighBit();
73  fGLowBit = ref.GetGammaLowBit();
75 }
76 
81  AliEmcalTriggerBitConfig(0,2,2,1,1,3) // To be checked
82 {
83  SetName("EmcalTriggerBitConfigOld");
84 }
85 
90  AliEmcalTriggerBitConfig(0,3,4,1,2,5) // To be checked
91 {
92  SetName("EmcalTriggerBitConfigNew");
93 }
94 
ClassImp(AliAnalysisTaskTriggerRates) AliAnalysisTaskTriggerRates
Definition of old trigger bit configuration.
Definition of new trigger bit configuration.
Definition of trigger bit configurations.
Definition of EMCAL trigger bit configurations.
void Initialise(const AliEmcalTriggerBitConfig &ref)
Int_t fTriggerTypesEnd
Monte-Carlo offset.
Int_t fGHighBit
Gamma High bit.