CbmRoot
CbmAnaConversionTomography.h
Go to the documentation of this file.
1 
13 #ifndef CBM_ANA_CONVERSION_TOMOGRAPHY
14 #define CBM_ANA_CONVERSION_TOMOGRAPHY
15 
16 // included from ROOT
17 #include <TClonesArray.h>
18 #include <TH1.h>
19 #include <TH2.h>
20 #include <TH3.h>
21 #include <TStopwatch.h>
22 
23 // included from CbmRoot
24 #include "CbmMCTrack.h"
25 
26 #include <vector>
27 
29 
30 public:
33 
34  void Init();
35  void InitHistos();
36  void Finish();
37 
38  void Exec();
39 
40  void TomographyMC(int electronID);
41  void TomographyReco(CbmMCTrack* mctrack);
42  Bool_t GetNPoints(CbmMCTrack* mctrack);
43 
44 
45 private:
46  TClonesArray* fMcTracks;
47 
48  std::vector<TH1*> fHistoList_tomography; // list of all histograms
49 
50 
51  TH1D* fhGammaZ;
52  TH3D* fhTomography;
55  //TH2D * fhTomography_XZ_cut;
56  //TH2D * fhTomography_YZ_cut;
64 
65  TH1D* fhConversion;
72 
73 
78 
79  std::vector<int> electronIDs;
80  std::vector<int> electronMotherIDs;
82  [5]; // 0 = magnet, 1 = sts, 2 = rich, 3 = trd, 4 = tof
83  //Int_t conversionsInDetector_cut[5]; // 0 = magnet, 1 = sts, 2 = rich, 3 = trd, 4 = tof
86  //TH2I * fhConversionsPerDetectorPE_cut;
87 
88  // timer
89  TStopwatch timer;
90  Double_t fTime;
91 
94 
95  ClassDef(CbmAnaConversionTomography, 1)
96 };
97 
98 #endif
CbmAnaConversionTomography::fhGammaZ
TH1D * fhGammaZ
Definition: CbmAnaConversionTomography.h:51
CbmAnaConversionTomography::fhTomography_YZ
TH2D * fhTomography_YZ
Definition: CbmAnaConversionTomography.h:54
CbmAnaConversionTomography::fhConversion_cut
TH1D * fhConversion_cut
Definition: CbmAnaConversionTomography.h:66
CbmAnaConversionTomography::fhTomography_RICH_complete
TH2D * fhTomography_RICH_complete
Definition: CbmAnaConversionTomography.h:58
CbmAnaConversionTomography::TomographyMC
void TomographyMC(int electronID)
Definition: CbmAnaConversionTomography.cxx:446
CbmAnaConversionTomography::electronMotherIDs
std::vector< int > electronMotherIDs
Definition: CbmAnaConversionTomography.h:80
CbmAnaConversionTomography::operator=
CbmAnaConversionTomography operator=(const CbmAnaConversionTomography &)
CbmAnaConversionTomography::fhConversionsPerDetectorPE
TH2I * fhConversionsPerDetectorPE
Definition: CbmAnaConversionTomography.h:85
CbmAnaConversionTomography::fhTomography_STS_end
TH2D * fhTomography_STS_end
Definition: CbmAnaConversionTomography.h:60
CbmAnaConversionTomography
Definition: CbmAnaConversionTomography.h:28
CbmAnaConversionTomography::fhTomography_reco
TH3D * fhTomography_reco
Definition: CbmAnaConversionTomography.h:74
CbmAnaConversionTomography::fhConversion_energy
TH1D * fhConversion_energy
Definition: CbmAnaConversionTomography.h:69
CbmAnaConversionTomography::fhConversion_vs_momentum
TH2D * fhConversion_vs_momentum
Definition: CbmAnaConversionTomography.h:71
CbmAnaConversionTomography::fhTomography_reco_XZ
TH2D * fhTomography_reco_XZ
Definition: CbmAnaConversionTomography.h:75
CbmAnaConversionTomography::conversionsInDetector
Int_t conversionsInDetector[5]
Definition: CbmAnaConversionTomography.h:82
CbmAnaConversionTomography::~CbmAnaConversionTomography
virtual ~CbmAnaConversionTomography()
Definition: CbmAnaConversionTomography.cxx:60
CbmAnaConversionTomography::fHistoList_tomography
std::vector< TH1 * > fHistoList_tomography
Definition: CbmAnaConversionTomography.h:48
CbmAnaConversionTomography::electronIDs
std::vector< int > electronIDs
Definition: CbmAnaConversionTomography.h:79
CbmAnaConversionTomography::Init
void Init()
Definition: CbmAnaConversionTomography.cxx:63
CbmAnaConversionTomography::fhTomography_RICH_frontplate
TH2D * fhTomography_RICH_frontplate
Definition: CbmAnaConversionTomography.h:62
CbmAnaConversionTomography::fhTomography_STS_lastStation
TH2D * fhTomography_STS_lastStation
Definition: CbmAnaConversionTomography.h:61
CbmAnaConversionTomography::fMcTracks
TClonesArray * fMcTracks
Definition: CbmAnaConversionTomography.h:46
CbmAnaConversionTomography::fhTomography_RICH_backplate
TH2D * fhTomography_RICH_backplate
Definition: CbmAnaConversionTomography.h:63
CbmAnaConversionTomography::timer
TStopwatch timer
Definition: CbmAnaConversionTomography.h:89
CbmAnaConversionTomography::Exec
void Exec()
Definition: CbmAnaConversionTomography.cxx:317
CbmAnaConversionTomography::GetNPoints
Bool_t GetNPoints(CbmMCTrack *mctrack)
Definition: CbmAnaConversionTomography.cxx:570
CbmAnaConversionTomography::fhConversion
TH1D * fhConversion
Definition: CbmAnaConversionTomography.h:65
CbmAnaConversionTomography::fhConversion_p
TH1D * fhConversion_p
Definition: CbmAnaConversionTomography.h:70
CbmMCTrack.h
CbmAnaConversionTomography::TomographyReco
void TomographyReco(CbmMCTrack *mctrack)
Definition: CbmAnaConversionTomography.cxx:541
CbmAnaConversionTomography::fhConversion_inSTS
TH1D * fhConversion_inSTS
Definition: CbmAnaConversionTomography.h:67
CbmMCTrack
Definition: CbmMCTrack.h:34
CbmAnaConversionTomography::fhConversion_reco
TH1D * fhConversion_reco
Definition: CbmAnaConversionTomography.h:77
CbmAnaConversionTomography::fhConversionsPerDetector
TH1I * fhConversionsPerDetector
Definition: CbmAnaConversionTomography.h:84
CbmAnaConversionTomography::fhTomography_reco_YZ
TH2D * fhTomography_reco_YZ
Definition: CbmAnaConversionTomography.h:76
CbmAnaConversionTomography::fhTomography_uptoRICH
TH2D * fhTomography_uptoRICH
Definition: CbmAnaConversionTomography.h:57
CbmAnaConversionTomography::fTime
Double_t fTime
Definition: CbmAnaConversionTomography.h:90
CbmAnaConversionTomography::Finish
void Finish()
Definition: CbmAnaConversionTomography.cxx:304
CbmAnaConversionTomography::fhTomography_RICH_beampipe
TH2D * fhTomography_RICH_beampipe
Definition: CbmAnaConversionTomography.h:59
CbmAnaConversionTomography::fhTomography
TH3D * fhTomography
Definition: CbmAnaConversionTomography.h:52
CbmAnaConversionTomography::fhTomography_XZ
TH2D * fhTomography_XZ
Definition: CbmAnaConversionTomography.h:53
CbmAnaConversionTomography::CbmAnaConversionTomography
CbmAnaConversionTomography()
Definition: CbmAnaConversionTomography.cxx:23
CbmAnaConversionTomography::fhConversion_prob
TH1D * fhConversion_prob
Definition: CbmAnaConversionTomography.h:68
CbmAnaConversionTomography::CbmAnaConversionTomography
CbmAnaConversionTomography(const CbmAnaConversionTomography &)
CbmAnaConversionTomography::InitHistos
void InitHistos()
Definition: CbmAnaConversionTomography.cxx:79