CbmRoot
CbmKresConversionGeneral.h
Go to the documentation of this file.
1 #ifndef CBM_KRES_CONVERSION_GENERAL
2 #define CBM_KRES_CONVERSION_GENERAL
3 
4 class TClonesArray;
5 class TH1;
6 class TH1D;
7 class TH2D;
8 class TH3D;
9 class TGraph;
10 class TProfile2D;
11 class CbmRichRingLight;
13 
14 #include "FairMCEventHeader.h"
15 
16 #include <TClonesArray.h>
17 #include <vector>
18 
19 
20 using namespace std;
21 
23 
24 public:
25  //***** brief Standard constructor.
27  //***** brief Standard destructor.
28  virtual ~CbmKresConversionGeneral();
29 
30 
31  void Init();
32  void InitHistograms();
33  void Exec(int fEventNumGen);
34  void Finish();
35 
36  void FitAndFillHistEllipse(CbmRichRingLight* ring);
37 
38 
39 private:
40  TClonesArray* fMcTracks;
41  TClonesArray* fGlobalTracks;
42  TClonesArray* fStsTracks;
43  TClonesArray* fStsTrackMatches;
44  TClonesArray* fRichPoints;
45  TClonesArray* fRichHits;
46  TClonesArray* fRichRings;
47  TClonesArray* fRichRingMatches;
48  TClonesArray* fRichProjections;
49  FairMCEventHeader* fArrayCentrality;
50 
52 
53  Double_t fMinAaxis;
54  Double_t fMaxAaxis;
55  Double_t fMinBaxis;
56  Double_t fMaxBaxis;
57  Double_t fMinRadius;
58  Double_t fMaxRadius;
59 
60  TH2D* fitt;
61  TGraph* imageellipse;
62  TGraph* imagehits;
63 
64 
65  // definition of histograms
66  vector<TH1*> fHistoList;
67  vector<TH1*> fHistoList_MC;
69  TH2D* AllPoints2D;
70  TH3D* AllPoints3D;
71  TH1D* MC_PdgCodes;
88  TH1D* MC_pi0_Pt;
94  TH1D* MC_pi0_theta;
95  TH1D* MC_pi0_phi;
103  TH1D* MC_eta_Pt;
108 
109  TProfile2D* BoA_electrons;
113  TProfile2D* A_electrons;
114  TProfile2D* B_electrons;
118  TProfile2D* dR2d_electrons;
119  TProfile2D* Distance_electron;
120  TProfile2D* Distance_positron;
121 
124 
125  TH3D* fhBoverAXYZ;
126  TH3D* fhBaxisXYZ;
127  TH3D* fhAaxisXYZ;
128  TH3D* fhdRXYZ;
129 
130  TH2D* Test_rings;
131 
134 
135  TH2D* AllHits2D;
136  TH3D* AllHits3D;
142 
143 
144  //***** brief Copy constructor.
146 
147  //***** brief Assignment operator.
149 
150 
151  ClassDef(CbmKresConversionGeneral, 1)
152 };
153 
154 #endif
CbmKresConversionGeneral::AllHitsPerPixel
TH2D * AllHitsPerPixel
Definition: CbmKresConversionGeneral.h:138
CbmKresConversionGeneral::MC_Direct_photons_Pt_vs_rap
TH2D * MC_Direct_photons_Pt_vs_rap
Definition: CbmKresConversionGeneral.h:83
CbmKresConversionGeneral::MC_pi0_theta_vs_rap
TH2D * MC_pi0_theta_vs_rap
Definition: CbmKresConversionGeneral.h:97
CbmKresConversionGeneral::MC_leptons_from_pi0_P
TH1D * MC_leptons_from_pi0_P
Definition: CbmKresConversionGeneral.h:102
CbmKresConversionGeneral::MC_eta_Pt
TH1D * MC_eta_Pt
Definition: CbmKresConversionGeneral.h:103
CbmKresConversionGeneral::MC_leptons_conversion_XZ
TH2D * MC_leptons_conversion_XZ
Definition: CbmKresConversionGeneral.h:100
CbmKresConversionGeneral::HitsPerPmtFullPlane
TH1D * HitsPerPmtFullPlane
Definition: CbmKresConversionGeneral.h:140
CbmKresConversionGeneral::fMinRadius
Double_t fMinRadius
Definition: CbmKresConversionGeneral.h:57
CbmRichRingFitterEllipseTau
Here the ring is fitted with Taubin algorithm from A. Ayriyan, G. Ososkov, N. Chernov.
Definition: CbmRichRingFitterEllipseTau.h:35
CbmKresConversionGeneral::MC_Direct_photons_theta_vs_rap
TH2D * MC_Direct_photons_theta_vs_rap
Definition: CbmKresConversionGeneral.h:82
CbmKresConversionGeneral::B_1d_electrons
TH1D * B_1d_electrons
Definition: CbmKresConversionGeneral.h:112
CbmKresConversionGeneral::fhdRXYZ
TH3D * fhdRXYZ
Definition: CbmKresConversionGeneral.h:128
CbmKresConversionGeneral::MC_All_photons_P
TH1D * MC_All_photons_P
Definition: CbmKresConversionGeneral.h:75
CbmKresConversionGeneral::Pi0_pt_vs_rap_est
TH2D * Pi0_pt_vs_rap_est
Definition: CbmKresConversionGeneral.h:92
CbmKresConversionGeneral::MC_Not_Direct_photons_P
TH1D * MC_Not_Direct_photons_P
Definition: CbmKresConversionGeneral.h:76
CbmKresConversionGeneral::MC_pi0_phi
TH1D * MC_pi0_phi
Definition: CbmKresConversionGeneral.h:95
CbmKresConversionGeneral::AllHits3D
TH3D * AllHits3D
Definition: CbmKresConversionGeneral.h:136
CbmKresConversionGeneral::fGlobalTracks
TClonesArray * fGlobalTracks
Definition: CbmKresConversionGeneral.h:41
CbmKresConversionGeneral::CbmKresConversionGeneral
CbmKresConversionGeneral(const CbmKresConversionGeneral &)
CbmKresConversionGeneral::MC_Direct_photons_theta
TH1D * MC_Direct_photons_theta
Definition: CbmKresConversionGeneral.h:81
CbmKresConversionGeneral::AllPoints3D
TH3D * AllPoints3D
Definition: CbmKresConversionGeneral.h:70
CbmKresConversionGeneral::MC_All_photons_Pt
TH1D * MC_All_photons_Pt
Definition: CbmKresConversionGeneral.h:72
CbmKresConversionGeneral::fMinAaxis
Double_t fMinAaxis
Definition: CbmKresConversionGeneral.h:53
CbmKresConversionGeneral::MC_eta_Pt_vs_rap_primary
TH2D * MC_eta_Pt_vs_rap_primary
Definition: CbmKresConversionGeneral.h:105
CbmKresConversionGeneral::MC_Reconstructed_electrons_Pt_vs_rap_est
TH2D * MC_Reconstructed_electrons_Pt_vs_rap_est
Definition: CbmKresConversionGeneral.h:86
CbmKresConversionGeneral::MC_eta_theta
TH1D * MC_eta_theta
Definition: CbmKresConversionGeneral.h:106
CbmKresConversionGeneral::fitt
TH2D * fitt
Definition: CbmKresConversionGeneral.h:60
CbmKresConversionGeneral::MC_Not_Direct_photons_theta_vs_rap
TH2D * MC_Not_Direct_photons_theta_vs_rap
Definition: CbmKresConversionGeneral.h:80
CbmKresConversionGeneral::Distance_electron
TProfile2D * Distance_electron
Definition: CbmKresConversionGeneral.h:119
CbmKresConversionGeneral::BoA_1d_electrons
TH1D * BoA_1d_electrons
Definition: CbmKresConversionGeneral.h:110
CbmKresConversionGeneral::dR_electrons
TH1D * dR_electrons
Definition: CbmKresConversionGeneral.h:117
CbmKresConversionGeneral::AllPointsPerPixel
TH2D * AllPointsPerPixel
Definition: CbmKresConversionGeneral.h:133
CbmKresConversionGeneral::fArrayCentrality
FairMCEventHeader * fArrayCentrality
Definition: CbmKresConversionGeneral.h:49
CbmKresConversionGeneral::fRichHits
TClonesArray * fRichHits
Definition: CbmKresConversionGeneral.h:45
CbmKresConversionGeneral::MC_pi0_Rapidity
TH1D * MC_pi0_Rapidity
Definition: CbmKresConversionGeneral.h:96
CbmKresConversionGeneral::fStsTracks
TClonesArray * fStsTracks
Definition: CbmKresConversionGeneral.h:42
CbmKresConversionGeneral::fhBaxisXYZ
TH3D * fhBaxisXYZ
Definition: CbmKresConversionGeneral.h:126
CbmKresConversionGeneral::ForChristian_P_vs_R
TH2D * ForChristian_P_vs_R
Definition: CbmKresConversionGeneral.h:68
CbmKresConversionGeneral::operator=
CbmKresConversionGeneral operator=(const CbmKresConversionGeneral &)
CbmKresConversionGeneral::fRichPoints
TClonesArray * fRichPoints
Definition: CbmKresConversionGeneral.h:44
CbmKresConversionGeneral::Tracks_electrons
TH1D * Tracks_electrons
Definition: CbmKresConversionGeneral.h:122
CbmKresConversionGeneral::fRichRings
TClonesArray * fRichRings
Definition: CbmKresConversionGeneral.h:46
CbmKresConversionGeneral
Definition: CbmKresConversionGeneral.h:22
CbmKresConversionGeneral::fStsTrackMatches
TClonesArray * fStsTrackMatches
Definition: CbmKresConversionGeneral.h:43
CbmKresConversionGeneral::fMinBaxis
Double_t fMinBaxis
Definition: CbmKresConversionGeneral.h:55
CbmKresConversionGeneral::MC_eta_Pt_vs_rap
TH2D * MC_eta_Pt_vs_rap
Definition: CbmKresConversionGeneral.h:104
CbmKresConversionGeneral::AllHits_electrons
TH2D * AllHits_electrons
Definition: CbmKresConversionGeneral.h:116
CbmKresConversionGeneral::imagehits
TGraph * imagehits
Definition: CbmKresConversionGeneral.h:62
CbmKresConversionGeneral::MC_omega_Pt_vs_rap_est
TH2D * MC_omega_Pt_vs_rap_est
Definition: CbmKresConversionGeneral.h:87
CbmKresConversionGeneral::Pi0_pt_vs_rap_est_primary
TH2D * Pi0_pt_vs_rap_est_primary
Definition: CbmKresConversionGeneral.h:93
CbmKresConversionGeneral::fhBoverAXYZ
TH3D * fhBoverAXYZ
Definition: CbmKresConversionGeneral.h:125
CbmKresConversionGeneral::HitsPerPmtFullMiddle
TH1D * HitsPerPmtFullMiddle
Definition: CbmKresConversionGeneral.h:141
CbmKresConversionGeneral::fRichProjections
TClonesArray * fRichProjections
Definition: CbmKresConversionGeneral.h:48
CbmKresConversionGeneral::temporarygraph
TH2D * temporarygraph
Definition: CbmKresConversionGeneral.h:139
CbmKresConversionGeneral::MC_Not_Direct_photons_Pt
TH1D * MC_Not_Direct_photons_Pt
Definition: CbmKresConversionGeneral.h:73
CbmKresConversionGeneral::Test_rings
TH2D * Test_rings
Definition: CbmKresConversionGeneral.h:130
CbmKresConversionGeneral::MC_leptons_from_pi0_start_vertex
TH2D * MC_leptons_from_pi0_start_vertex
Definition: CbmKresConversionGeneral.h:101
CbmKresConversionGeneral::MC_pi0_Pt_est
TH1D * MC_pi0_Pt_est
Definition: CbmKresConversionGeneral.h:89
CbmKresConversionGeneral::MC_pi0_Pt_vs_rap
TH2D * MC_pi0_Pt_vs_rap
Definition: CbmKresConversionGeneral.h:90
CbmKresConversionGeneral::fhAaxisXYZ
TH3D * fhAaxisXYZ
Definition: CbmKresConversionGeneral.h:127
CbmKresConversionGeneral::MC_Direct_photons_Pt
TH1D * MC_Direct_photons_Pt
Definition: CbmKresConversionGeneral.h:74
CbmKresConversionGeneral::MC_electrons_Pt_vs_rap_est
TH2D * MC_electrons_Pt_vs_rap_est
Definition: CbmKresConversionGeneral.h:85
CbmKresConversionGeneral::MC_leptons_conversion_ZY
TH2D * MC_leptons_conversion_ZY
Definition: CbmKresConversionGeneral.h:98
CbmKresConversionGeneral::AllHitsPerPMT
TH2D * AllHitsPerPMT
Definition: CbmKresConversionGeneral.h:137
CbmKresConversionGeneral::fTauFit
CbmRichRingFitterEllipseTau * fTauFit
Definition: CbmKresConversionGeneral.h:51
CbmKresConversionGeneral::MC_leptons_conversion_XY
TH2D * MC_leptons_conversion_XY
Definition: CbmKresConversionGeneral.h:99
CbmKresConversionGeneral::fMcTracks
TClonesArray * fMcTracks
Definition: CbmKresConversionGeneral.h:40
CbmKresConversionGeneral::NumberOfRings_electrons
TH2D * NumberOfRings_electrons
Definition: CbmKresConversionGeneral.h:115
CbmKresConversionGeneral::fMaxRadius
Double_t fMaxRadius
Definition: CbmKresConversionGeneral.h:58
CbmKresConversionGeneral::dR2d_electrons
TProfile2D * dR2d_electrons
Definition: CbmKresConversionGeneral.h:118
CbmKresConversionGeneral::AllPoints2D
TH2D * AllPoints2D
Definition: CbmKresConversionGeneral.h:69
CbmKresConversionGeneral::A_1d_electrons
TH1D * A_1d_electrons
Definition: CbmKresConversionGeneral.h:111
CbmKresConversionGeneral::imageellipse
TGraph * imageellipse
Definition: CbmKresConversionGeneral.h:61
CbmKresConversionGeneral::MC_eta_theta_vs_rap
TH2D * MC_eta_theta_vs_rap
Definition: CbmKresConversionGeneral.h:107
CbmKresConversionGeneral::fRichRingMatches
TClonesArray * fRichRingMatches
Definition: CbmKresConversionGeneral.h:47
CbmKresConversionGeneral::AllHits2D
TH2D * AllHits2D
Definition: CbmKresConversionGeneral.h:135
CbmKresConversionGeneral::B_electrons
TProfile2D * B_electrons
Definition: CbmKresConversionGeneral.h:114
CbmKresConversionGeneral::Rings_electrons
TH1D * Rings_electrons
Definition: CbmKresConversionGeneral.h:123
CbmKresConversionGeneral::MC_photons_mother_Pdg
TH1D * MC_photons_mother_Pdg
Definition: CbmKresConversionGeneral.h:78
CbmKresConversionGeneral::MC_pi0_Pt_vs_rap_primary
TH2D * MC_pi0_Pt_vs_rap_primary
Definition: CbmKresConversionGeneral.h:91
CbmKresConversionGeneral::fMaxBaxis
Double_t fMaxBaxis
Definition: CbmKresConversionGeneral.h:56
CbmKresConversionGeneral::Distance_positron
TProfile2D * Distance_positron
Definition: CbmKresConversionGeneral.h:120
CbmKresConversionGeneral::MC_Not_Direct_photons_theta
TH1D * MC_Not_Direct_photons_theta
Definition: CbmKresConversionGeneral.h:79
CbmKresConversionGeneral::MC_PdgCodes
TH1D * MC_PdgCodes
Definition: CbmKresConversionGeneral.h:71
CbmKresConversionGeneral::MC_Direct_photons_P
TH1D * MC_Direct_photons_P
Definition: CbmKresConversionGeneral.h:77
CbmKresConversionGeneral::BoA_electrons
TProfile2D * BoA_electrons
Definition: CbmKresConversionGeneral.h:109
CbmKresConversionGeneral::MC_pi0_Pt
TH1D * MC_pi0_Pt
Definition: CbmKresConversionGeneral.h:88
CbmKresConversionGeneral::fMaxAaxis
Double_t fMaxAaxis
Definition: CbmKresConversionGeneral.h:54
CbmRichRingLight
Definition: CbmRichRingLight.h:39
CbmKresConversionGeneral::A_electrons
TProfile2D * A_electrons
Definition: CbmKresConversionGeneral.h:113
CbmKresConversionGeneral::MC_pi0_theta
TH1D * MC_pi0_theta
Definition: CbmKresConversionGeneral.h:94
CbmKresConversionGeneral::AllPointsPerPMT
TH2D * AllPointsPerPMT
Definition: CbmKresConversionGeneral.h:132
CbmKresConversionGeneral::MC_Direct_photons_Pt_vs_rap_est
TH2D * MC_Direct_photons_Pt_vs_rap_est
Definition: CbmKresConversionGeneral.h:84
CbmKresConversionGeneral::fHistoList
vector< TH1 * > fHistoList
Definition: CbmKresConversionGeneral.h:66
CbmKresConversionGeneral::fHistoList_MC
vector< TH1 * > fHistoList_MC
Definition: CbmKresConversionGeneral.h:67