]> git.uio.no Git - u/mrichter/AliRoot.git/blame - STEER/AliEventTagCuts.h
Cosmetics
[u/mrichter/AliRoot.git] / STEER / AliEventTagCuts.h
CommitLineData
c7e89ea3 1#ifndef ALIEVENTTAGCUTS_H
2#define ALIEVENTTAGCUTS_H
3/* See cxx source for full Copyright notice */
4
5
6/* $Id$ */
7
8//-------------------------------------------------------------------------
9// Class AliEventTagCuts
10// This is the class for the cuts in event tags
11//
12// Origin: Panos Christakoglou, UOA-CERN, Panos.Christakoglou@cern.ch
13//-------------------------------------------------------------------------
14
15#include <TObject.h>
16
17class AliEventTag;
18
7e73fbbd 19//___________________________________________________________________________
20class AliEventTagCuts : public TObject {
c7e89ea3 21 public:
22 AliEventTagCuts();
c7e89ea3 23 ~AliEventTagCuts();
c7e89ea3 24 void Reset();
25
7e3c2e04 26 //____________________________________________________//
27 void SetPeriodNumberRange(UInt_t n1, UInt_t n2);
28 void SetOrbitNumberRange(UInt_t n1, UInt_t n2);
29 void SetBunchCrossNumberRange(UShort_t n1, UShort_t n2);
30
31 void SetEventType(UInt_t ntype);
32
915d9c13 33 void SetNParticipantsRange(Int_t low, Int_t high);
34 void SetImpactParamRange(Float_t low, Float_t high);
c7e89ea3 35
a01e4203 36 void SetEtaLeadingParticleRange(Float_t low, Float_t high);
37 void SetPhiLeadingParticleRange(Float_t low, Float_t high);
915d9c13 38 void SetPrimaryVertexXRange(Float_t low, Float_t high);
39 void SetPrimaryVertexYRange(Float_t low, Float_t high);
40 void SetPrimaryVertexZRange(Float_t low, Float_t high);
41 void SetPrimaryVertexFlag(Int_t flag);
42 void SetPrimaryVertexZErrorRange(Float_t low, Float_t high);
7e73fbbd 43
915d9c13 44 void SetTriggerMask(ULong64_t trmask);
45 void SetTriggerCluster(UChar_t trcluster);
46
47 void SetZDCNeutron1Range(Float_t low, Float_t high);
48 void SetZDCProton1Range(Float_t low, Float_t high);
49 void SetZDCEMRange(Float_t low, Float_t high);
50 void SetZDCNeutron2Range(Float_t low, Float_t high);
51 void SetZDCProton2Range(Float_t low, Float_t high);
52 void SetT0VertexZRange(Float_t low, Float_t high);
53
54 void SetMultiplicityRange(Int_t low, Int_t high);
55 void SetPosMultiplicityRange(Int_t low, Int_t high);
56 void SetNegMultiplicityRange(Int_t low, Int_t high);
57 void SetNeutrMultiplicityRange(Int_t low, Int_t high);
58 void SetNV0sRange(Int_t low, Int_t high);
59 void SetNCascadesRange(Int_t low, Int_t high);
60 void SetNKinksRange(Int_t low, Int_t high);
c7e89ea3 61
915d9c13 62 void SetNPMDTracksRange(Int_t low, Int_t high);
63 void SetNFMDTracksRange(Int_t low, Int_t high);
64 void SetNPHOSClustersRange(Int_t low, Int_t high);
65 void SetNEMCALClustersRange(Int_t low, Int_t high);
66 void SetNJetCandidatesRange(Int_t low, Int_t high);
7e73fbbd 67
915d9c13 68 void SetTopJetEnergyMin(Float_t low);
69 void SetTopNeutralEnergyMin(Float_t low);
70 void SetNHardPhotonsRange(Int_t low, Int_t high);
71 void SetNChargedAbove1GeVRange(Int_t low, Int_t high);
72 void SetNChargedAbove3GeVRange(Int_t low, Int_t high);
73 void SetNChargedAbove10GeVRange(Int_t low, Int_t high);
74 void SetNMuonsAbove1GeVRange(Int_t low, Int_t high);
75 void SetNMuonsAbove3GeVRange(Int_t low, Int_t high);
76 void SetNMuonsAbove10GeVRange(Int_t low, Int_t high);
77 void SetNElectronsAbove1GeVRange(Int_t low, Int_t high);
78 void SetNElectronsAbove3GeVRange(Int_t low, Int_t high);
79 void SetNElectronsAbove10GeVRange(Int_t low, Int_t high);
80 void SetNElectronRange(Int_t low, Int_t high);
d3893274 81 void SetNFWMuonRange(Int_t low, Int_t high);
e21df713 82 void SetNFWMatchedMuonRange(Int_t low, Int_t high);
915d9c13 83 void SetNMuonRange(Int_t low, Int_t high);
84 void SetNPionRange(Int_t low, Int_t high);
85 void SetNKaonRange(Int_t low, Int_t high);
86 void SetNProtonRange(Int_t low, Int_t high);
87 void SetNLambdaRange(Int_t low, Int_t high);
88 void SetNPhotonRange(Int_t low, Int_t high);
89 void SetNPi0Range(Int_t low, Int_t high);
90 void SetNNeutronRange(Int_t low, Int_t high);
91 void SetNKaon0Range(Int_t low, Int_t high);
92 void SetTotalPRange(Float_t low, Float_t high);
93 void SetMeanPtRange(Float_t low, Float_t high);
94 void SetTopPtMin(Float_t low);
95 void SetTotalNeutralPRange(Float_t low, Float_t high);
96 void SetMeanNeutralPtPRange(Float_t low, Float_t high);
97 void SetTopNeutralPtMin(Float_t low);
63fafb59 98 void SetEventPlaneAngleRange(Float_t low, Float_t high);
915d9c13 99 void SetHBTRadiiRange(Float_t low, Float_t high);
c7e89ea3 100
7e3c2e04 101 //First physics
102 void SetNumberOfFiredChipsLayer1Range(Int_t low, Int_t high);
103 void SetNumberOfFiredChipsLayer2Range(Int_t low, Int_t high);
104 void SetNumberOfSPDTrackletsRange(Int_t low, Int_t high);
105
850d5792 106 // Trigger
107 void SetFiredTriggerClass(TString aclass);
108
c7e89ea3 109 Bool_t IsAccepted(AliEventTag *EvTag) const;
110
7e73fbbd 111 //____________________________________________________//
c7e89ea3 112 private:
7e3c2e04 113 UInt_t fPeriodNumberMin, fPeriodNumberMax; //min/max value of the period number
114 Bool_t fPeriodNumberFlag; // Shows whether this cut is used or not
115
116 UInt_t fOrbitNumberMin, fOrbitNumberMax; //min/max value of the orbit number
117 Bool_t fOrbitNumberFlag; // Shows whether this cut is used or not
118
119 UShort_t fBunchCrossNumberMin, fBunchCrossNumberMax; //min/max value of the bunch crossing number
120 Bool_t fBunchCrossNumberFlag; // Shows whether this cut is used or not
121
122 UInt_t fEventType; //event type == 7 ==> PHYSICS_EVENT
123 Bool_t fEventTypeFlag; // Shows whether this cut is used or not
124
63fafb59 125 Int_t fNParticipantsMin, fNParticipantsMax; // # participants range
126 Bool_t fNParticipantsFlag; // Shows whether this cut is used or not
127 Float_t fImpactParamMin, fImpactParamMax; // Impact parameter range
128 Bool_t fImpactParamFlag; // Shows whether this cut is used or not
129
a01e4203 130 Float_t fEtaMin, fEtaMax; // Definition of the range of the eta leading
131 Bool_t fEtaFlag; // Shows whether this cut is used or not
132 Float_t fPhiMin, fPhiMax; // Definition of the range of the phi leading
133 Bool_t fPhiFlag; // Shows whether this cut is used or not
134
63fafb59 135 Float_t fVxMin, fVxMax; // Definition of the range of the Vx
136 Bool_t fVxFlag; // Shows whether this cut is used or not
137 Float_t fVyMin, fVyMax; // Definition of the range of the Vy
138 Bool_t fVyFlag; // Shows whether this cut is used or not
139 Float_t fVzMin, fVzMax; // Definition of the range of the Vz
140 Bool_t fVzFlag; // Shows whether this cut is used or not
141 Int_t fPrimaryVertexFlag; // Primary vertex flag: 0->not found, 1->found
142 Bool_t fPVFlag; // Shows whether this cut is used or not
143 Float_t fPrimaryVertexZErrorMin, fPrimaryVertexZErrorMax; // Range of the primary vertex z error
144 Bool_t fPVzErrorFlag; // Shows whether this cut is used or not
145
146 ULong64_t fTriggerMask; // trigger mask definition
147 Bool_t fTriggerMaskFlag; // Shows whether this cut is used or not
148 UChar_t fTriggerCluster; // trigger cluster definition
149 Bool_t fTriggerClusterFlag; // Shows whether this cut is used or not
c7e89ea3 150
63fafb59 151 Float_t fZDCNeutron1EnergyMin, fZDCNeutron1EnergyMax; // ZDC min,max - neutron
152 Bool_t fZDCNeutron1EnergyFlag; // Shows whether this cut is used or not
153 Float_t fZDCProton1EnergyMin, fZDCProton1EnergyMax; // ZDC min,max - proton
154 Bool_t fZDCProton1EnergyFlag; // Shows whether this cut is used or not
155 Float_t fZDCNeutron2EnergyMin, fZDCNeutron2EnergyMax; // ZDC min,max - neutron
156 Bool_t fZDCNeutron2EnergyFlag; // Shows whether this cut is used or not
157 Float_t fZDCProton2EnergyMin, fZDCProton2EnergyMax; // ZDC min,max - proton
158 Bool_t fZDCProton2EnergyFlag; // Shows whether this cut is used or not
159 Float_t fZDCEMEnergyMin, fZDCEMEnergyMax; // ZDC min,max - em
160 Bool_t fZDCEMEnergyFlag; // Shows whether this cut is used or not
161 Float_t fT0VertexZMin, fT0VertexZMax; // T0 min, max
162 Bool_t fT0VertexZFlag; // Shows whether this cut is used or not
163
164 Int_t fMultMin, fMultMax; // Definition of the range of the multiplicity
165 Bool_t fMultFlag; // Shows whether this cut is used or not
166 Int_t fPosMultMin, fPosMultMax; // Positive tracks multiplicity range
167 Bool_t fPosMultFlag; // Shows whether this cut is used or not
168 Int_t fNegMultMin, fNegMultMax; // Negative tracks multiplicity range
169 Bool_t fNegMultFlag; // Shows whether this cut is used or not
170 Int_t fNeutrMultMin, fNeutrMultMax; // Neutral tracks multiplicity range
171 Bool_t fNeutrMultFlag; // Shows whether this cut is used or not
172 Int_t fNV0sMin, fNV0sMax; // Range of # of V0s
173 Bool_t fNV0sFlag; // Shows whether this cut is used or not
174 Int_t fNCascadesMin, fNCascadesMax; // Range of # of cascades
175 Bool_t fNCascadesFlag; // Shows whether this cut is used or not
176 Int_t fNKinksMin, fNKinksMax; // Range of # of kinks
177 Bool_t fNKinksFlag; // Shows whether this cut is used or not
c7e89ea3 178
63fafb59 179 Int_t fNPMDTracksMin, fNPMDTracksMax; // Range of # of PMD tracks
180 Bool_t fNPMDTracksFlag; // Shows whether this cut is used or not
181 Int_t fNFMDTracksMin, fNFMDTracksMax; // Range of # of FMD tracks
182 Bool_t fNFMDTracksFlag; // Shows whether this cut is used or not
183 Int_t fNPHOSClustersMin, fNPHOSClustersMax; // Range of # of PHOS clusters
184 Bool_t fNPHOSClustersFlag; // Shows whether this cut is used or not
185 Int_t fNEMCALClustersMin, fNEMCALClustersMax; // Range of # of EMCAL clusters
186 Bool_t fNEMCALClustersFlag; // Shows whether this cut is used or not
187 Int_t fNJetCandidatesMin, fNJetCandidatesMax; // Range of # of jet candidates
188 Bool_t fNJetCandidatesFlag; // Shows whether this cut is used or not
189
190 Float_t fTopJetEnergyMin; // top jet energy minimum value
191 Bool_t fTopJetEnergyMinFlag; // Shows whether this cut is used or not
192 Float_t fTopNeutralEnergyMin; // top neutral energy minimum value
193 Bool_t fTopNeutralEnergyMinFlag; // Shows whether this cut is used or not
c7e89ea3 194
63fafb59 195 Int_t fNHardPhotonCandidatesMin, fNHardPhotonCandidatesMax; // # of hard photons candidates
196 Bool_t fNHardPhotonCandidatesFlag; // Shows whether this cut is used or not
197 Int_t fNChargedAbove1GeVMin, fNChargedAbove1GeVMax; // Definition of the range of the # of charged above 1GeV
198 Bool_t fNChargedAbove1GeVFlag; // Shows whether this cut is used or not
199 Int_t fNChargedAbove3GeVMin, fNChargedAbove3GeVMax; // Definition of the range of the # of charged above 3GeV
200 Bool_t fNChargedAbove3GeVFlag; // Shows whether this cut is used or not
201 Int_t fNChargedAbove10GeVMin, fNChargedAbove10GeVMax; // Definition of the range of the # of charged above 10GeV
202 Bool_t fNChargedAbove10GeVFlag; // Shows whether this cut is used or not
203 Int_t fNMuonsAbove1GeVMin, fNMuonsAbove1GeVMax; // Definition of the range of the # of muons above 1GeV
204 Bool_t fNMuonsAbove1GeVFlag; // Shows whether this cut is used or not
205 Int_t fNMuonsAbove3GeVMin, fNMuonsAbove3GeVMax; // Definition of the range of the # of muons above 3GeV
206 Bool_t fNMuonsAbove3GeVFlag; // Shows whether this cut is used or not
207 Int_t fNMuonsAbove10GeVMin, fNMuonsAbove10GeVMax; // Definition of the range of the # of muons above 10GeV
208 Bool_t fNMuonsAbove10GeVFlag; // Shows whether this cut is used or not
209 Int_t fNElectronsAbove1GeVMin, fNElectronsAbove1GeVMax; // Definition of the range of the # of electorns above 1GeV
210 Bool_t fNElectronsAbove1GeVFlag; // Shows whether this cut is used or not
211 Int_t fNElectronsAbove3GeVMin, fNElectronsAbove3GeVMax; // Definition of the range of the # of electorns above 3GeV
212 Bool_t fNElectronsAbove3GeVFlag; // Shows whether this cut is used or not
213 Int_t fNElectronsAbove10GeVMin,fNElectronsAbove10GeVMax; // Definition of the range of the # of electorns above 10GeV
214 Bool_t fNElectronsAbove10GeVFlag; // Shows whether this cut is used or not
215 Int_t fNElectronsMin, fNElectronsMax; // # of electrons range
216 Bool_t fNElectronsFlag; // Shows whether this cut is used or not
d3893274 217 Int_t fNFWMuonsMin, fNFWMuonsMax; // # of forward muons range
218 Bool_t fNFWMuonsFlag; // Shows whether this cut is used or not
e21df713 219 Int_t fNFWMatchedMuonsMin, fNFWMatchedMuonsMax; // # of forward matched muons range
220 Bool_t fNFWMatchedMuonsFlag; // Shows whether this cut is used or not
63fafb59 221 Int_t fNMuonsMin, fNMuonsMax; // # of muons range
222 Bool_t fNMuonsFlag; // Shows whether this cut is used or not
223 Int_t fNPionsMin, fNPionsMax; // # of pions range
224 Bool_t fNPionsFlag; // Shows whether this cut is used or not
225 Int_t fNKaonsMin, fNKaonsMax; // # of kaons range
226 Bool_t fNKaonsFlag; // Shows whether this cut is used or not
227 Int_t fNProtonsMin, fNProtonsMax; // # of protons range
228 Bool_t fNProtonsFlag; // Shows whether this cut is used or not
229 Int_t fNLambdasMin, fNLambdasMax; // # of lambdas range
230 Bool_t fNLambdasFlag; // Shows whether this cut is used or not
231 Int_t fNPhotonsMin, fNPhotonsMax; // # of photons range
232 Bool_t fNPhotonFlag; // Shows whether this cut is used or not
233 Int_t fNPi0sMin, fNPi0sMax; // # of Pi0s range
234 Bool_t fNPi0sFlag; // Shows whether this cut is used or not
235 Int_t fNNeutronsMin, fNNeutronsMax; // # of neutrons range
236 Bool_t fNNeutronsFlag; // Shows whether this cut is used or not
237 Int_t fNKaon0sMin, fNKaon0sMax; // # of K0s range
238 Bool_t fNKaon0sFlag; // Shows whether this cut is used or not
239 Float_t fTotalPMin, fTotalPMax; // Range of the sum of the momentum per event
240 Bool_t fTotalPFlag; // Shows whether this cut is used or not
241 Float_t fMeanPtMin, fMeanPtMax; // Range of mean Pt per event
242 Bool_t fMeanPtFlag; // Shows whether this cut is used or not
243 Float_t fTopPtMin; // Max Pt for each event
244 Bool_t fTopPtMinFlag; // Shows whether this cut is used or not
245 Float_t fTotalNeutralPMin, fTotalNeutralPMax; // Sum of the momentum per event for neutral
246 Bool_t fTotalNeutralPFlag; // Shows whether this cut is used or not
247 Float_t fMeanNeutralPtMin, fMeanNeutralPtMax; // Mean Pt per event for neutral
248 Bool_t fMeanNeutralPtFlag; // Shows whether this cut is used or not
249 Float_t fTopNeutralPtMin; // Minimum value for highest Pt for the event for neutral
250 Bool_t fTopNeutralPtMinFlag; // Shows whether this cut is used or not
251 Float_t fEventPlaneAngleMin, fEventPlaneAngleMax; // event plane info
252 Bool_t fEventPlaneAngleFlag; // Shows whether this cut is used or not
253 Float_t fHBTRadiiMin, fHBTRadiiMax; // HBT info
254 Bool_t fHBTRadiiFlag; // Shows whether this cut is used or not
c7e89ea3 255
7e3c2e04 256 Int_t fNumberOfFiredChipsLayer1Min, fNumberOfFiredChipsLayer1Max; //min/max number of fired chips - layer 1
257 Bool_t fNumberOfFiredChipsLayer1Flag; // Shows whether this cut is used or not
258 Int_t fNumberOfFiredChipsLayer2Min, fNumberOfFiredChipsLayer2Max; //min/max number of fired chips - layer 2
259 Bool_t fNumberOfFiredChipsLayer2Flag; // Shows whether this cut is used or not
260 Int_t fNumberOfSPDTrackletsMin, fNumberOfSPDTrackletsMax; //min/max number of SPD tracklets
261 Bool_t fNumberOfSPDTrackletsFlag; // Shows whether this cut is used or not
262
850d5792 263 Bool_t fFiredTriggerCleassFlag; // Shows whether this cut is used or not
264 TString fFiredTriggerCleass; // Triger class must be present to accept event
7e3c2e04 265
266 ClassDef(AliEventTagCuts, 3)
7e73fbbd 267};
c7e89ea3 268
269#endif