CbmRoot
CbmAnaConversionTest2.h
Go to the documentation of this file.
1 
9 #ifndef CBM_ANA_CONVERSION_TEST2
10 #define CBM_ANA_CONVERSION_TEST2
11 
12 // included from ROOT
13 #include <TClonesArray.h>
14 #include <TH1.h>
15 #include <TH2.h>
16 #include <TH3.h>
17 #include <TStopwatch.h>
18 
19 // included from CbmRoot
20 #include "CbmGlobalTrack.h"
21 #include "CbmKFVertex.h"
22 #include "CbmLitGlobalElectronId.h"
23 #include "CbmLmvmKinematicParams.h"
24 #include "CbmMCTrack.h"
25 #include "CbmVertex.h"
26 
27 #include <vector>
28 
30 
31 public:
33  virtual ~CbmAnaConversionTest2();
34 
35  void Init();
36  void InitHistos();
37  void Finish();
38 
39  void Exec();
40 
43  Int_t NofDaughters(Int_t motherId);
44 
45 
46 private:
47  TClonesArray* fRichPoints;
48  TClonesArray* fRichRings;
49  TClonesArray* fRichRingMatches;
50  TClonesArray* fMcTracks;
51  TClonesArray* fStsTracks;
52  TClonesArray* fStsTrackMatches;
53  TClonesArray* fGlobalTracks;
56 
57  std::vector<TH1*>
58  fHistoList_test2; // list of all histograms related to rich rings
59 
60 
61  // arrays for CombinePhotons_STSonly()
67 
68 
69  // arrays for STS only analysis (i.e. signal only in STS is required, not necessarily in RICH)
70  std::vector<CbmGlobalTrack*> fVector_gt;
71  std::vector<TVector3> fVector_momenta;
72  std::vector<CbmMCTrack*> fVector_mctrack;
73  std::vector<int> fVector_gtIndex;
74  std::vector<int> fVector_richIndex;
75 
76 
83 
87 
91 
92 
99 
103 
104 
105  // further tests
113 
114 
117 
118  ClassDef(CbmAnaConversionTest2, 1)
119 };
120 
121 #endif
CbmAnaConversionTest2::fRichPoints
TClonesArray * fRichPoints
Definition: CbmAnaConversionTest2.h:47
CbmAnaConversionTest2::fhTest2_invmass_gee_mc
TH1D * fhTest2_invmass_gee_mc
Definition: CbmAnaConversionTest2.h:77
CbmAnaConversionTest2::fVector_gt
std::vector< CbmGlobalTrack * > fVector_gt
Definition: CbmAnaConversionTest2.h:70
CbmVertex.h
CbmAnaConversionTest2::fhTest2_2rich_pt_vs_rap_gee
TH2D * fhTest2_2rich_pt_vs_rap_gee
Definition: CbmAnaConversionTest2.h:100
CbmAnaConversionTest2::fhTest2_3rich_electrons_thetaVSp_missing
TH2D * fhTest2_3rich_electrons_thetaVSp_missing
Definition: CbmAnaConversionTest2.h:112
CbmAnaConversionTest2::fGlobalTracks
TClonesArray * fGlobalTracks
Definition: CbmAnaConversionTest2.h:53
CbmAnaConversionTest2::fhTest2_2rich_invmass_gg_mc
TH1D * fhTest2_2rich_invmass_gg_mc
Definition: CbmAnaConversionTest2.h:95
CbmAnaConversionTest2::fhTest2_invmass_RICHindex0
TH1D * fhTest2_invmass_RICHindex0
Definition: CbmAnaConversionTest2.h:62
CbmAnaConversionTest2::fhTest2_2rich_invmass_gee_refitted
TH1D * fhTest2_2rich_invmass_gee_refitted
Definition: CbmAnaConversionTest2.h:94
CbmAnaConversionTest2::fVector_mctrack
std::vector< CbmMCTrack * > fVector_mctrack
Definition: CbmAnaConversionTest2.h:72
CbmAnaConversionTest2::CbmAnaConversionTest2
CbmAnaConversionTest2(const CbmAnaConversionTest2 &)
CbmAnaConversionTest2::fhTest2_electrons_pt_vs_p_noRICH
TH2D * fhTest2_electrons_pt_vs_p_noRICH
Definition: CbmAnaConversionTest2.h:108
CbmAnaConversionTest2::fhTest2_electrons_pt_vs_p
TH2D * fhTest2_electrons_pt_vs_p
Definition: CbmAnaConversionTest2.h:106
CbmGlobalTrack.h
CbmAnaConversionTest2::fhTest2_3rich_electrons_theta_included
TH1D * fhTest2_3rich_electrons_theta_included
Definition: CbmAnaConversionTest2.h:109
CbmAnaConversionTest2::fVector_richIndex
std::vector< int > fVector_richIndex
Definition: CbmAnaConversionTest2.h:74
CbmAnaConversionTest2::fPrimVertex
CbmVertex * fPrimVertex
Definition: CbmAnaConversionTest2.h:54
CbmAnaConversionTest2::fhTest2_invmass_all_mc
TH1D * fhTest2_invmass_all_mc
Definition: CbmAnaConversionTest2.h:81
CbmAnaConversionTest2::fhTest2_startvertexElectrons_gg
TH1D * fhTest2_startvertexElectrons_gg
Definition: CbmAnaConversionTest2.h:89
CbmAnaConversionTest2::fKFVertex
CbmKFVertex fKFVertex
Definition: CbmAnaConversionTest2.h:55
CbmAnaConversionTest2::InvariantMassTest_3RICH
void InvariantMassTest_3RICH()
Definition: CbmAnaConversionTest2.cxx:556
CbmAnaConversionTest2::fhTest2_pt_vs_rap_gee
TH2D * fhTest2_pt_vs_rap_gee
Definition: CbmAnaConversionTest2.h:84
CbmAnaConversionTest2::fhTest2_invmass_RICHindex3
TH1D * fhTest2_invmass_RICHindex3
Definition: CbmAnaConversionTest2.h:65
CbmAnaConversionTest2::fhTest2_3rich_electrons_theta_missing
TH1D * fhTest2_3rich_electrons_theta_missing
Definition: CbmAnaConversionTest2.h:110
CbmAnaConversionTest2::fhTest2_pt_vs_rap_all
TH2D * fhTest2_pt_vs_rap_all
Definition: CbmAnaConversionTest2.h:86
CbmAnaConversionTest2::Finish
void Finish()
Definition: CbmAnaConversionTest2.cxx:429
CbmAnaConversionTest2::fhTest2_startvertexElectrons_gee
TH1D * fhTest2_startvertexElectrons_gee
Definition: CbmAnaConversionTest2.h:88
CbmAnaConversionTest2::Exec
void Exec()
Definition: CbmAnaConversionTest2.cxx:440
CbmAnaConversionTest2::InvariantMassTest_2RICH
void InvariantMassTest_2RICH()
Definition: CbmAnaConversionTest2.cxx:985
CbmAnaConversionTest2::fhTest2_invmass_gg_mc
TH1D * fhTest2_invmass_gg_mc
Definition: CbmAnaConversionTest2.h:79
CbmAnaConversionTest2::fhTest2_2rich_invmass_all_refitted
TH1D * fhTest2_2rich_invmass_all_refitted
Definition: CbmAnaConversionTest2.h:98
CbmAnaConversionTest2::InitHistos
void InitHistos()
Definition: CbmAnaConversionTest2.cxx:138
CbmAnaConversionTest2::fVector_gtIndex
std::vector< int > fVector_gtIndex
Definition: CbmAnaConversionTest2.h:73
CbmVertex
Definition: CbmVertex.h:26
CbmAnaConversionTest2::fHistoList_test2
std::vector< TH1 * > fHistoList_test2
Definition: CbmAnaConversionTest2.h:58
CbmAnaConversionTest2::CbmAnaConversionTest2
CbmAnaConversionTest2()
Definition: CbmAnaConversionTest2.cxx:31
CbmAnaConversionTest2::fMcTracks
TClonesArray * fMcTracks
Definition: CbmAnaConversionTest2.h:50
CbmAnaConversionTest2::fhTest2_3rich_electrons_thetaVSp_included
TH2D * fhTest2_3rich_electrons_thetaVSp_included
Definition: CbmAnaConversionTest2.h:111
CbmAnaConversionTest2::fhTest2_invmass_gg_refitted
TH1D * fhTest2_invmass_gg_refitted
Definition: CbmAnaConversionTest2.h:80
CbmAnaConversionTest2::fhTest2_invmass_RICHindex2
TH1D * fhTest2_invmass_RICHindex2
Definition: CbmAnaConversionTest2.h:64
CbmAnaConversionTest2::fhTest2_electrons_pt_vs_p_withRICH
TH2D * fhTest2_electrons_pt_vs_p_withRICH
Definition: CbmAnaConversionTest2.h:107
CbmAnaConversionTest2::fhTest2_2rich_invmass_gg_refitted
TH1D * fhTest2_2rich_invmass_gg_refitted
Definition: CbmAnaConversionTest2.h:96
CbmAnaConversionTest2::fRichRingMatches
TClonesArray * fRichRingMatches
Definition: CbmAnaConversionTest2.h:49
CbmAnaConversionTest2::~CbmAnaConversionTest2
virtual ~CbmAnaConversionTest2()
Definition: CbmAnaConversionTest2.cxx:81
CbmAnaConversionTest2::fStsTracks
TClonesArray * fStsTracks
Definition: CbmAnaConversionTest2.h:51
CbmAnaConversionTest2::fhTest2_invmass_all_refitted
TH1D * fhTest2_invmass_all_refitted
Definition: CbmAnaConversionTest2.h:82
CbmAnaConversionTest2::fhTest2_2rich_invmass_all_mc
TH1D * fhTest2_2rich_invmass_all_mc
Definition: CbmAnaConversionTest2.h:97
CbmAnaConversionTest2::fhTest2_2rich_pt_vs_rap_gg
TH2D * fhTest2_2rich_pt_vs_rap_gg
Definition: CbmAnaConversionTest2.h:101
CbmAnaConversionTest2::fhTest2_startvertexElectrons_all
TH1D * fhTest2_startvertexElectrons_all
Definition: CbmAnaConversionTest2.h:90
CbmAnaConversionTest2
Definition: CbmAnaConversionTest2.h:29
CbmAnaConversionTest2::fhTest2_invmass_gee_refitted
TH1D * fhTest2_invmass_gee_refitted
Definition: CbmAnaConversionTest2.h:78
CbmMCTrack.h
CbmAnaConversionTest2::fStsTrackMatches
TClonesArray * fStsTrackMatches
Definition: CbmAnaConversionTest2.h:52
CbmAnaConversionTest2::fhTest2_invmass_RICHindex4
TH1D * fhTest2_invmass_RICHindex4
Definition: CbmAnaConversionTest2.h:66
CbmAnaConversionTest2::fhTest2_pt_vs_rap_gg
TH2D * fhTest2_pt_vs_rap_gg
Definition: CbmAnaConversionTest2.h:85
CbmAnaConversionTest2::fRichRings
TClonesArray * fRichRings
Definition: CbmAnaConversionTest2.h:48
CbmLitGlobalElectronId.h
CbmAnaConversionTest2::fhTest2_invmass_RICHindex1
TH1D * fhTest2_invmass_RICHindex1
Definition: CbmAnaConversionTest2.h:63
CbmAnaConversionTest2::Init
void Init()
Definition: CbmAnaConversionTest2.cxx:84
CbmAnaConversionTest2::fhTest2_2rich_invmass_gee_mc
TH1D * fhTest2_2rich_invmass_gee_mc
Definition: CbmAnaConversionTest2.h:93
CbmKFVertex.h
CbmAnaConversionTest2::operator=
CbmAnaConversionTest2 operator=(const CbmAnaConversionTest2 &)
CbmAnaConversionTest2::NofDaughters
Int_t NofDaughters(Int_t motherId)
Definition: CbmAnaConversionTest2.cxx:1315
CbmAnaConversionTest2::fVector_momenta
std::vector< TVector3 > fVector_momenta
Definition: CbmAnaConversionTest2.h:71
CbmAnaConversionTest2::fhTest2_2rich_pt_vs_rap_all
TH2D * fhTest2_2rich_pt_vs_rap_all
Definition: CbmAnaConversionTest2.h:102
CbmKFVertex
Definition: CbmKFVertex.h:6
CbmLmvmKinematicParams.h