]>
Commit | Line | Data |
---|---|---|
c4cdf105 | 1 | #ifndef ALIANALYSISVERTEXINGHF_H |
2 | #define ALIANALYSISVERTEXINGHF_H | |
6a213b59 | 3 | /* Copyright(c) 1998-2007, ALICE Experiment at CERN, All rights reserved. * |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | //------------------------------------------------------------------------- | |
7 | // Class AliAnalysisVertexingHF | |
8 | // Reconstruction of heavy-flavour decay candidates | |
9 | // | |
2ff20727 | 10 | // Origin: E.Bruna, G.E.Bruno, A.Dainese, F.Prino, R.Romita, X.M.Zhang |
a25935a9 | 11 | // Contact: andrea.dainese@pd.infn.it |
6a213b59 | 12 | //------------------------------------------------------------------------- |
13 | ||
14 | #include <TNamed.h> | |
6a213b59 | 15 | |
a9b75906 | 16 | class TList; |
c4cdf105 | 17 | class AliESDVertex; |
18 | class AliAODRecoDecayHF; | |
19 | class AliAODRecoDecayHF2Prong; | |
20 | class AliAODRecoDecayHF3Prong; | |
21 | class AliAODRecoDecayHF4Prong; | |
22 | class AliAODRecoCascadeHF; | |
23 | class AliAnalysisFilter; | |
f3014dc3 | 24 | class AliRDHFCutsD0toKpi; |
e3d40058 | 25 | class AliRDHFCutsJpsitoee; |
26 | class AliRDHFCutsDplustoKpipi; | |
27 | class AliRDHFCutsDstoKKpi; | |
28 | class AliRDHFCutsLctopKpi; | |
a07ad8e0 | 29 | class AliRDHFCutsLctoV0; |
e3d40058 | 30 | class AliRDHFCutsD0toKpipipi; |
dcb444c9 | 31 | class AliESDtrack; |
32 | class AliVEvent; | |
33 | class AliAODVertex; | |
a07ad8e0 | 34 | class AliESDv0; |
35 | class AliAODv0; | |
dcb444c9 | 36 | |
6a213b59 | 37 | //----------------------------------------------------------------------------- |
38 | class AliAnalysisVertexingHF : public TNamed { | |
39 | public: | |
40 | // | |
41 | AliAnalysisVertexingHF(); | |
13977a79 | 42 | AliAnalysisVertexingHF(const AliAnalysisVertexingHF& source); |
43 | AliAnalysisVertexingHF& operator=(const AliAnalysisVertexingHF& source); | |
6a213b59 | 44 | virtual ~AliAnalysisVertexingHF(); |
45 | ||
dcb444c9 | 46 | void FindCandidates(AliVEvent *event, |
47 | TClonesArray *aodVerticesHFTClArr, | |
48 | TClonesArray *aodD0toKpiTClArr, | |
49 | TClonesArray *aodJPSItoEleTClArr, | |
50 | TClonesArray *aodCharm3ProngTClArr, | |
2ff20727 | 51 | TClonesArray *aodCharm4ProngTClArr, |
dc963de9 | 52 | TClonesArray *aodDstarTClArr, |
a07ad8e0 | 53 | TClonesArray *aodCascadesTClArr, |
423fb9ae | 54 | TClonesArray *aodLikeSign2ProngTClArr, |
55 | TClonesArray *aodLikeSign3ProngTClArr); | |
dcb444c9 | 56 | |
a9b75906 | 57 | TList* FillListOfCuts(); |
6a213b59 | 58 | void PrintStatus() const; |
b82f6d67 | 59 | void SetSecVtxWithKF() { fSecVtxWithKF=kTRUE; } |
6a213b59 | 60 | void SetD0toKpiOn() { fD0toKpi=kTRUE; } |
61 | void SetD0toKpiOff() { fD0toKpi=kFALSE; } | |
62 | void SetJPSItoEleOn() { fJPSItoEle=kTRUE; } | |
63 | void SetJPSItoEleOff() { fJPSItoEle=kFALSE; } | |
64 | void Set3ProngOn() { f3Prong=kTRUE; } | |
65 | void Set3ProngOff() { f3Prong=kFALSE; } | |
66 | void Set4ProngOn() { f4Prong=kTRUE; } | |
67 | void Set4ProngOff() { f4Prong=kFALSE; } | |
2ff20727 | 68 | void SetDstarOn() { fDstar=kTRUE; } |
69 | void SetDstarOff() { fDstar=kFALSE; } | |
a07ad8e0 | 70 | void SetCascadesOn() { fCascades=kTRUE; } |
71 | void SetCascadesOff() { fCascades=kFALSE; } | |
dc963de9 | 72 | void SetLikeSignOn() { fLikeSign=kTRUE; } |
73 | void SetLikeSignOff() { fLikeSign=kFALSE; } | |
a25935a9 | 74 | void SetMixEventOn() { fMixEvent=kTRUE; } |
75 | void SetMixEventOff() { fMixEvent=kFALSE; } | |
76 | void SetInputAOD() { fInputAOD=kTRUE; } | |
c4cdf105 | 77 | Bool_t GetD0toKpi() const { return fD0toKpi; } |
78 | Bool_t GetJPSItoEle() const { return fJPSItoEle; } | |
79 | Bool_t Get3Prong() const { return f3Prong; } | |
80 | Bool_t Get4Prong() const { return f4Prong; } | |
81 | Bool_t GetDstar() const { return fDstar; } | |
a07ad8e0 | 82 | Bool_t GetCascades() const { return fCascades; } |
c4cdf105 | 83 | Bool_t GetLikeSign() const { return fLikeSign; } |
84 | Bool_t GetMixEvent() const { return fMixEvent; } | |
85 | Bool_t GetInputAOD() const { return fInputAOD; } | |
86 | Bool_t GetRecoPrimVtxSkippingTrks() const {return fRecoPrimVtxSkippingTrks;} | |
87 | Bool_t GetRmTrksFromPrimVtx() const {return fRmTrksFromPrimVtx;} | |
eee95e18 | 88 | void SetFindVertexForDstar(Bool_t vtx=kTRUE) { fFindVertexForDstar=vtx; } |
a07ad8e0 | 89 | void SetFindVertexForCascades(Bool_t vtx=kTRUE) { fFindVertexForCascades=vtx; } |
6a213b59 | 90 | void SetRecoPrimVtxSkippingTrks() |
91 | { fRecoPrimVtxSkippingTrks=kTRUE; fRmTrksFromPrimVtx=kFALSE;} | |
a25935a9 | 92 | void UnsetRecoPrimVtxSkippingTrks() |
93 | { fRecoPrimVtxSkippingTrks=kFALSE; fRmTrksFromPrimVtx=kFALSE;} | |
6a213b59 | 94 | void SetRmTrksFromPrimVtx() |
95 | {fRmTrksFromPrimVtx=kTRUE; fRecoPrimVtxSkippingTrks=kFALSE; } | |
f8fa4595 | 96 | void SetTrackFilter(AliAnalysisFilter* trackF) { fTrackFilter = trackF; } |
2ff20727 | 97 | void SetTrackFilterSoftPi(AliAnalysisFilter* trackF) { fTrackFilterSoftPi = trackF; } |
dc963de9 | 98 | AliAnalysisFilter* GetTrackFilter() const { return fTrackFilter; } |
99 | AliAnalysisFilter* GetTrackFilterSoftPi() const { return fTrackFilterSoftPi; } | |
f3014dc3 | 100 | void SetCutsD0toKpi(AliRDHFCutsD0toKpi* cuts) { fCutsD0toKpi = cuts; } |
101 | AliRDHFCutsD0toKpi* GetCutsD0toKpi() const { return fCutsD0toKpi; } | |
e3d40058 | 102 | void SetCutsJpsitoee(AliRDHFCutsJpsitoee* cuts) { fCutsJpsitoee = cuts; } |
103 | AliRDHFCutsJpsitoee* GetCutsJpsitoee() const { return fCutsJpsitoee; } | |
104 | void SetCutsDplustoKpipi(AliRDHFCutsDplustoKpipi* cuts) { fCutsDplustoKpipi = cuts; } | |
105 | AliRDHFCutsDplustoKpipi* GetCutsDplustoKpipi() const { return fCutsDplustoKpipi; } | |
106 | void SetCutsDstoKKpi(AliRDHFCutsDstoKKpi* cuts) { fCutsDstoKKpi = cuts; } | |
107 | AliRDHFCutsDstoKKpi* GetCutsDstoKKpi() const { return fCutsDstoKKpi; } | |
108 | void SetCutsLctopKpi(AliRDHFCutsLctopKpi* cuts) { fCutsLctopKpi = cuts; } | |
109 | AliRDHFCutsLctopKpi* GetCutsLctopKpi() const { return fCutsLctopKpi; } | |
a07ad8e0 | 110 | void SetCutsLctoV0(AliRDHFCutsLctoV0* cuts) { fCutsLctoV0 = cuts; } |
111 | AliRDHFCutsLctoV0* GetCutsLctoV0() const { return fCutsLctoV0; } | |
e3d40058 | 112 | void SetCutsD0toKpipipi(AliRDHFCutsD0toKpipipi* cuts) { fCutsD0toKpipipi = cuts; } |
113 | AliRDHFCutsD0toKpipipi* GetCutsD0toKpipipi() const { return fCutsD0toKpipipi; } | |
114 | void SetCutsD0fromDstar(AliRDHFCutsD0toKpi* cuts) { fCutsD0fromDstar = cuts; } | |
115 | AliRDHFCutsD0toKpi* GetCutsD0fromDstar() const { return fCutsD0fromDstar; } | |
6a213b59 | 116 | void SetD0toKpiCuts(Double_t cut0=1000.,Double_t cut1=100000., |
117 | Double_t cut2=1.1,Double_t cut3=0.,Double_t cut4=0., | |
118 | Double_t cut5=100000.,Double_t cut6=100000., | |
119 | Double_t cut7=100000000.,Double_t cut8=-1.1); | |
120 | void SetD0toKpiCuts(const Double_t cuts[9]); | |
2ff20727 | 121 | void SetD0fromDstarCuts(Double_t cut0=1000.,Double_t cut1=100000., |
122 | Double_t cut2=1.1,Double_t cut3=0.,Double_t cut4=0., | |
123 | Double_t cut5=100000.,Double_t cut6=100000., | |
124 | Double_t cut7=100000000.,Double_t cut8=-1.1); | |
125 | void SetD0fromDstarCuts(const Double_t cuts[9]); | |
6a213b59 | 126 | void SetBtoJPSICuts(Double_t cut0=1000.,Double_t cut1=100000., |
127 | Double_t cut2=1.1,Double_t cut3=0.,Double_t cut4=0., | |
128 | Double_t cut5=100000.,Double_t cut6=100000., | |
129 | Double_t cut7=100000000.,Double_t cut8=-1.1); | |
130 | void SetBtoJPSICuts(const Double_t cuts[9]); | |
131 | void SetDplusCuts(Double_t cut0=1000.,Double_t cut1=0., | |
132 | Double_t cut2=0.,Double_t cut3=0.,Double_t cut4=0., | |
133 | Double_t cut5=0.,Double_t cut6=10000000000., | |
134 | Double_t cut7=0.,Double_t cut8=0., | |
135 | Double_t cut9=-1.1,Double_t cut10=0., | |
81679460 | 136 | Double_t cut11=10000000000.); |
6a213b59 | 137 | void SetDplusCuts(const Double_t cuts[12]); |
6ea608bf | 138 | void SetDsCuts(Double_t cut0=1000.,Double_t cut1=0., |
f7c170b4 | 139 | Double_t cut2=0.,Double_t cut3=0.,Double_t cut4=0., |
140 | Double_t cut5=0.,Double_t cut6=10000000000., | |
141 | Double_t cut7=0.,Double_t cut8=0., | |
142 | Double_t cut9=-1.1,Double_t cut10=0., | |
143 | Double_t cut11=10000000000., Double_t cut12=1000., | |
144 | Double_t cut13=1000.); | |
145 | void SetDsCuts(const Double_t cuts[14]); | |
6ea608bf | 146 | void SetLcCuts(Double_t cut0=1000.,Double_t cut1=0., |
147 | Double_t cut2=0.,Double_t cut3=0.,Double_t cut4=0., | |
148 | Double_t cut5=0.,Double_t cut6=10000000000., | |
149 | Double_t cut7=0.,Double_t cut8=0., | |
150 | Double_t cut9=-1.1,Double_t cut10=0., | |
81679460 | 151 | Double_t cut11=10000000000.); |
6ea608bf | 152 | void SetLcCuts(const Double_t cuts[12]); |
a07ad8e0 | 153 | void SetLctoV0Cuts(Double_t cut0=1000.,Double_t cut1=1000., |
154 | Double_t cut2=1000., Double_t cut3=1000., | |
155 | Double_t cut4=0., Double_t cut5=0.,Double_t cut6=0., | |
156 | Double_t cut7=0.,Double_t cut8=0.); | |
157 | void SetLctoV0Cuts(const Double_t cuts[9]); | |
2ff20727 | 158 | void SetDstarCuts(Double_t cut0=1000., Double_t cut1=1000., |
159 | Double_t cut2=-1., Double_t cut3=1000., | |
160 | Double_t cut4=1.6); | |
161 | void SetDstarCuts(const Double_t cuts[5]); | |
721c0b8f | 162 | void SetD0to4ProngsCuts(Double_t cut0=1000.,Double_t cut1=100000., |
163 | Double_t cut2=0.,Double_t cut3=0.,Double_t cut4=0., | |
164 | Double_t cut5=-1.1,Double_t cut6=0., | |
165 | Double_t cut7=0.,Double_t cut8=0.); | |
166 | void SetD0to4ProngsCuts(const Double_t cuts[9]); | |
dc963de9 | 167 | const Double_t *GetD0toKpiCuts() const {return fD0toKpiCuts;} |
168 | const Double_t *GetD0fromDstarCuts() const {return fD0fromDstarCuts;} | |
169 | const Double_t *GetBtoJPSICuts() const {return fBtoJPSICuts;} | |
170 | const Double_t *GetDplusCuts() const {return fDplusCuts;} | |
171 | const Double_t *GetDsCuts() const {return fDsCuts;} | |
172 | const Double_t *GetLcCuts() const {return fLcCuts;} | |
a07ad8e0 | 173 | const Double_t *GetLctoV0Cuts() const {return fLctoV0Cuts;} |
dc963de9 | 174 | const Double_t *GetDstarCuts() const {return fDstarCuts;} |
721c0b8f | 175 | const Double_t *GetD0to4ProngsCuts() const {return fD0to4ProngsCuts;} |
6ea608bf | 176 | |
6a213b59 | 177 | // |
178 | private: | |
179 | // | |
2ff20727 | 180 | enum { kBitDispl = 0, kBitSoftPi = 1 }; |
181 | ||
dcb444c9 | 182 | Bool_t fInputAOD; // input from AOD (kTRUE) or ESD (kFALSE) |
c8ab4e4f | 183 | Int_t fAODMapSize; // size of fAODMap |
184 | Int_t *fAODMap; //[fAODMapSize] map between index and ID for AOD tracks | |
dcb444c9 | 185 | |
b82f6d67 | 186 | Double_t fBzkG; // z componenent of field in kG |
187 | ||
188 | Bool_t fSecVtxWithKF; // if kTRUE use KF vertexer, else AliVertexerTracks | |
189 | ||
6a213b59 | 190 | Bool_t fRecoPrimVtxSkippingTrks; // flag for primary vertex reco on the fly |
191 | // for each candidate, w/o its daughters | |
192 | Bool_t fRmTrksFromPrimVtx; // flag for fast removal of daughters from | |
193 | // the primary vertex | |
194 | ||
195 | AliESDVertex *fV1; // primary vertex | |
196 | ||
6a213b59 | 197 | // flag to enable candidates production |
2ff20727 | 198 | Bool_t fD0toKpi; // D0->Kpi |
199 | Bool_t fJPSItoEle; // Jpsi->ee | |
200 | Bool_t f3Prong; // D+,Ds,Lc | |
201 | Bool_t f4Prong; // D0->Kpipipi | |
202 | Bool_t fDstar; // D*->D0pi | |
a07ad8e0 | 203 | Bool_t fCascades; // cascades, Lc --> v0+track |
dc963de9 | 204 | Bool_t fLikeSign; // Like-sign pairs |
a25935a9 | 205 | Bool_t fMixEvent; // event mixing |
6a213b59 | 206 | |
207 | // single-track cuts | |
2ff20727 | 208 | AliAnalysisFilter *fTrackFilter; // Track Filter for displaced vertices |
209 | AliAnalysisFilter *fTrackFilterSoftPi; // Track Filter for D* soft pion | |
6a213b59 | 210 | // candidates cuts |
f3014dc3 | 211 | AliRDHFCutsD0toKpi *fCutsD0toKpi; // D0->Kpi cuts |
e3d40058 | 212 | AliRDHFCutsJpsitoee *fCutsJpsitoee; // J/psi->ee cuts |
213 | AliRDHFCutsDplustoKpipi *fCutsDplustoKpipi; // D+->Kpipi cuts | |
214 | AliRDHFCutsDstoKKpi *fCutsDstoKKpi; // Ds->KKpi cuts | |
215 | AliRDHFCutsLctopKpi *fCutsLctopKpi; // Lc->pKpi cuts | |
a07ad8e0 | 216 | AliRDHFCutsLctoV0 *fCutsLctoV0; // Lc --> v0 + bachelor cuts |
e3d40058 | 217 | AliRDHFCutsD0toKpipipi *fCutsD0toKpipipi; // D0->Kpipipi cuts |
218 | AliRDHFCutsD0toKpi *fCutsD0fromDstar; // D0 from Dstar cuts | |
f3014dc3 | 219 | |
6a213b59 | 220 | Double_t fD0toKpiCuts[9]; // cuts on D0->Kpi candidates |
221 | // (to be passed to AliAODRecoDecayHF2Prong::SelectD0()) | |
222 | // 0 = inv. mass half width [GeV] | |
223 | // 1 = dca [cm] | |
224 | // 2 = cosThetaStar | |
225 | // 3 = pTK [GeV/c] | |
226 | // 4 = pTPi [GeV/c] | |
227 | // 5 = d0K [cm] upper limit! | |
228 | // 6 = d0Pi [cm] upper limit! | |
229 | // 7 = d0d0 [cm^2] | |
230 | // 8 = cosThetaPoint | |
2ff20727 | 231 | Double_t fD0fromDstarCuts[9]; // cuts on D0->Kpi candidates from D* |
232 | // (to be passed to AliAODRecoCascadeHF::SelectDstar()) | |
233 | // 0 = inv. mass half width [GeV] | |
234 | // 1 = dca [cm] | |
235 | // 2 = cosThetaStar | |
236 | // 3 = pTK [GeV/c] | |
237 | // 4 = pTPi [GeV/c] | |
238 | // 5 = d0K [cm] upper limit! | |
239 | // 6 = d0Pi [cm] upper limit! | |
240 | // 7 = d0d0 [cm^2] | |
241 | // 8 = cosThetaPoint | |
6a213b59 | 242 | Double_t fBtoJPSICuts[9]; // cuts on JPSI candidates |
243 | // (to be passed to AliAODRecoDecayHF2Prong::SelectBtoJPSI()) | |
244 | // 0 = inv. mass half width [GeV] | |
245 | // 1 = dca [cm] | |
246 | // 2 = cosThetaStar (negative electron) | |
247 | // 3 = pTP [GeV/c] | |
248 | // 4 = pTN [GeV/c] | |
249 | // 5 = d0O [cm] upper limit! | |
250 | // 6 = d0N [cm] upper limit! | |
251 | // 7 = d0d0 [cm^2] | |
252 | // 8 = cosThetaPoint | |
253 | Double_t fDplusCuts[12]; // cuts on Dplus candidates | |
6ea608bf | 254 | // (to be passed to AliAODRecoDecayHF3Prong::SelectDplus()) |
6a213b59 | 255 | // 0 = inv. mass half width [GeV] |
256 | // 1 = pTK [GeV/c] | |
257 | // 2 = pTPi [GeV/c] | |
258 | // 3 = d0K [cm] lower limit! | |
259 | // 4 = d0Pi [cm] lower limit! | |
260 | // 5 = dist12 (cm) | |
261 | // 6 = sigmavert (cm) | |
262 | // 7 = dist prim-sec (cm) | |
263 | // 8 = pM=Max{pT1,pT2,pT3} (GeV/c) | |
264 | // 9 = cosThetaPoint | |
265 | // 10 = Sum d0^2 (cm^2) | |
266 | // 11 = dca cut (cm) | |
f7c170b4 | 267 | Double_t fDsCuts[14]; // cuts on Ds candidates |
6ea608bf | 268 | // (to be passed to AliAODRecoDecayHF3Prong::SelectDs()) |
269 | // 0 = inv. mass half width [GeV] | |
270 | // 1 = pTK [GeV/c] | |
271 | // 2 = pTPi [GeV/c] | |
272 | // 3 = d0K [cm] lower limit! | |
273 | // 4 = d0Pi [cm] lower limit! | |
274 | // 5 = dist12 (cm) | |
275 | // 6 = sigmavert (cm) | |
276 | // 7 = dist prim-sec (cm) | |
277 | // 8 = pM=Max{pT1,pT2,pT3} (GeV/c) | |
278 | // 9 = cosThetaPoint | |
279 | // 10 = Sum d0^2 (cm^2) | |
280 | // 11 = dca cut (cm) | |
f7c170b4 | 281 | // 12 = inv. mass cut around phi |
282 | // 13 = inv. mass cut around phi K0* [GeV] | |
81679460 | 283 | Double_t fLcCuts[12]; // cuts on Lambdac candidates |
6ea608bf | 284 | // (to be passed to AliAODRecoDecayHF3Prong::SelectLc()) |
285 | // 0 = inv. mass half width [GeV] | |
286 | // 1 = pTP [GeV/c] | |
287 | // 2 = pTPi abd pTK [GeV/c] | |
288 | // 3 = d0P [cm] lower limit! | |
289 | // 4 = d0Pi and d0K [cm] lower limit! | |
290 | // 5 = dist12 (cm) | |
291 | // 6 = sigmavert (cm) | |
292 | // 7 = dist prim-sec (cm) | |
293 | // 8 = pM=Max{pT1,pT2,pT3} (GeV/c) | |
294 | // 9 = cosThetaPoint | |
295 | // 10 = Sum d0^2 (cm^2) | |
296 | // 11 = dca cut (cm) | |
a07ad8e0 | 297 | |
298 | Double_t fLctoV0Cuts[9]; // cuts on Lambdac candidates to V0+bachelor | |
299 | // (to be passed to AliAODRecoDecayHF3Prong::SelectLctoV0()) | |
300 | // 0 = inv. mass half width in K0s hypothesis [GeV] | |
301 | // 1 = inv. mass half width in Lambda hypothesis [GeV] | |
302 | // 2 = inv. mass V0 in K0s hypothesis half width [GeV] | |
303 | // 3 = inv. mass V0 in Lambda hypothesis half width [GeV] | |
304 | // 4 = pT min Bachelor track [GeV/c] | |
305 | // 5 = pT min V0-Positive track [GeV/c] | |
306 | // 6 = pT min V0-Negative track [GeV/c] | |
307 | // 7 = dca cut on the V0 (cm) | |
308 | // 8 = dca cut on the cascade (cm) | |
309 | ||
2ff20727 | 310 | Double_t fDstarCuts[5]; // cuts on D* candidates |
311 | // (to be passed to AliAODRecoCascadeHF::SelectDstar()) | |
312 | // 0 = inv. mass half width of D* [GeV] | |
313 | // 1 = half width of (M_Kpipi-M_Kpi) [GeV] | |
314 | // 2 = PtMin of pi_s [GeV/c] | |
315 | // 3 = PtMax of pi_s [GeV/c] | |
316 | // 4 = theta, angle between the track of pi_s and D0 decay plane [rad] | |
317 | ||
721c0b8f | 318 | Double_t fD0to4ProngsCuts[9]; // cuts on D0->K3pi candidates |
319 | // (to be passed to AliAODRecoDecayHF4Prong::SelectD0()) | |
320 | // 0 = inv. mass half width of D0 [GeV] | |
321 | // 1 = DCA between opposite sign tracks | |
322 | // 2 = Distance between primary and two tracks vertex fDist12toPrim | |
323 | // 3 = Distance between primary and three tracks vertex fDist3toPrim | |
324 | // 4 = Distance between primary and two tracks vertex fDist4toPrim | |
325 | // 5 = Cosinus of the pointing angle | |
326 | // 6 = Transverse momentum of the D0 candidate | |
327 | // 7 = Mass Pi+Pi- = mass of the rho0 | |
328 | // 8 = PID cut (one K in the quadruplet) | |
329 | ||
a9b75906 | 330 | TList *fListOfCuts; // pointer to list of cuts for output file |
eee95e18 | 331 | Bool_t fFindVertexForDstar; // reconstruct a secondary vertex or assume it's from the primary vertex |
a07ad8e0 | 332 | Bool_t fFindVertexForCascades; // reconstruct a secondary vertex or assume it's from the primary vertex |
6a213b59 | 333 | // |
a9b75906 | 334 | void AddRefs(AliAODVertex *v,AliAODRecoDecayHF *rd,const AliVEvent *event, |
335 | const TObjArray *trkArray) const; | |
c4cdf105 | 336 | void AddDaughterRefs(AliAODVertex *v,const AliVEvent *event, |
337 | const TObjArray *trkArray) const; | |
dcb444c9 | 338 | AliAODRecoDecayHF2Prong* Make2Prong(TObjArray *twoTrackArray1,AliVEvent *event, |
339 | AliAODVertex *secVert,Double_t dcap1n1, | |
2ff20727 | 340 | Bool_t &okD0,Bool_t &okJPSI,Bool_t &okD0fromDstar) const; |
dcb444c9 | 341 | AliAODRecoDecayHF3Prong* Make3Prong(TObjArray *threeTrackArray,AliVEvent *event, |
342 | AliAODVertex *secVert, | |
343 | Double_t dispersion, | |
c4cdf105 | 344 | const AliAODVertex *vertexp1n1, |
345 | const AliAODVertex *vertexp2n1, | |
dcb444c9 | 346 | Double_t dcap1n1,Double_t dcap2n1,Double_t dcap1p2, |
347 | Bool_t &ok3Prong) const; | |
348 | AliAODRecoDecayHF4Prong* Make4Prong(TObjArray *fourTrackArray,AliVEvent *event, | |
721c0b8f | 349 | AliAODVertex *secVert, |
c4cdf105 | 350 | const AliAODVertex *vertexp1n1, |
351 | const AliAODVertex *vertexp1n1p2, | |
721c0b8f | 352 | Double_t dcap1n1,Double_t dcap1n2, |
353 | Double_t dcap2n1,Double_t dcap2n2, | |
354 | Bool_t &ok4Prong) const; | |
2ff20727 | 355 | AliAODRecoCascadeHF* MakeCascade(TObjArray *twoTrackArray,AliVEvent *event, |
356 | AliAODVertex *secVert, | |
357 | AliAODRecoDecayHF2Prong *rd2Prong, | |
358 | Double_t dca, | |
359 | Bool_t &okDstar) const; | |
a07ad8e0 | 360 | AliAODRecoCascadeHF* MakeCascade(TObjArray *twoTrackArray,AliVEvent *event, |
361 | AliAODVertex *secVert, | |
362 | AliAODv0 *v0, | |
363 | Double_t dca, | |
364 | Bool_t &okCascades) const; | |
dcb444c9 | 365 | |
c4cdf105 | 366 | AliAODVertex* PrimaryVertex(const TObjArray *trkArray=0x0,AliVEvent *event=0x0) const; |
dcfa35b3 | 367 | AliAODVertex* ReconstructSecondaryVertex(TObjArray *trkArray,Double_t &dispersion,Bool_t useTRefArray=kTRUE) const; |
6a213b59 | 368 | Bool_t SelectInvMass(Int_t decay,Int_t nprongs, |
369 | Double_t *px,Double_t *py,Double_t *pz) const; | |
c4cdf105 | 370 | void SelectTracksAndCopyVertex(const AliVEvent *event, |
2ff20727 | 371 | TObjArray &seleTrksArray,Int_t &nSeleTrks, |
a25935a9 | 372 | UChar_t *seleFlags,Int_t *evtNumber); |
2ff20727 | 373 | Bool_t SingleTrkCuts(AliESDtrack *trk,Bool_t &okDisplaced,Bool_t &okSoftPi) const; |
a07ad8e0 | 374 | |
375 | AliAODv0* TransformESDv0toAODv0(AliESDv0 *esdv0, | |
376 | TObjArray *twoTrackArrayV0); | |
377 | ||
6a213b59 | 378 | // |
a07ad8e0 | 379 | ClassDef(AliAnalysisVertexingHF,17); // Reconstruction of HF decay candidates |
6a213b59 | 380 | }; |
381 | ||
382 | ||
383 | #endif | |
384 | ||
385 | ||
386 | ||
387 | ||
388 | ||
389 | ||
390 | ||
391 |