CbmRoot
Loading...
Searching...
No Matches
CbmAnaConversionPhotons2.h
Go to the documentation of this file.
1/* Copyright (C) 2015-2016 Fakultaet fuer Mathematik und Naturwissenschaften, Bergische Universitaet Wuppertal, Wuppertal
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Sascha Reinecke [committer], Florian Uhlig */
4
13#ifndef CBM_ANA_CONVERSION_PHOTONS2
14#define CBM_ANA_CONVERSION_PHOTONS2
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 "CbmKFVertex.h"
26#include "CbmMCTrack.h"
27#include "CbmVertex.h"
28
29#include <vector>
30
32
33public:
36
37 void Init();
38 void InitHistos();
39 void Finish();
40 void Exec();
41
44
46
47
48private:
49 TClonesArray* fRichPoints;
50 TClonesArray* fRichRings;
51 TClonesArray* fRichRingMatches;
52 TClonesArray* fMcTracks;
53 TClonesArray* fStsTracks;
54 TClonesArray* fStsTrackMatches;
55 TClonesArray* fGlobalTracks;
58
59 std::vector<TH1*> fHistoList_photons; // list of all histograms related to rich rings
60 std::vector<TH1*> fHistoList_photons_withRICH; // list of all histograms related to rich rings
61 std::vector<TH1*> fHistoList_photons_withRICH_withChi; // list of all histograms related to rich rings
62 std::vector<TH1*> fHistoList_photons_withRICH_fromTarget; // list of all histograms related to rich rings
63
64 std::vector<Int_t> fRecoTracklist_gtIndex;
65 std::vector<Int_t> fRecoTracklist_mcIndex;
66 std::vector<TVector3> fRecoTracklist_momentum;
67 std::vector<Double_t> fRecoTracklist_chi;
68 std::vector<CbmMCTrack*> fRecoTracklist_mctrack;
69
72 std::vector<TVector3> fRecoTracklist_withRICH_momentum;
73 std::vector<Double_t> fRecoTracklist_withRICH_chi;
74 std::vector<CbmMCTrack*> fRecoTracklist_withRICH_mctrack;
75
76
77 // distribution of opening angles from reconstructed momenta
81
82 // distribution of opening angles from reconstructed momenta, with application of opening angle cuts
86
87 // histogram for comparison of different opening angle cuts and their influence on signal and background amounts
90
94
95
96 // distribution of invariant masses from reconstructed momenta
100
101 // distribution of invariant masses from reconstructed momenta with cut on opening angle
105
106 // opening angle vs pt from reconstructed data
110
111 // invariant mass vs pt from reconstructed data
115
116
117 // distribution of opening angles from reconstructed momenta, with RICH
121
122
123 // opening angle vs pt from reconstructed data, with RICH
127
128
129 // distribution of opening angles from reconstructed momenta, with RICH
133
134
135 // opening angle vs pt from reconstructed data, with RICH
139
140
141 // opening angle vs pt from reconstructed data, with RICH and with CHI-cut
154
155
156 // opening angle vs pt from reconstructed data, with RICH, from TARGET (z>1cm)
169
170
171 // crosscheck for full reco, or estimation of signal and background
172 std::vector<std::vector<int>> fVector_combinations;
174
175 // timer
176 TStopwatch timer;
177 Double_t fTime;
178
181
182 ClassDef(CbmAnaConversionPhotons2, 1)
183};
184
185#endif
std::vector< TH1 * > fHistoList_photons_withRICH
CbmAnaConversionPhotons2 operator=(const CbmAnaConversionPhotons2 &)
std::vector< Int_t > fRecoTracklist_mcIndex
std::vector< CbmMCTrack * > fRecoTracklist_withRICH_mctrack
std::vector< Double_t > fRecoTracklist_withRICH_chi
std::vector< TVector3 > fRecoTracklist_withRICH_momentum
std::vector< CbmMCTrack * > fRecoTracklist_mctrack
std::vector< TH1 * > fHistoList_photons_withRICH_withChi
std::vector< std::vector< int > > fVector_combinations
std::vector< Int_t > fRecoTracklist_gtIndex
CbmAnaConversionPhotons2(const CbmAnaConversionPhotons2 &)
std::vector< Double_t > fRecoTracklist_chi
std::vector< TH1 * > fHistoList_photons_withRICH_fromTarget
std::vector< TH1 * > fHistoList_photons
std::vector< TVector3 > fRecoTracklist_momentum
std::vector< Int_t > fRecoTracklist_withRICH_mcIndex
std::vector< Int_t > fRecoTracklist_withRICH_gtIndex