CbmRoot
CbmAnaConversion.h
Go to the documentation of this file.
1 
10 #ifndef CBM_ANA_CONVERSION
11 #define CBM_ANA_CONVERSION
12 
13 #include "FairTask.h"
14 
15 #include "CbmKFVertex.h"
16 #include "CbmLmvmKinematicParams.h"
17 #include "CbmMCTrack.h"
18 
19 //#include "KFParticleTopoReconstructor.h"
20 #include "CbmKFParticleFinder.h"
21 #include "CbmKFParticleFinderQA.h"
22 
23 #include "CbmAnaConversionKF.h"
26 #include "CbmAnaConversionReco.h"
28 #include "CbmAnaConversionRich.h"
29 #include "CbmAnaConversionTest.h"
30 #include "CbmAnaConversionTest2.h"
32 
33 #include "TStopwatch.h"
34 
35 #include <vector>
36 
37 class TH1;
38 class TH2;
39 class TH3;
40 class TH1D;
41 class TH2D;
42 class TH2I;
43 class TH3D;
44 class TClonesArray;
45 class CbmRichRing;
46 class TCanvas;
47 class TRandom3;
48 
49 
50 /*class KinematicParams{
51 public:
52  Double_t momentumMag; // Absolute value of momentum
53  Double_t pt; // Transverse momentum
54  Double_t rapidity; // Rapidity
55  Double_t minv; // Invariant mass
56  Double_t angle; // Opening angle
57 };*/
58 
59 class CbmAnaConversion : public FairTask {
60 
61 public:
66 
70  virtual ~CbmAnaConversion();
71 
75  virtual InitStatus Init();
76 
80  virtual void Exec(Option_t* option);
81 
83  const CbmMCTrack* mctrackM);
84 
85  Double_t Invmass_2gammas(const CbmMCTrack* gamma1, const CbmMCTrack* gamma2);
86  Double_t Invmass_2particles(const CbmMCTrack* mctrack1,
87  const CbmMCTrack* mctrack2);
88  Double_t Invmass_4particles(const CbmMCTrack* mctrack1,
89  const CbmMCTrack* mctrack2,
90  const CbmMCTrack* mctrack3,
91  const CbmMCTrack* mctrack4);
92  Double_t Invmass_4particlesRECO(const TVector3 part1,
93  const TVector3 part2,
94  const TVector3 part3,
95  const TVector3 part4);
96 
97 
99 
103  virtual void Finish();
104 
105  void AnalyseElectrons(CbmMCTrack* mctrack);
106  void FillMCTracklists(CbmMCTrack* mctrack, int i);
107  void FillRecoTracklist(CbmMCTrack* mtrack);
108  Bool_t FillRecoTracklistEPEM(CbmMCTrack* mctrack,
109  TVector3 stsMomentum,
110  TVector3 refittedMom,
111  int i,
112  Double_t chi,
113  Int_t GlobalTrackId);
114  void InvariantMassTest();
116  void InvariantMassTestReco();
117  int GetTest();
118  int GetNofEvents();
119  void SetMode(int mode);
120 
121  void ReconstructGamma();
122 
123 
124  void SetKF(CbmKFParticleFinder* kfparticle,
125  CbmKFParticleFinderQA* kfparticleQA);
126 
127  Bool_t AnalysePi0_MC(CbmMCTrack* mctrack, int i);
128  void AnalysePi0_Reco();
129  Bool_t AnalysePi0_Reco_calc(int e1, int e2, int e3, int e4);
131  Bool_t AnalysePi0_Reco_noRichInd_calc(int e1, int e2, int e3, int e4);
132 
133 
134 private:
139  Int_t DoPhotons;
140  Int_t DoPhotons2;
141  Int_t DoRecoFull;
142  Int_t DoTest;
143 
144  TH1D* fhPdgCodes;
145  TH1D* fhNofElPrim;
146  TH1D* fhNofElSec;
147  TH1D* fhNofElAll;
149  TH1D* fhNofPi0_perEvent; // number of pi0 per event
150  TH1D*
151  fhNofPi0_perEvent_cut; // number of pi0 with cut on z-axis (z <= 4cm, i.e. generated before 4cm)
152  TH1D* fhNofPi0_perEvent_cut2; // number of pi0 with cut motherId = -1
153  TH1D*
154  fhNofPi0_perEvent_cut3; // number of pi0 with conversion of gammas happening before RICH
155  TH1D* fhNofEta_perEvent; // number of pi0 per event
156  TH1D*
157  fhNofEta_perEvent_cut; // number of pi0 with cut on z-axis (z <= 10cm, i.e. generated before 10cm)
158  TH1D* fhNofEta_perEvent_cut2; // number of pi0 with cut motherId = -1
159  TH1D* fhPi0_z; // number of pi0 per z-bin
160  TH1D*
161  fhPi0_z_cut; // number of pi0 per z-bin with cut on acceptance (via x^2 + y^2 <= r^2 with r = z*tan)
162  TH1D* fhPi0_pt; //
163  TH2D* fhPi0_pt_vs_rap; //
164  TH1D* fhPi0_theta; //
166  TH1D* fhEta_pt; //
167  TH2D* fhEta_pt_vs_rap; //
168  TH1D* fhEta_theta; //
170  TH1D* fhRho_pt; //
171  TH2D* fhRho_pt_vs_rap; //
172  TH1D* fhRho_theta; //
174  TH1D* fhOmega_pt; //
176  TH1D* fhOmega_theta; //
179 
182 
189 
191 
194 
195 
197 
200  TClonesArray* fRichPoints;
201  TClonesArray* fRichRings;
202  TClonesArray* fRichRingMatches;
203  TClonesArray* fMcTracks;
204  TClonesArray* fStsTracks;
205  TClonesArray* fStsTrackMatches;
206  TClonesArray* fGlobalTracks;
207 
216 
217  Int_t fEventNum;
218 
219  Int_t test;
220 
221  int testint;
222 
224 
225 
228  const KFParticleTopoReconstructor* fKFtopo;
229  std::vector<int> trackindexarray;
235 
236 
237  // for data gained from the KFParticle package
238  Int_t
239  fNofGeneratedPi0_allEvents; // number of generated pi0 summed up over ALL EVENTS
240  Int_t
241  fNofPi0_kfparticle_allEvents; // number of all reconstructed pi0 summed up over ALL EVENTS
244  TH1D* fhPi0Ratio;
245  TH1D* fhPi0_mass;
247 
248 
252  void InitHistograms();
253 
254  std::vector<TH1*> fHistoList; // list of all histograms
255  std::vector<TH1*>
256  fHistoList_MC; // list of all histograms generated with MC data
257  std::vector<TH1*>
258  fHistoList_tomography; // list of all histograms of tomography data (photon conversion)
259  std::vector<TH1*>
260  fHistoList_reco; // list of all histograms of reconstruction data
261  std::vector<TH1*>
262  fHistoList_reco_mom; // list of all histograms of reconstruction data (used momenta)
263  std::vector<TH1*>
264  fHistoList_kfparticle; // list of all histograms containing results from KFParticle package
265  std::vector<TH1*>
266  fHistoList_richrings; // list of all histograms related to rich rings
267  std::vector<TH1*>
268  fHistoList_furtherAnalyses; // list of all histograms from further analyses (occurence, etc.)
269 
270  std::vector<CbmMCTrack*> fMCTracklist;
271  std::vector<CbmMCTrack*> fMCTracklist_all;
272  std::vector<CbmMCTrack*> fRecoTracklist;
273  std::vector<CbmMCTrack*> fRecoTracklistEPEM;
274  std::vector<int>
275  fRecoTracklistEPEM_id; // ids of mctracks from fRecoTracklistEPEM
276  std::vector<Double_t>
277  fRecoTracklistEPEM_chi; // chi of fitted momenta from fRecoTracklistEPEM
278  std::vector<Int_t>
279  fRecoTracklistEPEM_gtid; // GlobalTrack ID from fRecoTracklistEPEM
280 
281  std::vector<CbmMCTrack*> fTestTracklist;
282  std::vector<TVector3> fTestTracklist_momentum;
283  std::vector<float> fTestTracklist_chi;
284  std::vector<int> fTestTracklist_richInd;
285  std::vector<int> fTestTracklist_ndf;
286  std::vector<int> fTestTracklist_nofhits;
287 
288  std::vector<CbmMCTrack*> fTestTracklist_noRichInd;
290  std::vector<TVector3> fTestTracklist_noRichInd_momentum;
291  std::vector<float> fTestTracklist_noRichInd_chi;
296 
297  std::vector<TVector3> fRecoMomentum;
298  std::vector<TVector3> fRecoRefittedMomentum;
299 
300 
302 
334 
335 
342 
343 
344  // timer
345  TStopwatch timer_all;
346  Double_t fTime_all;
347  TStopwatch timer_exec;
348  Double_t fTime_exec;
349 
350  TStopwatch timer_mc;
351  Double_t fTime_mc;
352  TStopwatch timer_rec;
353  Double_t fTime_rec;
354 
355 
365 
366 
371 
376 
377 
378  ClassDef(CbmAnaConversion, 1)
379 };
380 
381 #endif
CbmAnaConversion::fTime_mc
Double_t fTime_mc
Definition: CbmAnaConversion.h:351
CbmAnaConversion::fhNofElSec
TH1D * fhNofElSec
Definition: CbmAnaConversion.h:146
CbmAnaConversion::fAnaRich
CbmAnaConversionRich * fAnaRich
Definition: CbmAnaConversion.h:357
CbmAnaConversion::fhPi0_Reco_ndf_vs_chi
TH2D * fhPi0_Reco_ndf_vs_chi
Definition: CbmAnaConversion.h:310
CbmAnaConversion::fKFparticleFinderQA
CbmKFParticleFinderQA * fKFparticleFinderQA
Definition: CbmAnaConversion.h:227
CbmAnaConversion::fTime_all
Double_t fTime_all
Definition: CbmAnaConversion.h:346
CbmAnaConversion::fhNofElAll
TH1D * fhNofElAll
Definition: CbmAnaConversion.h:147
CbmAnaConversionPhotons2.h
CbmAnaConversion::fhPi0_Reco_chi_vs_pt_eFromPi0
TH2D * fhPi0_Reco_chi_vs_pt_eFromPi0
Definition: CbmAnaConversion.h:340
CbmAnaConversion::fhANN_output_else_chiCut
TH1D * fhANN_output_else_chiCut
Definition: CbmAnaConversion.h:214
CbmAnaConversion::ReconstructGamma
void ReconstructGamma()
Definition: CbmAnaConversion.cxx:2147
CbmAnaConversion::testint
int testint
Definition: CbmAnaConversion.h:221
CbmAnaConversionTomography.h
CbmAnaConversionPhotons.h
CbmAnaConversion::fhPi0_Reco_noRichInd_chi_vs_momentum_eRest
TH2D * fhPi0_Reco_noRichInd_chi_vs_momentum_eRest
Definition: CbmAnaConversion.h:329
CbmAnaConversion::fhPi0_Reco_noRichInd_chi_vs_momentum_eFromPi0_Target
TH2D * fhPi0_Reco_noRichInd_chi_vs_momentum_eFromPi0_Target
Definition: CbmAnaConversion.h:328
CbmAnaConversion::fhPi0_Reco_noRichInd_ndf_vs_nofhits
TH2D * fhPi0_Reco_noRichInd_ndf_vs_nofhits
Definition: CbmAnaConversion.h:322
CbmAnaConversion::fTestTracklist_ndf
std::vector< int > fTestTracklist_ndf
Definition: CbmAnaConversion.h:285
CbmKFParticleFinder.h
CbmAnaConversion::Finish
virtual void Finish()
Inherited from FairTask.
Definition: CbmAnaConversion.cxx:1574
CbmAnaConversion::fhInvariantMass_test2
TH1D * fhInvariantMass_test2
Definition: CbmAnaConversion.h:184
CbmAnaConversion::fhANN_output_else
TH1D * fhANN_output_else
Definition: CbmAnaConversion.h:212
CbmKFParticleFinder
Definition: CbmKFParticleFinder.h:26
CbmAnaConversion::fhPi0_Reco_chi_vs_pt_eFromPi0_Target
TH2D * fhPi0_Reco_chi_vs_pt_eFromPi0_Target
Definition: CbmAnaConversion.h:341
CbmAnaConversion::fhPi0_Reco_occurence
TH1D * fhPi0_Reco_occurence
Definition: CbmAnaConversion.h:305
CbmAnaConversion::SetKF
void SetKF(CbmKFParticleFinder *kfparticle, CbmKFParticleFinderQA *kfparticleQA)
Definition: CbmAnaConversion.cxx:2170
CbmAnaConversion::Invmass_2gammas
Double_t Invmass_2gammas(const CbmMCTrack *gamma1, const CbmMCTrack *gamma2)
Definition: CbmAnaConversion.cxx:1726
CbmAnaConversion::fhNofPi0_perEvent_cut
TH1D * fhNofPi0_perEvent_cut
Definition: CbmAnaConversion.h:151
CbmAnaConversion::fTestTracklist_noRichInd_nofhits
std::vector< int > fTestTracklist_noRichInd_nofhits
Definition: CbmAnaConversion.h:295
CbmAnaConversion::AnalysePi0_Reco_calc
Bool_t AnalysePi0_Reco_calc(int e1, int e2, int e3, int e4)
Definition: CbmAnaConversion.cxx:2508
CbmAnaConversion::fAnaTomography
CbmAnaConversionTomography * fAnaTomography
Definition: CbmAnaConversion.h:356
CbmAnaConversion::fhPi0Ratio
TH1D * fhPi0Ratio
Definition: CbmAnaConversion.h:244
CbmAnaConversion::fhPi0_Reco_ndf
TH1D * fhPi0_Reco_ndf
Definition: CbmAnaConversion.h:309
CbmAnaConversion::fhPi0_theta_vs_rap
TH2D * fhPi0_theta_vs_rap
Definition: CbmAnaConversion.h:165
CbmAnaConversion::fAnaRecoFull
CbmAnaConversionRecoFull * fAnaRecoFull
Definition: CbmAnaConversion.h:362
CbmAnaConversionTest.h
CbmAnaConversion::fhPi0_z
TH1D * fhPi0_z
Definition: CbmAnaConversion.h:159
CbmAnaConversion::fhInvariantMassReco_test
TH1D * fhInvariantMassReco_test
Definition: CbmAnaConversion.h:186
CbmAnaConversion::fNofGeneratedPi0_allEvents
Int_t fNofGeneratedPi0_allEvents
Definition: CbmAnaConversion.h:239
CbmAnaConversion::fhOmega_pt_vs_rap
TH2D * fhOmega_pt_vs_rap
Definition: CbmAnaConversion.h:175
CbmAnaConversionPhotons2
Definition: CbmAnaConversionPhotons2.h:27
CbmAnaConversion::fhANN_output_electrons_chiCut
TH1D * fhANN_output_electrons_chiCut
Definition: CbmAnaConversion.h:210
CbmAnaConversion::fhANN_output_else2
TH1D * fhANN_output_else2
Definition: CbmAnaConversion.h:213
CbmAnaConversion::fhMomentum_MCvsReco_diff
TH1D * fhMomentum_MCvsReco_diff
Definition: CbmAnaConversion.h:193
CbmAnaConversion::InvariantMassTest
void InvariantMassTest()
Definition: CbmAnaConversion.cxx:1978
CbmAnaConversion::fhRho_pt
TH1D * fhRho_pt
Definition: CbmAnaConversion.h:170
CbmAnaConversion::DoPhotons
Int_t DoPhotons
Definition: CbmAnaConversion.h:139
CbmKFParticleFinderQA
Definition: CbmKFParticleFinderQA.h:21
CbmAnaConversion::fhNofEta_perEvent_cut
TH1D * fhNofEta_perEvent_cut
Definition: CbmAnaConversion.h:157
CbmAnaConversion::fTestTracklist_nofhits
std::vector< int > fTestTracklist_nofhits
Definition: CbmAnaConversion.h:286
i
int i
Definition: L1/vectors/P4_F32vec4.h:25
CbmAnaConversion::fhPi0_Reco_invmass_cases
TH2D * fhPi0_Reco_invmass_cases
Definition: CbmAnaConversion.h:316
CbmAnaConversion::fHistoList_MC
std::vector< TH1 * > fHistoList_MC
Definition: CbmAnaConversion.h:256
CbmAnaConversion::fRecoTracklistEPEM_chi
std::vector< Double_t > fRecoTracklistEPEM_chi
Definition: CbmAnaConversion.h:277
CbmAnaConversion::FillRecoTracklistEPEM
Bool_t FillRecoTracklistEPEM(CbmMCTrack *mctrack, TVector3 stsMomentum, TVector3 refittedMom, int i, Double_t chi, Int_t GlobalTrackId)
Definition: CbmAnaConversion.cxx:1921
CbmAnaConversion::fhPi0_MC_occurence
TH1D * fhPi0_MC_occurence
Definition: CbmAnaConversion.h:303
CbmAnaConversion::fhPi0_Reco_startvertex_vs_chi
TH2D * fhPi0_Reco_startvertex_vs_chi
Definition: CbmAnaConversion.h:312
CbmAnaConversion::fKFVertex
CbmKFVertex fKFVertex
Definition: CbmAnaConversion.h:199
CbmAnaConversionTomography
Definition: CbmAnaConversionTomography.h:28
CbmAnaConversion::fhPi0_Reco_noRichInd_chi_vs_pt_eFromPi0
TH2D * fhPi0_Reco_noRichInd_chi_vs_pt_eFromPi0
Definition: CbmAnaConversion.h:331
CbmAnaConversion::fhPi0_Reco_noRichInd_invmass_mc
TH1D * fhPi0_Reco_noRichInd_invmass_mc
Definition: CbmAnaConversion.h:321
CbmAnaConversion::timer_exec
TStopwatch timer_exec
Definition: CbmAnaConversion.h:347
CbmAnaConversionTest2.h
CbmAnaConversion::fNofPi0_kfparticle_allEvents
Int_t fNofPi0_kfparticle_allEvents
Definition: CbmAnaConversion.h:241
CbmAnaConversion::fhPi0_Reco_chi_vs_momentum
TH2D * fhPi0_Reco_chi_vs_momentum
Definition: CbmAnaConversion.h:336
CbmAnaConversion::DoKFAnalysis
Int_t DoKFAnalysis
Definition: CbmAnaConversion.h:137
CbmAnaConversion::fTime_rec
Double_t fTime_rec
Definition: CbmAnaConversion.h:353
CbmAnaConversion::fhPi0_pt_vs_rap
TH2D * fhPi0_pt_vs_rap
Definition: CbmAnaConversion.h:163
CbmAnaConversion::trackindexarray
std::vector< int > trackindexarray
Definition: CbmAnaConversion.h:229
CbmAnaConversion::fAnalyseMode
Int_t fAnalyseMode
Definition: CbmAnaConversion.h:223
CbmAnaConversion::fhMomentum_MCvsReco
TH2D * fhMomentum_MCvsReco
Definition: CbmAnaConversion.h:192
CbmAnaConversion::AnalysePi0_Reco_noRichInd_calc
Bool_t AnalysePi0_Reco_noRichInd_calc(int e1, int e2, int e3, int e4)
Definition: CbmAnaConversion.cxx:2833
CbmAnaConversion::fAnaTest2
CbmAnaConversionTest2 * fAnaTest2
Definition: CbmAnaConversion.h:364
CbmAnaConversion::fhPi0_Reco_noRichInd_chi_vs_pt
TH2D * fhPi0_Reco_noRichInd_chi_vs_pt
Definition: CbmAnaConversion.h:330
CbmAnaConversion::fhInvariantMass_test
TH1D * fhInvariantMass_test
Definition: CbmAnaConversion.h:183
CbmAnaConversion::DoReconstruction
Int_t DoReconstruction
Definition: CbmAnaConversion.h:138
CbmAnaConversion::GetTest
int GetTest()
Definition: CbmAnaConversion.cxx:2132
CbmRichRing
Definition: CbmRichRing.h:17
CbmAnaConversion
Definition: CbmAnaConversion.h:59
CbmAnaConversion::InvariantMassTest_4epem
void InvariantMassTest_4epem()
CbmAnaConversion::DoRichAnalysis
Int_t DoRichAnalysis
Definition: CbmAnaConversion.h:136
CbmAnaConversion::fhElectronSources
TH1D * fhElectronSources
Definition: CbmAnaConversion.h:148
CbmAnaConversion::particlecounter
Int_t particlecounter
Definition: CbmAnaConversion.h:230
CbmAnaConversion::fhNofPi0_perEvent_cut3
TH1D * fhNofPi0_perEvent_cut3
Definition: CbmAnaConversion.h:154
CbmAnaConversion::fhSearchGammas
TH1D * fhSearchGammas
Definition: CbmAnaConversion.h:196
CbmAnaConversion::fhPi0_noRichInd_diffTheta
TH1D * fhPi0_noRichInd_diffTheta
Definition: CbmAnaConversion.h:315
CbmAnaConversion::operator=
CbmAnaConversion & operator=(const CbmAnaConversion &)
Assignment operator.
CbmAnaConversion::fhPi0_Reco_chi
TH1D * fhPi0_Reco_chi
Definition: CbmAnaConversion.h:308
CbmAnaConversionKF.h
CbmAnaConversion::fhPi0_Reco_startvertex_vs_nofhits
TH2D * fhPi0_Reco_startvertex_vs_nofhits
Definition: CbmAnaConversion.h:313
CbmAnaConversionRich
Definition: CbmAnaConversionRich.h:25
CbmAnaConversion::Init
virtual InitStatus Init()
Inherited from FairTask.
Definition: CbmAnaConversion.cxx:247
CbmAnaConversion::CalculateKinematicParams
CbmLmvmKinematicParams CalculateKinematicParams(const CbmMCTrack *mctrackP, const CbmMCTrack *mctrackM)
Definition: CbmAnaConversion.cxx:1693
CbmAnaConversion::InitHistograms
void InitHistograms()
Initialize histograms.
Definition: CbmAnaConversion.cxx:363
CbmAnaConversion::fAnaPhotons
CbmAnaConversionPhotons * fAnaPhotons
Definition: CbmAnaConversion.h:360
CbmAnaConversion::fhPi0_Reco_occurence2
TH1D * fhPi0_Reco_occurence2
Definition: CbmAnaConversion.h:306
CbmAnaConversion::fRecoTracklistEPEM
std::vector< CbmMCTrack * > fRecoTracklistEPEM
Definition: CbmAnaConversion.h:273
CbmAnaConversion::fhNofPi0_perEvent
TH1D * fhNofPi0_perEvent
Definition: CbmAnaConversion.h:149
CbmAnaConversion::fNofPi0_kfparticle
Int_t fNofPi0_kfparticle
Definition: CbmAnaConversion.h:243
CbmAnaConversion::fAnaKF
CbmAnaConversionKF * fAnaKF
Definition: CbmAnaConversion.h:358
CbmAnaConversion::timer_mc
TStopwatch timer_mc
Definition: CbmAnaConversion.h:350
CbmAnaConversion::SetMode
void SetMode(int mode)
Definition: CbmAnaConversion.cxx:2138
CbmAnaConversion::InvariantMassTestReco
void InvariantMassTestReco()
Definition: CbmAnaConversion.cxx:2012
CbmAnaConversion::fRecoTracklistEPEM_gtid
std::vector< Int_t > fRecoTracklistEPEM_gtid
Definition: CbmAnaConversion.h:279
CbmAnaConversion::CbmAnaConversion
CbmAnaConversion()
Standard constructor.
Definition: CbmAnaConversion.cxx:68
CbmAnaConversion::fhPi0_Reco_noRichInd_chi_vs_pt_eFromPi0_Target
TH2D * fhPi0_Reco_noRichInd_chi_vs_pt_eFromPi0_Target
Definition: CbmAnaConversion.h:332
CbmAnaConversion::DoTest
Int_t DoTest
Definition: CbmAnaConversion.h:142
CbmAnaConversion::fTestTracklist_chi
std::vector< float > fTestTracklist_chi
Definition: CbmAnaConversion.h:283
CbmAnaConversion::fhNofEta_perEvent
TH1D * fhNofEta_perEvent
Definition: CbmAnaConversion.h:155
CbmAnaConversion::fhNofElPrim
TH1D * fhNofElPrim
Definition: CbmAnaConversion.h:145
CbmAnaConversion::fhPi0_pt
TH1D * fhPi0_pt
Definition: CbmAnaConversion.h:162
CbmAnaConversion::fAnaPhotons2
CbmAnaConversionPhotons2 * fAnaPhotons2
Definition: CbmAnaConversion.h:361
CbmAnaConversion::fHistoList_kfparticle
std::vector< TH1 * > fHistoList_kfparticle
Definition: CbmAnaConversion.h:264
CbmAnaConversion::fhPi0_MC_occurence2
TH1D * fhPi0_MC_occurence2
Definition: CbmAnaConversion.h:304
CbmAnaConversion::Exec
virtual void Exec(Option_t *option)
Inherited from FairTask.
Definition: CbmAnaConversion.cxx:1098
CbmAnaConversion::fhRho_pt_vs_rap
TH2D * fhRho_pt_vs_rap
Definition: CbmAnaConversion.h:171
CbmAnaConversion::DoRecoFull
Int_t DoRecoFull
Definition: CbmAnaConversion.h:141
CbmAnaConversion::fhPi0_Reco_chi_vs_momentum_eFromPi0
TH2D * fhPi0_Reco_chi_vs_momentum_eFromPi0
Definition: CbmAnaConversion.h:337
CbmAnaConversion::fhPi0_NDaughters
TH1D * fhPi0_NDaughters
Definition: CbmAnaConversion.h:246
CbmAnaConversion::fhEta_pt
TH1D * fhEta_pt
Definition: CbmAnaConversion.h:166
CbmAnaConversion::fhPi0_noRichInd_diffPhi
TH1D * fhPi0_noRichInd_diffPhi
Definition: CbmAnaConversion.h:314
CbmAnaConversion::AnalyseElectrons
void AnalyseElectrons(CbmMCTrack *mctrack)
Definition: CbmAnaConversion.cxx:1654
CbmAnaConversion::Invmass_2particles
Double_t Invmass_2particles(const CbmMCTrack *mctrack1, const CbmMCTrack *mctrack2)
Definition: CbmAnaConversion.cxx:1745
CbmAnaConversion::fRecoMomentum
std::vector< TVector3 > fRecoMomentum
Definition: CbmAnaConversion.h:297
CbmAnaConversion::fTestTracklist_noRichInd_chi
std::vector< float > fTestTracklist_noRichInd_chi
Definition: CbmAnaConversion.h:291
CbmAnaConversion::fhANN_output_electrons_vs_p
TH2D * fhANN_output_electrons_vs_p
Definition: CbmAnaConversion.h:211
CbmAnaConversion::AnalysePi0_Reco_noRichInd
void AnalysePi0_Reco_noRichInd()
Definition: CbmAnaConversion.cxx:2587
CbmAnaConversion::AnalysePi0_Reco
void AnalysePi0_Reco()
Definition: CbmAnaConversion.cxx:2302
CbmVertex
Definition: CbmVertex.h:26
CbmAnaConversion::fhPi0_Reco_angles
TH1D * fhPi0_Reco_angles
Definition: CbmAnaConversion.h:307
CbmAnaConversion::fStsTrackMatches
TClonesArray * fStsTrackMatches
Definition: CbmAnaConversion.h:205
CbmAnaConversion::fTestTracklist_noRichInd_gTrackId
std::vector< int > fTestTracklist_noRichInd_gTrackId
Definition: CbmAnaConversion.h:293
CbmAnaConversion::fTestTracklist_richInd
std::vector< int > fTestTracklist_richInd
Definition: CbmAnaConversion.h:284
CbmAnaConversion::FillRecoTracklist
void FillRecoTracklist(CbmMCTrack *mtrack)
Definition: CbmAnaConversion.cxx:1903
CbmAnaConversion::fPrimVertex
CbmVertex * fPrimVertex
Definition: CbmAnaConversion.h:198
CbmAnaConversion::fHistoList_richrings
std::vector< TH1 * > fHistoList_richrings
Definition: CbmAnaConversion.h:266
CbmAnaConversion::DoTomography
Int_t DoTomography
Definition: CbmAnaConversion.h:135
CbmAnaConversion::fhPi0_Reco_invmass
TH1D * fhPi0_Reco_invmass
Definition: CbmAnaConversion.h:318
CbmAnaConversion::fhInvariantMassReco_test2
TH1D * fhInvariantMassReco_test2
Definition: CbmAnaConversion.h:187
CbmAnaConversion::fhANN_output_electrons
TH1D * fhANN_output_electrons
Definition: CbmAnaConversion.h:208
CbmAnaConversion::fhOmega_theta
TH1D * fhOmega_theta
Definition: CbmAnaConversion.h:176
CbmAnaConversion::fhEta_pt_vs_rap
TH2D * fhEta_pt_vs_rap
Definition: CbmAnaConversion.h:167
CbmAnaConversion::fhPi0_Reco_chi_vs_pt
TH2D * fhPi0_Reco_chi_vs_pt
Definition: CbmAnaConversion.h:339
CbmAnaConversion::fhPi0_mass
TH1D * fhPi0_mass
Definition: CbmAnaConversion.h:245
CbmAnaConversion::fhOmega_pt
TH1D * fhOmega_pt
Definition: CbmAnaConversion.h:174
CbmAnaConversion::particlecounter_4daughters
Int_t particlecounter_4daughters
Definition: CbmAnaConversion.h:233
CbmAnaConversion::timer_all
TStopwatch timer_all
Definition: CbmAnaConversion.h:345
CbmAnaConversion::fMCTracklist
std::vector< CbmMCTrack * > fMCTracklist
Definition: CbmAnaConversion.h:270
CbmAnaConversionReco.h
CbmAnaConversion::~CbmAnaConversion
virtual ~CbmAnaConversion()
Standard destructor.
Definition: CbmAnaConversion.cxx:245
CbmAnaConversion::fHistoList_furtherAnalyses
std::vector< TH1 * > fHistoList_furtherAnalyses
Definition: CbmAnaConversion.h:268
CbmAnaConversion::fStsTracks
TClonesArray * fStsTracks
Definition: CbmAnaConversion.h:204
CbmAnaConversion::fhPi0_Reco_noRichInd_invmass_cases
TH2D * fhPi0_Reco_noRichInd_invmass_cases
Definition: CbmAnaConversion.h:317
CbmAnaConversion::fRichPoints
TClonesArray * fRichPoints
Definition: CbmAnaConversion.h:200
CbmAnaConversion::fRecoRefittedMomentum
std::vector< TVector3 > fRecoRefittedMomentum
Definition: CbmAnaConversion.h:298
CbmAnaConversion::fhPi0_Reco_noRichInd_chi_vs_momentum
TH2D * fhPi0_Reco_noRichInd_chi_vs_momentum
Definition: CbmAnaConversion.h:326
CbmAnaConversion::fhPi0_Reco_noRichInd_invmass
TH1D * fhPi0_Reco_noRichInd_invmass
Definition: CbmAnaConversion.h:320
CbmAnaConversion::fhInvariantMass_test3
TH1D * fhInvariantMass_test3
Definition: CbmAnaConversion.h:185
CbmAnaConversion::fhPi0_Reco_ndf_vs_nofhits_withChi
TH2D * fhPi0_Reco_ndf_vs_nofhits_withChi
Definition: CbmAnaConversion.h:325
CbmAnaConversion::FillMCTracklists
void FillMCTracklists(CbmMCTrack *mctrack, int i)
Definition: CbmAnaConversion.cxx:1857
CbmAnaConversion::timer_rec
TStopwatch timer_rec
Definition: CbmAnaConversion.h:352
CbmAnaConversion::particlecounter_all
Int_t particlecounter_all
Definition: CbmAnaConversion.h:234
CbmAnaConversion::fMcTracks
TClonesArray * fMcTracks
Definition: CbmAnaConversion.h:203
CbmKFParticleFinderQA.h
CbmAnaConversion::fTime_exec
Double_t fTime_exec
Definition: CbmAnaConversion.h:348
CbmAnaConversion::fHistoList_tomography
std::vector< TH1 * > fHistoList_tomography
Definition: CbmAnaConversion.h:258
CbmAnaConversionKF
Definition: CbmAnaConversionKF.h:31
CbmAnaConversion::fhANN_output_else_vs_p
TH2D * fhANN_output_else_vs_p
Definition: CbmAnaConversion.h:215
CbmAnaConversion::fhInvariantMassReco_pi0
TH1D * fhInvariantMassReco_pi0
Definition: CbmAnaConversion.h:190
CbmAnaConversionTest2
Definition: CbmAnaConversionTest2.h:29
CbmAnaConversion::fEventNum
Int_t fEventNum
Definition: CbmAnaConversion.h:217
CbmAnaConversion::fNofGeneratedPi0
Int_t fNofGeneratedPi0
Definition: CbmAnaConversion.h:242
CbmMCTrack.h
CbmAnaConversion::fhPi0_Reco_chi_vs_momentum_eFromPi0_Target
TH2D * fhPi0_Reco_chi_vs_momentum_eFromPi0_Target
Definition: CbmAnaConversion.h:338
CbmAnaConversion::fhEta_theta_vs_rap
TH2D * fhEta_theta_vs_rap
Definition: CbmAnaConversion.h:169
CbmAnaConversion::fhPi0_Reco_noRichInd_ndf_vs_nofhits_withChi
TH2D * fhPi0_Reco_noRichInd_ndf_vs_nofhits_withChi
Definition: CbmAnaConversion.h:323
CbmAnaConversion::fhPi0_Reco_noRichInd_chi_vs_momentum_eFromPi0
TH2D * fhPi0_Reco_noRichInd_chi_vs_momentum_eFromPi0
Definition: CbmAnaConversion.h:327
CbmAnaConversion::fhRho_theta
TH1D * fhRho_theta
Definition: CbmAnaConversion.h:172
CbmMCTrack
Definition: CbmMCTrack.h:34
CbmAnaConversion::fhNofTracks_globaltrack
TH1D * fhNofTracks_globaltrack
Definition: CbmAnaConversion.h:181
CbmAnaConversion::fRecoTracklist
std::vector< CbmMCTrack * > fRecoTracklist
Definition: CbmAnaConversion.h:272
CbmAnaConversion::fKFtopo
const KFParticleTopoReconstructor * fKFtopo
Definition: CbmAnaConversion.h:228
CbmAnaConversion::fhElectronsFromPi0_z
TH1D * fhElectronsFromPi0_z
Definition: CbmAnaConversion.h:178
CbmAnaConversion::fTestTracklist_momentum
std::vector< TVector3 > fTestTracklist_momentum
Definition: CbmAnaConversion.h:282
CbmAnaConversion::fhNofEta_perEvent_cut2
TH1D * fhNofEta_perEvent_cut2
Definition: CbmAnaConversion.h:158
CbmAnaConversion::fTestTracklist_noRichInd_ndf
std::vector< int > fTestTracklist_noRichInd_ndf
Definition: CbmAnaConversion.h:294
CbmAnaConversion::CalculateInvMass_MC_2particles
void CalculateInvMass_MC_2particles()
Definition: CbmAnaConversion.cxx:1944
CbmAnaConversion::fhPi0_Reco_invmass_mc
TH1D * fhPi0_Reco_invmass_mc
Definition: CbmAnaConversion.h:319
CbmAnaConversion::fhEta_theta
TH1D * fhEta_theta
Definition: CbmAnaConversion.h:168
CbmAnaConversion::fKFparticle
CbmKFParticleFinder * fKFparticle
Definition: CbmAnaConversion.h:226
CbmAnaConversion::fhNofElectrons_4epem
TH1D * fhNofElectrons_4epem
Definition: CbmAnaConversion.h:301
CbmAnaConversion::fTestTracklist_noRichInd_MCindex
std::vector< int > fTestTracklist_noRichInd_MCindex
Definition: CbmAnaConversion.h:289
CbmAnaConversion::fHistoList_reco_mom
std::vector< TH1 * > fHistoList_reco_mom
Definition: CbmAnaConversion.h:262
CbmAnaConversion::fHistoList_reco
std::vector< TH1 * > fHistoList_reco
Definition: CbmAnaConversion.h:260
CbmAnaConversion::fGlobalTracks
TClonesArray * fGlobalTracks
Definition: CbmAnaConversion.h:206
CbmAnaConversion::fhANN_output_electrons2
TH1D * fhANN_output_electrons2
Definition: CbmAnaConversion.h:209
CbmAnaConversion::GetNofEvents
int GetNofEvents()
Definition: CbmAnaConversion.cxx:2135
CbmAnaConversion::fhPi0_Reco_noRichInd_chi_vs_pt_eRest
TH2D * fhPi0_Reco_noRichInd_chi_vs_pt_eRest
Definition: CbmAnaConversion.h:333
CbmAnaConversion::fhRho_theta_vs_rap
TH2D * fhRho_theta_vs_rap
Definition: CbmAnaConversion.h:173
CbmAnaConversion::fRichRings
TClonesArray * fRichRings
Definition: CbmAnaConversion.h:201
CbmAnaConversion::fTestTracklist_noRichInd_momentum
std::vector< TVector3 > fTestTracklist_noRichInd_momentum
Definition: CbmAnaConversion.h:290
CbmAnaConversion::DoPhotons2
Int_t DoPhotons2
Definition: CbmAnaConversion.h:140
CbmAnaConversion::fhOmega_theta_vs_rap
TH2D * fhOmega_theta_vs_rap
Definition: CbmAnaConversion.h:177
CbmAnaConversionRich.h
CbmAnaConversion::fhPi0_theta
TH1D * fhPi0_theta
Definition: CbmAnaConversion.h:164
CbmAnaConversionPhotons
Definition: CbmAnaConversionPhotons.h:40
CbmAnaConversion::fhPi0_z_cut
TH1D * fhPi0_z_cut
Definition: CbmAnaConversion.h:161
CbmAnaConversion::fMCTracklist_all
std::vector< CbmMCTrack * > fMCTracklist_all
Definition: CbmAnaConversion.h:271
CbmAnaConversion::particlecounter_3daughters
Int_t particlecounter_3daughters
Definition: CbmAnaConversion.h:232
CbmAnaConversionTest
Definition: CbmAnaConversionTest.h:29
CbmAnaConversion::particlecounter_2daughters
Int_t particlecounter_2daughters
Definition: CbmAnaConversion.h:231
CbmAnaConversionRecoFull.h
CbmKFVertex.h
CbmAnaConversionRecoFull
Definition: CbmAnaConversionRecoFull.h:29
CbmAnaConversion::CbmAnaConversion
CbmAnaConversion(const CbmAnaConversion &)
Copy constructor.
CbmAnaConversion::fRecoTracklistEPEM_id
std::vector< int > fRecoTracklistEPEM_id
Definition: CbmAnaConversion.h:275
CbmAnaConversion::fTestTracklist
std::vector< CbmMCTrack * > fTestTracklist
Definition: CbmAnaConversion.h:281
CbmLmvmKinematicParams
Definition: CbmLmvmKinematicParams.h:17
CbmAnaConversionReco
Definition: CbmAnaConversionReco.h:28
CbmAnaConversion::fhPi0_Reco_ndf_vs_startvertex
TH2D * fhPi0_Reco_ndf_vs_startvertex
Definition: CbmAnaConversion.h:311
CbmAnaConversion::test
Int_t test
Definition: CbmAnaConversion.h:219
CbmAnaConversion::Invmass_4particles
Double_t Invmass_4particles(const CbmMCTrack *mctrack1, const CbmMCTrack *mctrack2, const CbmMCTrack *mctrack3, const CbmMCTrack *mctrack4)
Definition: CbmAnaConversion.cxx:1764
CbmAnaConversion::fAnaReco
CbmAnaConversionReco * fAnaReco
Definition: CbmAnaConversion.h:359
CbmAnaConversion::Invmass_4particlesRECO
Double_t Invmass_4particlesRECO(const TVector3 part1, const TVector3 part2, const TVector3 part3, const TVector3 part4)
Definition: CbmAnaConversion.cxx:1827
CbmAnaConversion::fTestTracklist_noRichInd_richInd
std::vector< int > fTestTracklist_noRichInd_richInd
Definition: CbmAnaConversion.h:292
CbmAnaConversion::fHistoList
std::vector< TH1 * > fHistoList
Definition: CbmAnaConversion.h:254
CbmAnaConversion::fTestTracklist_noRichInd
std::vector< CbmMCTrack * > fTestTracklist_noRichInd
Definition: CbmAnaConversion.h:288
CbmAnaConversion::AnalysePi0_MC
Bool_t AnalysePi0_MC(CbmMCTrack *mctrack, int i)
Definition: CbmAnaConversion.cxx:2183
CbmAnaConversion::fRichRingMatches
TClonesArray * fRichRingMatches
Definition: CbmAnaConversion.h:202
CbmKFVertex
Definition: CbmKFVertex.h:6
CbmAnaConversion::fhNofTracks_mctrack
TH1D * fhNofTracks_mctrack
Definition: CbmAnaConversion.h:180
CbmAnaConversion::fhInvariantMassReco_test3
TH1D * fhInvariantMassReco_test3
Definition: CbmAnaConversion.h:188
CbmLmvmKinematicParams.h
CbmAnaConversion::fhPdgCodes
TH1D * fhPdgCodes
Definition: CbmAnaConversion.h:144
CbmAnaConversion::fhNofPi0_perEvent_cut2
TH1D * fhNofPi0_perEvent_cut2
Definition: CbmAnaConversion.h:152
CbmAnaConversion::fAnaTest
CbmAnaConversionTest * fAnaTest
Definition: CbmAnaConversion.h:363
CbmAnaConversion::fhPi0_Reco_ndf_vs_nofhits
TH2D * fhPi0_Reco_ndf_vs_nofhits
Definition: CbmAnaConversion.h:324