Updates to Trains. create a job-script to help
[u/mrichter/AliRoot.git] / PWGLF / SPECTRA / IdentifiedHighPt / grid / DebugClasses.C
CommitLineData
4ebdd20e 1class DeDxTrack : public TObject
2{
3 public:
4 Float_t p;
5 Float_t pt;
6 // Float_t ptcon;
7 Float_t pttrue;
8 // Float_t tpcchi;
9 Float_t eta;
10 Float_t phi;
11 Float_t dedx;
12 Float_t beta;
13 Float_t dcaxy;
14 Float_t dcaz;
15 Int_t mother; // pdg of mother (can be same particle)
16 Short_t q;
17 Short_t filter;
18 Short_t ncl;
19 Short_t neff;
20 Short_t pid;
21 Short_t primary;
22 Short_t order;
23 Bool_t filterset1;//TPC
24 Bool_t filterset2;//2010 old
25 Bool_t filterset3;//2010 golden
26
27
28 DeDxTrack();
29
30 ClassDef(DeDxTrack, 1); // Help class
31};
32//_________________________________________________________
33class VZEROCell : public TObject
34{
35 public:
36
37 Int_t cellmult;
38 Float_t cellindex;
39 VZEROCell();
40
41 ClassDef(VZEROCell, 1); // Help class
42};
43
44
45//_____________________________________________________________________________
46class DeDxV0 : public TObject
47{
48 public:
49 Float_t p;
50 Float_t pt;
51 Float_t eta;
52 Float_t phi;
53 Float_t pdca; // Distance of Closest Approach for positive track
54 Float_t ndca; // Distance of Closest Approach for positive track
55 Float_t dmassG;
56 Float_t dmassK0;
57 Float_t dmassL;
58 Float_t dmassAL;
59 Float_t alpha;
60 Float_t ptarm;
61 Float_t decayr;
62 Float_t decayl;
63 // new
64 Float_t chi2;
65 Float_t cospt;
66 Float_t dcav0;
67 Float_t dcadaughters;
68 Int_t pdg;
69 Short_t primary;
70 Short_t status;
71 // old
72 DeDxTrack ptrack;
73 DeDxTrack ntrack;
74
75 DeDxV0();
76
77 ClassDef(DeDxV0, 1); // Help class
78};
79
80
81//_____________________________________________________________________________
82class DeDxTrackMC : public TObject
83{
84 public:
85 Float_t pMC;
86 Float_t ptMC;
87 Float_t etaMC;
88 Float_t phiMC;
89 Short_t qMC;
90 Short_t pidMC;
91 Short_t orderMC;
92 Int_t pdgMC;
93
94 DeDxTrackMC();
95
96 ClassDef(DeDxTrackMC, 1); // Help class for MC track debug info
97};
98
99//_____________________________________________________________________________
100class DeDxEvent : public TObject
101{
102 public:
103 ULong64_t eventid; // unique event id
104 Int_t run; // run number
105 UInt_t time; // time of event
106 Float_t cent; // centrality
107 Float_t mag; // magnetic field
108 Float_t zvtx; // rec vertex
109 Float_t zvtxMC; // MC true vertes
110 Float_t ptmax; // Max pt of tracks for this event
111 Float_t ptmaxMC; // Max pt of MC tracks
112 Short_t vtxstatus; // Vtx status (-1=no vtx, 0 = outside, 1 = inside cuts)
113 Short_t trackmult; // Track mult (no cuts)
114 Short_t n; // Number of added tracks
115 Short_t trackmultMC; // MC track mult (primary tracks)
116 Short_t nMC; // MC number of added tracks
117 Short_t process; // MC process: -1=invalid, 0=data, 1=ND, 2=SD, 3=DD
118 Short_t trig; // 0=untriggered, &1 = MB, &2=V0 AND
119 Short_t pileup; // Is the event marked as pileup?
120
121 DeDxEvent();
122
123 ClassDef(DeDxEvent, 1); // Help class
124};
125
126//_____________________________________________________________________________
127ClassImp(DeDxTrack)
128
129DeDxTrack::DeDxTrack():
130TObject(),
131 p(-1),
132 pt(-1),
133// ptcon(-1),
134 pttrue(-1),
135// tpcchi(-1),
136 eta(-999),
137 phi(-999),
138 dedx(-999),
139 beta(-999),
140 dcaxy(-999),
141 dcaz(-999),
142 mother(0),
143 q(-999),
144 filter(-999),
145 ncl(-999),
146 neff(-999),
147 pid(-999),
148 primary(-999),
149 order(-1),
150 filterset1(0),
151 filterset2(0),
152 filterset3(0)
153
154{
155 // default constructor
156}
157//_____________________________________________________________________________
158ClassImp(VZEROCell)
159
160VZEROCell::VZEROCell():
161TObject(),
162 cellmult(-1),
163 cellindex(-999)
164
165{
166 // default constructor
167}
168
169//_____________________________________________________________________________
170ClassImp(DeDxV0)
171
172DeDxV0::DeDxV0():
173TObject(),
174 p(-1),
175 pt(-1),
176 eta(-999),
177 phi(-999),
178 pdca(-1),
179 ndca(-1),
180 dmassG(-1),
181 dmassK0(-1),
182 dmassL(-1),
183 dmassAL(-1),
184 alpha(-999),
185 ptarm(-999),
186 decayr(-999),
187 decayl(-999),
188 chi2(-1),
189 cospt(-999),
190 dcav0(999),
191 dcadaughters(999),
192 pdg(0),
193 primary(-1),
194 status(),
195 ptrack(),
196 ntrack()
197{
198 // default constructor
199}
200
201//_____________________________________________________________________________
202ClassImp(DeDxTrackMC)
203
204DeDxTrackMC::DeDxTrackMC():
205TObject(),
206 pMC(-1),
207 ptMC(-1),
208 etaMC(-999),
209 phiMC(-999),
210 qMC(-999),
211 pidMC(-999),
212 orderMC(-1),
213 pdgMC(0)
214{
215 // default constructor
216}
217
218//_____________________________________________________________________________
219ClassImp(DeDxEvent)
220
221DeDxEvent::DeDxEvent():
222TObject(),
223 eventid(0), // unique event id
224 run(-1), // run number
225 time(-1), // time of event
226 cent(1000), // centrality
227 mag(+999), // magnetic field
228 zvtx(+999), // rec vertex
229 zvtxMC(+999), // MC true vertes
230 ptmax(-1), // Max pt of tracks for this event
231 ptmaxMC(-1), // Max pt of MC tracks
232 vtxstatus(-2), // Vtx status (-1=no vtx, 0 = outside, 1 = inside cuts)
233 trackmult(-1), // Track mult (no cuts)
234 n(-1), // Number of added tracks
235 trackmultMC(-1), // MC track mult (primary tracks)
236 nMC(-1), // MC number of added tracks
237 process(-2), // MC process: -1=invalid, 0=data, 1=ND, 2=SD, 3=DD
238 trig(-1), // Was the event triggered
239 pileup(-1) // Is the event marked as pileup?
240{
241 // default constructor
242}