CbmRoot
CbmAnaConversionKF Class Reference

#include <CbmAnaConversionKF.h>

Collaboration diagram for CbmAnaConversionKF:
[legend]

Public Member Functions

 CbmAnaConversionKF ()
 
virtual ~CbmAnaConversionKF ()
 
void Init ()
 
void InitHistos ()
 
void Finish ()
 
void Exec ()
 
void SetKF (CbmKFParticleFinder *kfparticle, CbmKFParticleFinderQA *kfparticleQA)
 
void SetSignalIds (std::vector< int > *signalids)
 
void SetGhostIds (std::vector< int > *ghostids)
 
void test ()
 
Double_t Invmass_4particles (const CbmMCTrack *mctrack1, const CbmMCTrack *mctrack2, const CbmMCTrack *mctrack3, const CbmMCTrack *mctrack4)
 
void test2 ()
 
void CombineElectrons ()
 
void CombinePhotons ()
 
void Reconstruct ()
 
void ReconstructGammas ()
 
Double_t Invmass_4particlesRECO (KFParticle part1, KFParticle part2, KFParticle part3, KFParticle part4)
 
Double_t Invmass_2gamma (KFParticle part1, KFParticle part2)
 
Double_t Invmass_2electrons (KFParticle part1, KFParticle part2)
 
Double_t OpeningAngleBetweenPhotons (KFParticle part1, KFParticle part2)
 

Private Member Functions

 CbmAnaConversionKF (const CbmAnaConversionKF &)
 
CbmAnaConversionKF operator= (const CbmAnaConversionKF &)
 

Private Attributes

TClonesArray * fKFMcParticles
 
TClonesArray * fMcTracks
 
TClonesArray * fStsTracks
 
TClonesArray * fStsTrackMatches
 
CbmKFParticleFinderfKFparticle
 
CbmKFParticleFinderQAfKFparticleFinderQA
 
const KFParticleTopoReconstructor * fKFtopo
 
KFTopoPerformance * fKFtopoPerf
 
std::vector< int > trackindexarray
 
Int_t particlecounter
 
Int_t particlecounter_2daughters
 
Int_t particlecounter_3daughters
 
Int_t particlecounter_4daughters
 
Int_t particlecounter_all
 
TH1D * fhPi0_NDaughters
 
Int_t fNofGeneratedPi0_allEvents
 
Int_t fNofPi0_kfparticle_allEvents
 
Int_t fNofGeneratedPi0
 
Int_t fNofPi0_kfparticle
 
TH1D * fhPi0Ratio
 
TH1D * fhPi0_mass
 
std::vector< int > fSignalIds
 
std::vector< int > fGhostIds
 
std::vector< TH1 * > fHistoList_kfparticle
 
std::vector< KFParticle > particlevector
 
std::vector< KFPartMatch > particleMatch
 
std::vector< int > electronIDs
 
std::vector< int > gammaIDs
 
TH1D * fhInvMassPi0WithFullReco
 
TH1D * fhInvMass2Gammas
 
TH1D * fhInvMass2Gammas_cut
 
TH1D * fhKF_particlevector
 
TH1D * fhKF_trackvector
 
TH1D * fhKF_NofPi0
 
TH1D * fhKF_NofPi0_signal
 
TH1D * fhKF_NofPi0_trackvector
 
std::vector< std::vector< int > > fKF_photon_pairs
 
TH1D * fhKF_invmass_fullReco
 
TStopwatch timer
 
Double_t fTime
 

Detailed Description

Definition at line 31 of file CbmAnaConversionKF.h.

Constructor & Destructor Documentation

◆ CbmAnaConversionKF() [1/2]

CbmAnaConversionKF::CbmAnaConversionKF ( )

Definition at line 31 of file CbmAnaConversionKF.cxx.

◆ ~CbmAnaConversionKF()

CbmAnaConversionKF::~CbmAnaConversionKF ( )
virtual

Definition at line 73 of file CbmAnaConversionKF.cxx.

◆ CbmAnaConversionKF() [2/2]

CbmAnaConversionKF::CbmAnaConversionKF ( const CbmAnaConversionKF )
private

Member Function Documentation

◆ CombineElectrons()

void CbmAnaConversionKF::CombineElectrons ( )

Definition at line 565 of file CbmAnaConversionKF.cxx.

References electronIDs, fKF_photon_pairs, and particlevector.

Referenced by Exec().

◆ CombinePhotons()

void CbmAnaConversionKF::CombinePhotons ( )

◆ Exec()

void CbmAnaConversionKF::Exec ( )

◆ Finish()

void CbmAnaConversionKF::Finish ( )

Definition at line 167 of file CbmAnaConversionKF.cxx.

References fHistoList_kfparticle, fTime, and i.

Referenced by CbmAnaConversion::Finish().

◆ Init()

◆ InitHistos()

◆ Invmass_2electrons()

Double_t CbmAnaConversionKF::Invmass_2electrons ( KFParticle  part1,
KFParticle  part2 
)

Definition at line 788 of file CbmAnaConversionKF.cxx.

References M2E.

Referenced by Reconstruct().

◆ Invmass_2gamma()

Double_t CbmAnaConversionKF::Invmass_2gamma ( KFParticle  part1,
KFParticle  part2 
)

Definition at line 770 of file CbmAnaConversionKF.cxx.

Referenced by ReconstructGammas().

◆ Invmass_4particles()

Double_t CbmAnaConversionKF::Invmass_4particles ( const CbmMCTrack mctrack1,
const CbmMCTrack mctrack2,
const CbmMCTrack mctrack3,
const CbmMCTrack mctrack4 
)

Definition at line 461 of file CbmAnaConversionKF.cxx.

References CbmMCTrack::Get4Momentum().

Referenced by test().

◆ Invmass_4particlesRECO()

Double_t CbmAnaConversionKF::Invmass_4particlesRECO ( KFParticle  part1,
KFParticle  part2,
KFParticle  part3,
KFParticle  part4 
)

Definition at line 740 of file CbmAnaConversionKF.cxx.

References M2E.

Referenced by CombinePhotons(), and Reconstruct().

◆ OpeningAngleBetweenPhotons()

Double_t CbmAnaConversionKF::OpeningAngleBetweenPhotons ( KFParticle  part1,
KFParticle  part2 
)

Definition at line 806 of file CbmAnaConversionKF.cxx.

References xMath::Pi().

Referenced by ReconstructGammas().

◆ operator=()

CbmAnaConversionKF CbmAnaConversionKF::operator= ( const CbmAnaConversionKF )
private

◆ Reconstruct()

void CbmAnaConversionKF::Reconstruct ( )

◆ ReconstructGammas()

void CbmAnaConversionKF::ReconstructGammas ( )

◆ SetGhostIds()

void CbmAnaConversionKF::SetGhostIds ( std::vector< int > *  ghostids)

Definition at line 218 of file CbmAnaConversionKF.cxx.

References fGhostIds.

◆ SetKF()

void CbmAnaConversionKF::SetKF ( CbmKFParticleFinder kfparticle,
CbmKFParticleFinderQA kfparticleQA 
)

Definition at line 201 of file CbmAnaConversionKF.cxx.

References fKFparticle, and fKFparticleFinderQA.

Referenced by CbmAnaConversion::Init().

◆ SetSignalIds()

void CbmAnaConversionKF::SetSignalIds ( std::vector< int > *  signalids)

Definition at line 213 of file CbmAnaConversionKF.cxx.

References fSignalIds.

◆ test()

◆ test2()

Member Data Documentation

◆ electronIDs

std::vector<int> CbmAnaConversionKF::electronIDs
private

Definition at line 111 of file CbmAnaConversionKF.h.

Referenced by CombineElectrons(), Exec(), Reconstruct(), and test2().

◆ fGhostIds

std::vector<int> CbmAnaConversionKF::fGhostIds
private

Definition at line 102 of file CbmAnaConversionKF.h.

Referenced by SetGhostIds().

◆ fhInvMass2Gammas

TH1D* CbmAnaConversionKF::fhInvMass2Gammas
private

Definition at line 115 of file CbmAnaConversionKF.h.

Referenced by InitHistos(), and ReconstructGammas().

◆ fhInvMass2Gammas_cut

TH1D* CbmAnaConversionKF::fhInvMass2Gammas_cut
private

Definition at line 116 of file CbmAnaConversionKF.h.

Referenced by InitHistos(), and ReconstructGammas().

◆ fhInvMassPi0WithFullReco

TH1D* CbmAnaConversionKF::fhInvMassPi0WithFullReco
private

Definition at line 113 of file CbmAnaConversionKF.h.

Referenced by InitHistos(), and Reconstruct().

◆ fHistoList_kfparticle

std::vector<TH1*> CbmAnaConversionKF::fHistoList_kfparticle
private

Definition at line 106 of file CbmAnaConversionKF.h.

Referenced by Finish(), and InitHistos().

◆ fhKF_invmass_fullReco

TH1D* CbmAnaConversionKF::fhKF_invmass_fullReco
private

Definition at line 127 of file CbmAnaConversionKF.h.

Referenced by CombinePhotons(), and InitHistos().

◆ fhKF_NofPi0

TH1D* CbmAnaConversionKF::fhKF_NofPi0
private

Definition at line 121 of file CbmAnaConversionKF.h.

Referenced by InitHistos(), and test2().

◆ fhKF_NofPi0_signal

TH1D* CbmAnaConversionKF::fhKF_NofPi0_signal
private

Definition at line 122 of file CbmAnaConversionKF.h.

Referenced by InitHistos(), and test2().

◆ fhKF_NofPi0_trackvector

TH1D* CbmAnaConversionKF::fhKF_NofPi0_trackvector
private

Definition at line 123 of file CbmAnaConversionKF.h.

Referenced by InitHistos(), and test2().

◆ fhKF_particlevector

TH1D* CbmAnaConversionKF::fhKF_particlevector
private

Definition at line 118 of file CbmAnaConversionKF.h.

Referenced by InitHistos(), and test2().

◆ fhKF_trackvector

TH1D* CbmAnaConversionKF::fhKF_trackvector
private

Definition at line 119 of file CbmAnaConversionKF.h.

Referenced by InitHistos(), and test2().

◆ fhPi0_mass

TH1D* CbmAnaConversionKF::fhPi0_mass
private

Definition at line 98 of file CbmAnaConversionKF.h.

Referenced by InitHistos().

◆ fhPi0_NDaughters

TH1D* CbmAnaConversionKF::fhPi0_NDaughters
private

Definition at line 88 of file CbmAnaConversionKF.h.

Referenced by InitHistos().

◆ fhPi0Ratio

TH1D* CbmAnaConversionKF::fhPi0Ratio
private

Definition at line 97 of file CbmAnaConversionKF.h.

Referenced by InitHistos().

◆ fKF_photon_pairs

std::vector<std::vector<int> > CbmAnaConversionKF::fKF_photon_pairs
private

Definition at line 126 of file CbmAnaConversionKF.h.

Referenced by CombineElectrons(), CombinePhotons(), and Exec().

◆ fKFMcParticles

TClonesArray* CbmAnaConversionKF::fKFMcParticles
private

Definition at line 72 of file CbmAnaConversionKF.h.

Referenced by Init(), and test().

◆ fKFparticle

CbmKFParticleFinder* CbmAnaConversionKF::fKFparticle
private

Definition at line 77 of file CbmAnaConversionKF.h.

Referenced by Init(), SetKF(), and test().

◆ fKFparticleFinderQA

CbmKFParticleFinderQA* CbmAnaConversionKF::fKFparticleFinderQA
private

Definition at line 78 of file CbmAnaConversionKF.h.

Referenced by SetKF().

◆ fKFtopo

const KFParticleTopoReconstructor* CbmAnaConversionKF::fKFtopo
private

Definition at line 80 of file CbmAnaConversionKF.h.

Referenced by Init(), and test2().

◆ fKFtopoPerf

KFTopoPerformance* CbmAnaConversionKF::fKFtopoPerf
private

Definition at line 81 of file CbmAnaConversionKF.h.

Referenced by Init(), and test2().

◆ fMcTracks

TClonesArray* CbmAnaConversionKF::fMcTracks
private

Definition at line 73 of file CbmAnaConversionKF.h.

Referenced by Init(), and test().

◆ fNofGeneratedPi0

Int_t CbmAnaConversionKF::fNofGeneratedPi0
private

Definition at line 95 of file CbmAnaConversionKF.h.

◆ fNofGeneratedPi0_allEvents

Int_t CbmAnaConversionKF::fNofGeneratedPi0_allEvents
private

Definition at line 92 of file CbmAnaConversionKF.h.

◆ fNofPi0_kfparticle

Int_t CbmAnaConversionKF::fNofPi0_kfparticle
private

Definition at line 96 of file CbmAnaConversionKF.h.

◆ fNofPi0_kfparticle_allEvents

Int_t CbmAnaConversionKF::fNofPi0_kfparticle_allEvents
private

Definition at line 94 of file CbmAnaConversionKF.h.

◆ fSignalIds

std::vector<int> CbmAnaConversionKF::fSignalIds
private

Definition at line 101 of file CbmAnaConversionKF.h.

Referenced by SetSignalIds(), and test().

◆ fStsTrackMatches

TClonesArray* CbmAnaConversionKF::fStsTrackMatches
private

Definition at line 75 of file CbmAnaConversionKF.h.

Referenced by Init(), and test().

◆ fStsTracks

TClonesArray* CbmAnaConversionKF::fStsTracks
private

Definition at line 74 of file CbmAnaConversionKF.h.

Referenced by Init(), and test().

◆ fTime

Double_t CbmAnaConversionKF::fTime
private

Definition at line 132 of file CbmAnaConversionKF.h.

Referenced by Exec(), and Finish().

◆ gammaIDs

std::vector<int> CbmAnaConversionKF::gammaIDs
private

Definition at line 112 of file CbmAnaConversionKF.h.

Referenced by Exec(), ReconstructGammas(), and test2().

◆ particlecounter

Int_t CbmAnaConversionKF::particlecounter
private

Definition at line 83 of file CbmAnaConversionKF.h.

◆ particlecounter_2daughters

Int_t CbmAnaConversionKF::particlecounter_2daughters
private

Definition at line 84 of file CbmAnaConversionKF.h.

◆ particlecounter_3daughters

Int_t CbmAnaConversionKF::particlecounter_3daughters
private

Definition at line 85 of file CbmAnaConversionKF.h.

◆ particlecounter_4daughters

Int_t CbmAnaConversionKF::particlecounter_4daughters
private

Definition at line 86 of file CbmAnaConversionKF.h.

◆ particlecounter_all

Int_t CbmAnaConversionKF::particlecounter_all
private

Definition at line 87 of file CbmAnaConversionKF.h.

◆ particleMatch

std::vector<KFPartMatch> CbmAnaConversionKF::particleMatch
private

Definition at line 110 of file CbmAnaConversionKF.h.

Referenced by test2().

◆ particlevector

std::vector<KFParticle> CbmAnaConversionKF::particlevector
private

◆ timer

TStopwatch CbmAnaConversionKF::timer
private

Definition at line 131 of file CbmAnaConversionKF.h.

Referenced by Exec().

◆ trackindexarray

std::vector<int> CbmAnaConversionKF::trackindexarray
private

Definition at line 82 of file CbmAnaConversionKF.h.


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