CbmRoot
Loading...
Searching...
No Matches
CbmKresConversionReconstruction.h
Go to the documentation of this file.
1/* Copyright (C) 2020 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Florian Uhlig [committer] */
4
5#ifndef CBM_KRES_CONVERSION_RECONSTRUCTION
6#define CBM_KRES_CONVERSION_RECONSTRUCTION
7
8
9class TH1;
10class TH1D;
11class TH2D;
12class TH3D;
13
14#include "CbmMCTrack.h"
15
16#include <TClonesArray.h>
17
18#include <vector>
19
20using namespace std;
21
23
24public:
25 //***** brief Standard constructor.
27 //***** brief Standard destructor.
29
30
31 void Init();
32 void InitHistograms();
33 void Exec(int fEventNumRec);
34 void Finish();
35
36 void MakeRecoAnalysis(vector<TVector3> RefMom, vector<CbmMCTrack*> MC, vector<Int_t> Id, vector<TH1*> gg,
37 vector<TH1*> gee, vector<TH1*> eeee);
38 Double_t CalculateOpeningAngleBetweenGammas_MC(CbmMCTrack* mctrack1, CbmMCTrack* mctrack2, CbmMCTrack* mctrack3,
39 CbmMCTrack* mctrack4);
40 Double_t CalculateOpeningAngleBetweenGammas_Reco(TVector3 electron1, TVector3 electron2, TVector3 electron3,
41 TVector3 electron4);
42
43
44private:
45 TClonesArray* fMcTracks;
46 TClonesArray* fGlobalTracks;
47 TClonesArray* fStsTracks;
48 TClonesArray* fStsTrackMatches;
49 TClonesArray* fRichRings;
50 TClonesArray* fRichRingMatches;
51
52 vector<TVector3> STS_refmomentum;
53 vector<CbmMCTrack*> STS_MCtrack;
54 vector<Int_t> STS_Id;
55
56 vector<TVector3> STS_and_RICH_refmomentum;
57 vector<CbmMCTrack*> STS_and_RICH_MCtrack;
58 vector<Int_t> STS_and_RICH_Id;
59
60 // definition of histograms
61 vector<TH1*> fHistoList_reco;
64
71
77
87
96
105
114
115
116 //***** brief Copy constructor.
118
119 //***** brief Assignment operator.
121
122
124};
125
126#endif
CbmKresConversionReconstruction operator=(const CbmKresConversionReconstruction &)
Double_t CalculateOpeningAngleBetweenGammas_MC(CbmMCTrack *mctrack1, CbmMCTrack *mctrack2, CbmMCTrack *mctrack3, CbmMCTrack *mctrack4)
CbmKresConversionReconstruction(const CbmKresConversionReconstruction &)
void MakeRecoAnalysis(vector< TVector3 > RefMom, vector< CbmMCTrack * > MC, vector< Int_t > Id, vector< TH1 * > gg, vector< TH1 * > gee, vector< TH1 * > eeee)
Double_t CalculateOpeningAngleBetweenGammas_Reco(TVector3 electron1, TVector3 electron2, TVector3 electron3, TVector3 electron4)
Hash for CbmL1LinkKey.