CbmRoot
CbmKresConversionReconstruction.h
Go to the documentation of this file.
1 #ifndef CBM_KRES_CONVERSION_RECONSTRUCTION
2 #define CBM_KRES_CONVERSION_RECONSTRUCTION
3 
4 
5 class TH1;
6 class TH1D;
7 class TH2D;
8 class TH3D;
9 
10 #include "CbmMCTrack.h"
11 #include <TClonesArray.h>
12 #include <vector>
13 
14 using namespace std;
15 
17 
18 public:
19  //***** brief Standard constructor.
21  //***** brief Standard destructor.
23 
24 
25  void Init();
26  void InitHistograms();
27  void Exec(int fEventNumRec);
28  void Finish();
29 
30  void MakeRecoAnalysis(vector<TVector3> RefMom,
31  vector<CbmMCTrack*> MC,
32  vector<Int_t> Id,
33  vector<TH1*> gg,
34  vector<TH1*> gee,
35  vector<TH1*> eeee);
36  Double_t CalculateOpeningAngleBetweenGammas_MC(CbmMCTrack* mctrack1,
37  CbmMCTrack* mctrack2,
38  CbmMCTrack* mctrack3,
39  CbmMCTrack* mctrack4);
40  Double_t CalculateOpeningAngleBetweenGammas_Reco(TVector3 electron1,
41  TVector3 electron2,
42  TVector3 electron3,
43  TVector3 electron4);
44 
45 
46 private:
47  TClonesArray* fMcTracks;
48  TClonesArray* fGlobalTracks;
49  TClonesArray* fStsTracks;
50  TClonesArray* fStsTrackMatches;
51  TClonesArray* fRichRings;
52  TClonesArray* fRichRingMatches;
53 
54  vector<TVector3> STS_refmomentum;
55  vector<CbmMCTrack*> STS_MCtrack;
56  vector<Int_t> STS_Id;
57 
58  vector<TVector3> STS_and_RICH_refmomentum;
59  vector<CbmMCTrack*> STS_and_RICH_MCtrack;
60  vector<Int_t> STS_and_RICH_Id;
61 
62  // definition of histograms
63  vector<TH1*> fHistoList_reco;
66 
67  vector<TH1*> fHistoList_reco_STS_gg;
73 
79 
89 
98 
107 
116 
117 
118  //***** brief Copy constructor.
120 
121  //***** brief Assignment operator.
124 
125 
127 };
128 
129 #endif
CbmKresConversionReconstruction::STS_InvMass_gg_mc
TH1D * STS_InvMass_gg_mc
Definition: CbmKresConversionReconstruction.h:99
CbmKresConversionReconstruction::STSRICH_InvMass_gg_reffited
TH1D * STSRICH_InvMass_gg_reffited
Definition: CbmKresConversionReconstruction.h:109
CbmKresConversionReconstruction::ConversionPoints3D
TH3D * ConversionPoints3D
Definition: CbmKresConversionReconstruction.h:65
CbmKresConversionReconstruction::STS_and_RICH_MCtrack
vector< CbmMCTrack * > STS_and_RICH_MCtrack
Definition: CbmKresConversionReconstruction.h:59
CbmKresConversionReconstruction::STS_InvMass_realg_gg_reffited
TH1D * STS_InvMass_realg_gg_reffited
Definition: CbmKresConversionReconstruction.h:102
CbmKresConversionReconstruction::STSRICH_InvMass_img_gee_refitted
TH1D * STSRICH_InvMass_img_gee_refitted
Definition: CbmKresConversionReconstruction.h:93
CbmKresConversionReconstruction::STSRICH_OpeningAngle_realg_gg_reffited
TH1D * STSRICH_OpeningAngle_realg_gg_reffited
Definition: CbmKresConversionReconstruction.h:113
CbmKresConversionReconstruction::STS_OpeningAngle_realg_gg_reffited
TH1D * STS_OpeningAngle_realg_gg_reffited
Definition: CbmKresConversionReconstruction.h:104
CbmKresConversionReconstruction
Definition: CbmKresConversionReconstruction.h:16
CbmKresConversionReconstruction::STSRICH_InvMass_realg_gg_reffited
TH1D * STSRICH_InvMass_realg_gg_reffited
Definition: CbmKresConversionReconstruction.h:111
CbmKresConversionReconstruction::ConversionPoints2D
TH2D * ConversionPoints2D
Definition: CbmKresConversionReconstruction.h:64
CbmKresConversionReconstruction::fHistoList_reco_STS_and_RICH_gg
vector< TH1 * > fHistoList_reco_STS_and_RICH_gg
Definition: CbmKresConversionReconstruction.h:68
CbmKresConversionReconstruction::STS_InvMass_eeee_refitted
TH1D * STS_InvMass_eeee_refitted
Definition: CbmKresConversionReconstruction.h:76
CbmKresConversionReconstruction::STS_InvMass_realg_gee_reffited
TH1D * STS_InvMass_realg_gee_reffited
Definition: CbmKresConversionReconstruction.h:83
CbmKresConversionReconstruction::STS_OpeningAngle_img_gee_mc
TH1D * STS_OpeningAngle_img_gee_mc
Definition: CbmKresConversionReconstruction.h:87
CbmKresConversionReconstruction::STS_Id
vector< Int_t > STS_Id
Definition: CbmKresConversionReconstruction.h:56
CbmKresConversionReconstruction::STS_OpeningAngle_between_gg_reffited
TH1D * STS_OpeningAngle_between_gg_reffited
Definition: CbmKresConversionReconstruction.h:106
CbmKresConversionReconstruction::fHistoList_reco_STS_gee
vector< TH1 * > fHistoList_reco_STS_gee
Definition: CbmKresConversionReconstruction.h:69
CbmKresConversionReconstruction::fHistoList_reco_STS_gg
vector< TH1 * > fHistoList_reco_STS_gg
Definition: CbmKresConversionReconstruction.h:67
CbmKresConversionReconstruction::fRichRings
TClonesArray * fRichRings
Definition: CbmKresConversionReconstruction.h:51
CbmKresConversionReconstruction::STSRICH_OpeningAngle_between_gg_mc
TH1D * STSRICH_OpeningAngle_between_gg_mc
Definition: CbmKresConversionReconstruction.h:114
CbmKresConversionReconstruction::STS_and_RICH_refmomentum
vector< TVector3 > STS_and_RICH_refmomentum
Definition: CbmKresConversionReconstruction.h:58
CbmKresConversionReconstruction::fHistoList_reco_STS_eeee
vector< TH1 * > fHistoList_reco_STS_eeee
Definition: CbmKresConversionReconstruction.h:71
CbmKresConversionReconstruction::fStsTracks
TClonesArray * fStsTracks
Definition: CbmKresConversionReconstruction.h:49
CbmKresConversionReconstruction::fGlobalTracks
TClonesArray * fGlobalTracks
Definition: CbmKresConversionReconstruction.h:48
CbmKresConversionReconstruction::STSRICH_OpeningAngle_img_gee_reffited
TH1D * STSRICH_OpeningAngle_img_gee_reffited
Definition: CbmKresConversionReconstruction.h:97
CbmKresConversionReconstruction::STS_OpeningAngle_img_gee_reffited
TH1D * STS_OpeningAngle_img_gee_reffited
Definition: CbmKresConversionReconstruction.h:88
CbmKresConversionReconstruction::STSRICH_OpeningAngle_img_gee_mc
TH1D * STSRICH_OpeningAngle_img_gee_mc
Definition: CbmKresConversionReconstruction.h:96
CbmKresConversionReconstruction::STSRICH_OpeningAngle_realg_gg_mc
TH1D * STSRICH_OpeningAngle_realg_gg_mc
Definition: CbmKresConversionReconstruction.h:112
CbmKresConversionReconstruction::STSRICH_InvMass_eeee_refitted
TH1D * STSRICH_InvMass_eeee_refitted
Definition: CbmKresConversionReconstruction.h:78
CbmKresConversionReconstruction::STSRICH_InvMass_eeee_mc
TH1D * STSRICH_InvMass_eeee_mc
Definition: CbmKresConversionReconstruction.h:77
CbmKresConversionReconstruction::STS_InvMass_realg_gg_mc
TH1D * STS_InvMass_realg_gg_mc
Definition: CbmKresConversionReconstruction.h:101
CbmKresConversionReconstruction::STSRICH_OpeningAngle_realg_gee_reffited
TH1D * STSRICH_OpeningAngle_realg_gee_reffited
Definition: CbmKresConversionReconstruction.h:95
CbmKresConversionReconstruction::STS_InvMass_gg_reffited
TH1D * STS_InvMass_gg_reffited
Definition: CbmKresConversionReconstruction.h:100
CbmKresConversionReconstruction::STSRICH_InvMass_realg_gee_reffited
TH1D * STSRICH_InvMass_realg_gee_reffited
Definition: CbmKresConversionReconstruction.h:92
CbmKresConversionReconstruction::STS_OpeningAngle_realg_gee_mc
TH1D * STS_OpeningAngle_realg_gee_mc
Definition: CbmKresConversionReconstruction.h:85
CbmKresConversionReconstruction::STS_OpeningAngle_realg_gg_mc
TH1D * STS_OpeningAngle_realg_gg_mc
Definition: CbmKresConversionReconstruction.h:103
CbmKresConversionReconstruction::fHistoList_reco_STS_and_RICH_eeee
vector< TH1 * > fHistoList_reco_STS_and_RICH_eeee
Definition: CbmKresConversionReconstruction.h:72
CbmKresConversionReconstruction::STS_InvMass_gee_refitted
TH1D * STS_InvMass_gee_refitted
Definition: CbmKresConversionReconstruction.h:82
CbmKresConversionReconstruction::fMcTracks
TClonesArray * fMcTracks
Definition: CbmKresConversionReconstruction.h:47
CbmKresConversionReconstruction::STSRICH_InvMass_gee_mc
TH1D * STSRICH_InvMass_gee_mc
Definition: CbmKresConversionReconstruction.h:90
CbmMCTrack.h
CbmKresConversionReconstruction::STS_InvMass_eeee_mc
TH1D * STS_InvMass_eeee_mc
Definition: CbmKresConversionReconstruction.h:75
CbmKresConversionReconstruction::operator=
CbmKresConversionReconstruction operator=(const CbmKresConversionReconstruction &)
CbmMCTrack
Definition: CbmMCTrack.h:34
CbmKresConversionReconstruction::fHistoList_reco_STS_and_RICH_gee
vector< TH1 * > fHistoList_reco_STS_and_RICH_gee
Definition: CbmKresConversionReconstruction.h:70
CbmKresConversionReconstruction::STSRICH_InvMass_gee_refitted
TH1D * STSRICH_InvMass_gee_refitted
Definition: CbmKresConversionReconstruction.h:91
CbmKresConversionReconstruction::CbmKresConversionReconstruction
CbmKresConversionReconstruction(const CbmKresConversionReconstruction &)
CbmKresConversionReconstruction::fRichRingMatches
TClonesArray * fRichRingMatches
Definition: CbmKresConversionReconstruction.h:52
CbmKresConversionReconstruction::STSRICH_InvMass_realg_gg_mc
TH1D * STSRICH_InvMass_realg_gg_mc
Definition: CbmKresConversionReconstruction.h:110
CbmKresConversionReconstruction::STS_MCtrack
vector< CbmMCTrack * > STS_MCtrack
Definition: CbmKresConversionReconstruction.h:55
CbmKresConversionReconstruction::STS_refmomentum
vector< TVector3 > STS_refmomentum
Definition: CbmKresConversionReconstruction.h:54
CbmKresConversionReconstruction::STS_InvMass_gee_mc
TH1D * STS_InvMass_gee_mc
Definition: CbmKresConversionReconstruction.h:81
CbmKresConversionReconstruction::fHistoList_reco
vector< TH1 * > fHistoList_reco
Definition: CbmKresConversionReconstruction.h:63
CbmKresConversionReconstruction::STSRICH_OpeningAngle_realg_gee_mc
TH1D * STSRICH_OpeningAngle_realg_gee_mc
Definition: CbmKresConversionReconstruction.h:94
CbmKresConversionReconstruction::fStsTrackMatches
TClonesArray * fStsTrackMatches
Definition: CbmKresConversionReconstruction.h:50
CbmKresConversionReconstruction::STS_InvMass_img_gee_refitted
TH1D * STS_InvMass_img_gee_refitted
Definition: CbmKresConversionReconstruction.h:84
CbmKresConversionReconstruction::STS_and_RICH_Id
vector< Int_t > STS_and_RICH_Id
Definition: CbmKresConversionReconstruction.h:60
CbmKresConversionReconstruction::STS_OpeningAngle_between_gg_mc
TH1D * STS_OpeningAngle_between_gg_mc
Definition: CbmKresConversionReconstruction.h:105
CbmKresConversionReconstruction::STSRICH_InvMass_gg_mc
TH1D * STSRICH_InvMass_gg_mc
Definition: CbmKresConversionReconstruction.h:108
CbmKresConversionReconstruction::STS_OpeningAngle_realg_gee_reffited
TH1D * STS_OpeningAngle_realg_gee_reffited
Definition: CbmKresConversionReconstruction.h:86
CbmKresConversionReconstruction::STSRICH_OpeningAngle_between_gg_reffited
TH1D * STSRICH_OpeningAngle_between_gg_reffited
Definition: CbmKresConversionReconstruction.h:115