CbmRoot
CbmAnaConversionTest Class Reference

#include <CbmAnaConversionTest.h>

Collaboration diagram for CbmAnaConversionTest:
[legend]

Public Member Functions

 CbmAnaConversionTest ()
 
virtual ~CbmAnaConversionTest ()
 
void Init ()
 
void InitHistos ()
 
void Finish ()
 
void Exec ()
 
void GetNofRichElectrons ()
 
Double_t CalcInvMass (Int_t e1, Int_t e2, Int_t e3, Int_t e4)
 
void DoSTSonlyAnalysis ()
 
void CombineElectrons_FromSTSandRICH ()
 
void CombinePhotons ()
 
void CombineElectrons_FromRICH ()
 
CbmLmvmKinematicParams CalculateKinematicParamsReco (const TVector3 electron1, const TVector3 electron2)
 
Double_t Invmass_4particlesRECO (const TVector3 part1, const TVector3 part2, const TVector3 part3, const TVector3 part4)
 
void CombineElectrons_STSonly ()
 
void CombinePhotons_STSonly ()
 
Bool_t HasRichInd (Int_t gtIndex, Int_t arrayIndex)
 
void MixedEventTest_3p1 ()
 
void MixedEventTest_STSonly ()
 
Double_t ElectronANNvalue (Int_t globalTrackIndex, Double_t momentum)
 

Private Member Functions

 CbmAnaConversionTest (const CbmAnaConversionTest &)
 
CbmAnaConversionTest operator= (const CbmAnaConversionTest &)
 

Private Attributes

TClonesArray * fRichPoints
 
TClonesArray * fRichRings
 
TClonesArray * fRichRingMatches
 
TClonesArray * fMcTracks
 
TClonesArray * fStsTracks
 
TClonesArray * fStsTrackMatches
 
TClonesArray * fGlobalTracks
 
CbmVertexfPrimVertex
 
CbmKFVertex fKFVertex
 
std::vector< TH1 * > fHistoList_test
 
std::vector< int > fElectrons_gtid
 
std::vector< int > fElectrons_mcid
 
std::vector< int > fElectrons_richInd
 
std::vector< int > fElectrons_pi0mcid
 
std::vector< int > fElectrons_same
 
TH1I * fElectrons_nofPerPi0
 
TH1I * fElectrons_nofPerPi0_withRichInd
 
TH1D * fhElectronsTest_invmass
 
TH1I * fhTest_ParticlesPerEvent
 
TH1I * fhTest_RICHelectronsPerEvent
 
TH1I * fhTest_PhotonsPerEvent_RICHonly
 
TH1I * fhTest_PhotonsPerEvent_STSandRICH
 
TH1I * fhTest_ReconstructedPi0PerEvent
 
TH1D * fhTest_invmass
 
TH1D * fhTest_invmass_pCut
 
TH1D * fhTest_invmass_GGcut
 
TH1D * fhTest_invmass_RICHindex0
 
TH1D * fhTest_invmass_RICHindex1
 
TH1D * fhTest_invmass_RICHindex2
 
TH1D * fhTest_invmass_RICHindex3
 
TH1D * fhTest_invmass_RICHindex4
 
TH2D * fhTest_invmass_MCcutAll
 
TH1D * fhTest_peakCheck1
 
TH1D * fhTest_peakCheck2
 
TH1D * fhTest_peakCheck3
 
TH2D * fhTest_invmass_ANNcuts
 
TH2D * fhTest_phaseSpace_pi0
 
TH2D * fhTest_phaseSpace_eta
 
std::vector< TVector3 > fVector_AllMomenta
 
std::vector< CbmGlobalTrack * > fVector_gt
 
std::vector< TVector3 > fVector_momenta
 
std::vector< double > fVector_chi
 
std::vector< int > fVector_gtIndex
 
std::vector< int > fVector_richIndex
 
std::vector< int > fVector_mcIndex
 
std::vector< bool > fVector_withRichSignal
 
std::vector< std::vector< int > > fVector_reconstructedPhotons_FromSTSandRICH
 
std::vector< CbmGlobalTrack * > fVector_electronRICH_gt
 
std::vector< int > fVector_electronRICH_gtIndex
 
std::vector< int > fVector_electronRICH_mcIndex
 
std::vector< TVector3 > fVector_electronRICH_momenta
 
std::vector< std::vector< int > > fVector_electronRICH_reconstructedPhotons
 
std::vector< std::vector< int > > fVector_reconstructedPhotons_STSonly
 
Int_t globalEventNo
 
std::vector< std::vector< TVector3 > > fMixedTest_STSonly_photons
 
std::vector< int > fMixedTest_STSonly_eventno
 
std::vector< std::vector< bool > > fMixedTest_STSonly_hasRichInd
 
TH1D * fhTest_eventMixing_STSonly_2p2
 
TH1D * fhTest_eventMixing_STSonly_3p1
 
TH1D * fhTest_eventMixing_STSonly_4p0
 
std::vector< std::vector< TVector3 > > fMixedTest_3p1_photons
 
std::vector< int > fMixedTest_3p1_eventno
 
std::vector< int > fMixedTest_3p1_combined
 
std::vector< std::vector< Double_t > > fMixedTest_3p1_ann
 
TH1D * fhTest_eventMixing_3p1
 
TH1D * fhTest_eventMixing_3p1_pCut
 
TH1D * fhTest_eventMixing_3p1_GGcut
 
TH2D * fhTest_eventMixing_3p1_ANNcuts
 

Detailed Description

Definition at line 29 of file CbmAnaConversionTest.h.

Constructor & Destructor Documentation

◆ CbmAnaConversionTest() [1/2]

CbmAnaConversionTest::CbmAnaConversionTest ( )

Definition at line 32 of file CbmAnaConversionTest.cxx.

◆ ~CbmAnaConversionTest()

CbmAnaConversionTest::~CbmAnaConversionTest ( )
virtual

Definition at line 102 of file CbmAnaConversionTest.cxx.

◆ CbmAnaConversionTest() [2/2]

CbmAnaConversionTest::CbmAnaConversionTest ( const CbmAnaConversionTest )
private

Member Function Documentation

◆ CalcInvMass()

Double_t CbmAnaConversionTest::CalcInvMass ( Int_t  e1,
Int_t  e2,
Int_t  e3,
Int_t  e4 
)

◆ CalculateKinematicParamsReco()

CbmLmvmKinematicParams CbmAnaConversionTest::CalculateKinematicParamsReco ( const TVector3  electron1,
const TVector3  electron2 
)

◆ CombineElectrons_FromRICH()

◆ CombineElectrons_FromSTSandRICH()

◆ CombineElectrons_STSonly()

◆ CombinePhotons()

◆ CombinePhotons_STSonly()

◆ DoSTSonlyAnalysis()

◆ ElectronANNvalue()

Double_t CbmAnaConversionTest::ElectronANNvalue ( Int_t  globalTrackIndex,
Double_t  momentum 
)

◆ Exec()

◆ Finish()

void CbmAnaConversionTest::Finish ( )

Definition at line 398 of file CbmAnaConversionTest.cxx.

References fHistoList_test, and i.

Referenced by CbmAnaConversion::Finish().

◆ GetNofRichElectrons()

void CbmAnaConversionTest::GetNofRichElectrons ( )

◆ HasRichInd()

◆ Init()

◆ InitHistos()

◆ Invmass_4particlesRECO()

Double_t CbmAnaConversionTest::Invmass_4particlesRECO ( const TVector3  part1,
const TVector3  part2,
const TVector3  part3,
const TVector3  part4 
)

Definition at line 1206 of file CbmAnaConversionTest.cxx.

References M2E.

◆ MixedEventTest_3p1()

◆ MixedEventTest_STSonly()

◆ operator=()

CbmAnaConversionTest CbmAnaConversionTest::operator= ( const CbmAnaConversionTest )
private

Member Data Documentation

◆ fElectrons_gtid

std::vector<int> CbmAnaConversionTest::fElectrons_gtid
private

Definition at line 79 of file CbmAnaConversionTest.h.

Referenced by Exec().

◆ fElectrons_mcid

std::vector<int> CbmAnaConversionTest::fElectrons_mcid
private

Definition at line 80 of file CbmAnaConversionTest.h.

Referenced by CalcInvMass(), and Exec().

◆ fElectrons_nofPerPi0

TH1I* CbmAnaConversionTest::fElectrons_nofPerPi0
private

Definition at line 85 of file CbmAnaConversionTest.h.

Referenced by GetNofRichElectrons(), and InitHistos().

◆ fElectrons_nofPerPi0_withRichInd

TH1I* CbmAnaConversionTest::fElectrons_nofPerPi0_withRichInd
private

Definition at line 86 of file CbmAnaConversionTest.h.

Referenced by GetNofRichElectrons(), and InitHistos().

◆ fElectrons_pi0mcid

std::vector<int> CbmAnaConversionTest::fElectrons_pi0mcid
private

Definition at line 82 of file CbmAnaConversionTest.h.

Referenced by Exec(), and GetNofRichElectrons().

◆ fElectrons_richInd

std::vector<int> CbmAnaConversionTest::fElectrons_richInd
private

Definition at line 81 of file CbmAnaConversionTest.h.

Referenced by Exec().

◆ fElectrons_same

std::vector<int> CbmAnaConversionTest::fElectrons_same
private

Definition at line 83 of file CbmAnaConversionTest.h.

Referenced by Exec(), and GetNofRichElectrons().

◆ fGlobalTracks

TClonesArray* CbmAnaConversionTest::fGlobalTracks
private

Definition at line 72 of file CbmAnaConversionTest.h.

Referenced by DoSTSonlyAnalysis(), ElectronANNvalue(), Exec(), HasRichInd(), and Init().

◆ fhElectronsTest_invmass

TH1D* CbmAnaConversionTest::fhElectronsTest_invmass
private

Definition at line 88 of file CbmAnaConversionTest.h.

Referenced by GetNofRichElectrons(), and InitHistos().

◆ fHistoList_test

std::vector<TH1*> CbmAnaConversionTest::fHistoList_test
private

Definition at line 77 of file CbmAnaConversionTest.h.

Referenced by Finish(), and InitHistos().

◆ fhTest_eventMixing_3p1

TH1D* CbmAnaConversionTest::fhTest_eventMixing_3p1
private

Definition at line 162 of file CbmAnaConversionTest.h.

Referenced by InitHistos(), and MixedEventTest_3p1().

◆ fhTest_eventMixing_3p1_ANNcuts

TH2D* CbmAnaConversionTest::fhTest_eventMixing_3p1_ANNcuts
private

Definition at line 165 of file CbmAnaConversionTest.h.

Referenced by InitHistos(), and MixedEventTest_3p1().

◆ fhTest_eventMixing_3p1_GGcut

TH1D* CbmAnaConversionTest::fhTest_eventMixing_3p1_GGcut
private

Definition at line 164 of file CbmAnaConversionTest.h.

Referenced by InitHistos(), and MixedEventTest_3p1().

◆ fhTest_eventMixing_3p1_pCut

TH1D* CbmAnaConversionTest::fhTest_eventMixing_3p1_pCut
private

Definition at line 163 of file CbmAnaConversionTest.h.

Referenced by InitHistos(), and MixedEventTest_3p1().

◆ fhTest_eventMixing_STSonly_2p2

TH1D* CbmAnaConversionTest::fhTest_eventMixing_STSonly_2p2
private

Definition at line 153 of file CbmAnaConversionTest.h.

Referenced by InitHistos(), and MixedEventTest_STSonly().

◆ fhTest_eventMixing_STSonly_3p1

TH1D* CbmAnaConversionTest::fhTest_eventMixing_STSonly_3p1
private

Definition at line 154 of file CbmAnaConversionTest.h.

Referenced by InitHistos(), and MixedEventTest_STSonly().

◆ fhTest_eventMixing_STSonly_4p0

TH1D* CbmAnaConversionTest::fhTest_eventMixing_STSonly_4p0
private

Definition at line 155 of file CbmAnaConversionTest.h.

Referenced by InitHistos(), and MixedEventTest_STSonly().

◆ fhTest_invmass

TH1D* CbmAnaConversionTest::fhTest_invmass
private

Definition at line 97 of file CbmAnaConversionTest.h.

Referenced by CombinePhotons(), and InitHistos().

◆ fhTest_invmass_ANNcuts

TH2D* CbmAnaConversionTest::fhTest_invmass_ANNcuts
private

Definition at line 112 of file CbmAnaConversionTest.h.

Referenced by CombinePhotons(), and InitHistos().

◆ fhTest_invmass_GGcut

TH1D* CbmAnaConversionTest::fhTest_invmass_GGcut
private

Definition at line 99 of file CbmAnaConversionTest.h.

Referenced by CombinePhotons(), and InitHistos().

◆ fhTest_invmass_MCcutAll

TH2D* CbmAnaConversionTest::fhTest_invmass_MCcutAll
private

Definition at line 108 of file CbmAnaConversionTest.h.

Referenced by CombinePhotons(), and InitHistos().

◆ fhTest_invmass_pCut

TH1D* CbmAnaConversionTest::fhTest_invmass_pCut
private

Definition at line 98 of file CbmAnaConversionTest.h.

Referenced by CombinePhotons(), and InitHistos().

◆ fhTest_invmass_RICHindex0

TH1D* CbmAnaConversionTest::fhTest_invmass_RICHindex0
private

Definition at line 102 of file CbmAnaConversionTest.h.

Referenced by CombinePhotons_STSonly(), and InitHistos().

◆ fhTest_invmass_RICHindex1

TH1D* CbmAnaConversionTest::fhTest_invmass_RICHindex1
private

Definition at line 103 of file CbmAnaConversionTest.h.

Referenced by CombinePhotons_STSonly(), and InitHistos().

◆ fhTest_invmass_RICHindex2

TH1D* CbmAnaConversionTest::fhTest_invmass_RICHindex2
private

Definition at line 104 of file CbmAnaConversionTest.h.

Referenced by CombinePhotons_STSonly(), and InitHistos().

◆ fhTest_invmass_RICHindex3

TH1D* CbmAnaConversionTest::fhTest_invmass_RICHindex3
private

Definition at line 105 of file CbmAnaConversionTest.h.

Referenced by CombinePhotons_STSonly(), and InitHistos().

◆ fhTest_invmass_RICHindex4

TH1D* CbmAnaConversionTest::fhTest_invmass_RICHindex4
private

Definition at line 106 of file CbmAnaConversionTest.h.

Referenced by CombinePhotons_STSonly(), and InitHistos().

◆ fhTest_ParticlesPerEvent

TH1I* CbmAnaConversionTest::fhTest_ParticlesPerEvent
private

Definition at line 92 of file CbmAnaConversionTest.h.

Referenced by DoSTSonlyAnalysis(), and InitHistos().

◆ fhTest_peakCheck1

TH1D* CbmAnaConversionTest::fhTest_peakCheck1
private

Definition at line 109 of file CbmAnaConversionTest.h.

Referenced by CombinePhotons(), and InitHistos().

◆ fhTest_peakCheck2

TH1D* CbmAnaConversionTest::fhTest_peakCheck2
private

Definition at line 110 of file CbmAnaConversionTest.h.

Referenced by CombinePhotons(), and InitHistos().

◆ fhTest_peakCheck3

TH1D* CbmAnaConversionTest::fhTest_peakCheck3
private

Definition at line 111 of file CbmAnaConversionTest.h.

Referenced by CombinePhotons(), and InitHistos().

◆ fhTest_phaseSpace_eta

TH2D* CbmAnaConversionTest::fhTest_phaseSpace_eta
private

Definition at line 115 of file CbmAnaConversionTest.h.

Referenced by CombinePhotons(), and InitHistos().

◆ fhTest_phaseSpace_pi0

TH2D* CbmAnaConversionTest::fhTest_phaseSpace_pi0
private

Definition at line 114 of file CbmAnaConversionTest.h.

Referenced by CombinePhotons(), and InitHistos().

◆ fhTest_PhotonsPerEvent_RICHonly

TH1I* CbmAnaConversionTest::fhTest_PhotonsPerEvent_RICHonly
private

Definition at line 94 of file CbmAnaConversionTest.h.

Referenced by CombineElectrons_FromRICH(), and InitHistos().

◆ fhTest_PhotonsPerEvent_STSandRICH

TH1I* CbmAnaConversionTest::fhTest_PhotonsPerEvent_STSandRICH
private

Definition at line 95 of file CbmAnaConversionTest.h.

Referenced by CombineElectrons_FromSTSandRICH(), and InitHistos().

◆ fhTest_ReconstructedPi0PerEvent

TH1I* CbmAnaConversionTest::fhTest_ReconstructedPi0PerEvent
private

Definition at line 96 of file CbmAnaConversionTest.h.

Referenced by CombinePhotons(), and InitHistos().

◆ fhTest_RICHelectronsPerEvent

TH1I* CbmAnaConversionTest::fhTest_RICHelectronsPerEvent
private

Definition at line 93 of file CbmAnaConversionTest.h.

Referenced by DoSTSonlyAnalysis(), and InitHistos().

◆ fKFVertex

CbmKFVertex CbmAnaConversionTest::fKFVertex
private

Definition at line 74 of file CbmAnaConversionTest.h.

Referenced by DoSTSonlyAnalysis(), and Exec().

◆ fMcTracks

TClonesArray* CbmAnaConversionTest::fMcTracks
private

◆ fMixedTest_3p1_ann

std::vector<std::vector<Double_t> > CbmAnaConversionTest::fMixedTest_3p1_ann
private

◆ fMixedTest_3p1_combined

std::vector<int> CbmAnaConversionTest::fMixedTest_3p1_combined
private

◆ fMixedTest_3p1_eventno

std::vector<int> CbmAnaConversionTest::fMixedTest_3p1_eventno
private

◆ fMixedTest_3p1_photons

std::vector<std::vector<TVector3> > CbmAnaConversionTest::fMixedTest_3p1_photons
private

◆ fMixedTest_STSonly_eventno

std::vector<int> CbmAnaConversionTest::fMixedTest_STSonly_eventno
private

◆ fMixedTest_STSonly_hasRichInd

std::vector<std::vector<bool> > CbmAnaConversionTest::fMixedTest_STSonly_hasRichInd
private

◆ fMixedTest_STSonly_photons

std::vector<std::vector<TVector3> > CbmAnaConversionTest::fMixedTest_STSonly_photons
private

◆ fPrimVertex

CbmVertex* CbmAnaConversionTest::fPrimVertex
private

Definition at line 73 of file CbmAnaConversionTest.h.

Referenced by Exec(), and Init().

◆ fRichPoints

TClonesArray* CbmAnaConversionTest::fRichPoints
private

Definition at line 66 of file CbmAnaConversionTest.h.

Referenced by Init().

◆ fRichRingMatches

TClonesArray* CbmAnaConversionTest::fRichRingMatches
private

Definition at line 68 of file CbmAnaConversionTest.h.

Referenced by DoSTSonlyAnalysis(), Exec(), HasRichInd(), and Init().

◆ fRichRings

TClonesArray* CbmAnaConversionTest::fRichRings
private

Definition at line 67 of file CbmAnaConversionTest.h.

Referenced by ElectronANNvalue(), and Init().

◆ fStsTrackMatches

TClonesArray* CbmAnaConversionTest::fStsTrackMatches
private

Definition at line 71 of file CbmAnaConversionTest.h.

Referenced by DoSTSonlyAnalysis(), Exec(), HasRichInd(), and Init().

◆ fStsTracks

TClonesArray* CbmAnaConversionTest::fStsTracks
private

Definition at line 70 of file CbmAnaConversionTest.h.

Referenced by DoSTSonlyAnalysis(), Exec(), HasRichInd(), and Init().

◆ fVector_AllMomenta

std::vector<TVector3> CbmAnaConversionTest::fVector_AllMomenta
private

Definition at line 118 of file CbmAnaConversionTest.h.

Referenced by DoSTSonlyAnalysis().

◆ fVector_chi

std::vector<double> CbmAnaConversionTest::fVector_chi
private

Definition at line 124 of file CbmAnaConversionTest.h.

Referenced by DoSTSonlyAnalysis().

◆ fVector_electronRICH_gt

std::vector<CbmGlobalTrack*> CbmAnaConversionTest::fVector_electronRICH_gt
private

◆ fVector_electronRICH_gtIndex

std::vector<int> CbmAnaConversionTest::fVector_electronRICH_gtIndex
private

◆ fVector_electronRICH_mcIndex

std::vector<int> CbmAnaConversionTest::fVector_electronRICH_mcIndex
private

Definition at line 134 of file CbmAnaConversionTest.h.

Referenced by CombinePhotons(), and DoSTSonlyAnalysis().

◆ fVector_electronRICH_momenta

std::vector<TVector3> CbmAnaConversionTest::fVector_electronRICH_momenta
private

◆ fVector_electronRICH_reconstructedPhotons

std::vector<std::vector<int> > CbmAnaConversionTest::fVector_electronRICH_reconstructedPhotons
private

◆ fVector_gt

std::vector<CbmGlobalTrack*> CbmAnaConversionTest::fVector_gt
private

◆ fVector_gtIndex

std::vector<int> CbmAnaConversionTest::fVector_gtIndex
private

◆ fVector_mcIndex

std::vector<int> CbmAnaConversionTest::fVector_mcIndex
private

Definition at line 127 of file CbmAnaConversionTest.h.

Referenced by CombinePhotons(), and DoSTSonlyAnalysis().

◆ fVector_momenta

std::vector<TVector3> CbmAnaConversionTest::fVector_momenta
private

◆ fVector_reconstructedPhotons_FromSTSandRICH

std::vector<std::vector<int> > CbmAnaConversionTest::fVector_reconstructedPhotons_FromSTSandRICH
private

◆ fVector_reconstructedPhotons_STSonly

std::vector<std::vector<int> > CbmAnaConversionTest::fVector_reconstructedPhotons_STSonly
private

◆ fVector_richIndex

std::vector<int> CbmAnaConversionTest::fVector_richIndex
private

Definition at line 126 of file CbmAnaConversionTest.h.

Referenced by CombineElectrons_FromSTSandRICH(), and DoSTSonlyAnalysis().

◆ fVector_withRichSignal

std::vector<bool> CbmAnaConversionTest::fVector_withRichSignal
private

◆ globalEventNo

Int_t CbmAnaConversionTest::globalEventNo
private

The documentation for this class was generated from the following files: