CbmRoot
Loading...
Searching...
No Matches
CbmAnaConversionTest2.h
Go to the documentation of this file.
1/* Copyright (C) 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_TEST2
14#define CBM_ANA_CONVERSION_TEST2
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 "CbmGlobalTrack.h"
25#include "CbmKFVertex.h"
27#include "CbmMCTrack.h"
28#include "CbmVertex.h"
29
30#include <vector>
31
32#include "LmvmKinePar.h"
33
35
36public:
38 virtual ~CbmAnaConversionTest2();
39
40 void Init();
41 void InitHistos();
42 void Finish();
43
44 void Exec();
45
48 Int_t NofDaughters(Int_t motherId);
49
50
51private:
52 TClonesArray* fRichPoints;
53 TClonesArray* fRichRings;
54 TClonesArray* fRichRingMatches;
55 TClonesArray* fMcTracks;
56 TClonesArray* fStsTracks;
57 TClonesArray* fStsTrackMatches;
58 TClonesArray* fGlobalTracks;
61
62 std::vector<TH1*> fHistoList_test2; // list of all histograms related to rich rings
63
64
65 // arrays for CombinePhotons_STSonly()
71
72
73 // arrays for STS only analysis (i.e. signal only in STS is required, not necessarily in RICH)
74 std::vector<CbmGlobalTrack*> fVector_gt;
75 std::vector<TVector3> fVector_momenta;
76 std::vector<CbmMCTrack*> fVector_mctrack;
77 std::vector<int> fVector_gtIndex;
78 std::vector<int> fVector_richIndex;
79
80
87
91
95
96
103
107
108
109 // further tests
117
118
121
122 ClassDef(CbmAnaConversionTest2, 1)
123};
124
125#endif
std::vector< CbmGlobalTrack * > fVector_gt
std::vector< TVector3 > fVector_momenta
std::vector< int > fVector_richIndex
std::vector< TH1 * > fHistoList_test2
CbmAnaConversionTest2 operator=(const CbmAnaConversionTest2 &)
CbmAnaConversionTest2(const CbmAnaConversionTest2 &)
std::vector< int > fVector_gtIndex
std::vector< CbmMCTrack * > fVector_mctrack
Int_t NofDaughters(Int_t motherId)