CbmRoot
|
#include <DataTreeCbmInterface.h>
Public Member Functions | |
DataTreeCbmInterface () | |
~DataTreeCbmInterface () | |
virtual InitStatus | Init () |
virtual void | Exec (Option_t *opt) |
virtual void | Finish () |
void | SetOutputFile (const TString filename) |
void | LoadGeo (const TString &geoFile) |
void | SetKFParticleFinderTOF (const CbmKFParticleFinder *finder) |
void | SetKFParticleFinderMC (const CbmKFParticleFinder *finder) |
Private Member Functions | |
void | InitInput () |
void | InitOutput () |
void | InitOutputTree () |
void | InitDataTreeEvent () |
void | ClearEvent () |
void | ReadEvent () |
void | ReadPSD () |
void | ReadTracks () |
void | LinkSTS () |
void | ReadTOF () |
void | ReadMC () |
int | GetMCTrackMatch (const int idx) |
void | ReadV0 (const int UseMCpid=0) |
void | ReadPsdPrimaryParticles () |
Private Attributes | |
TString | fOutputFileName {""} |
TFile * | fTreeFile {nullptr} |
TTree * | fDataTree {nullptr} |
CbmVertex * | fPrimVtx {nullptr} |
FairMCEventHeader * | fHeader {nullptr} |
CbmDigiManager * | fDigiMan {nullptr} |
TClonesArray * | flistPSDhit {nullptr} |
TClonesArray * | flistMCtrack {nullptr} |
TClonesArray * | flistSTSRECOtrack {nullptr} |
TClonesArray * | flistSTStrackMATCH {nullptr} |
TClonesArray * | fGlobalTrackArray {nullptr} |
TClonesArray * | fTofHitArray {nullptr} |
TClonesArray * | fTofHitMatchArray {nullptr} |
TClonesArray * | fPsdPointArray {nullptr} |
DataTreeEvent * | fDTEvent {nullptr} |
int | fPsdModules {0} |
TVector3 | fPsdPosition |
std::map< int, TVector3 > | fPsdModulePositions |
std::vector< int > | fMCTrackIDs |
std::vector< int > | fTrackIDs |
const CbmKFParticleFinder * | fFinderTOF {nullptr} |
const CbmKFParticleFinder * | fFinderMC {nullptr} |
Definition at line 37 of file DataTreeCbmInterface.h.
DataTreeCbmInterface::DataTreeCbmInterface | ( | ) |
Definition at line 52 of file DataTreeCbmInterface.cxx.
References fDTEvent.
DataTreeCbmInterface::~DataTreeCbmInterface | ( | ) |
Definition at line 56 of file DataTreeCbmInterface.cxx.
|
private |
Definition at line 176 of file DataTreeCbmInterface.cxx.
References fDTEvent, fMCTrackIDs, and fTrackIDs.
Referenced by Exec().
|
virtual |
Definition at line 159 of file DataTreeCbmInterface.cxx.
References ClearEvent(), fDataTree, fPsdModules, InitDataTreeEvent(), ReadEvent(), ReadMC(), ReadPSD(), ReadPsdPrimaryParticles(), ReadTOF(), ReadTracks(), and ReadV0().
|
virtual |
Definition at line 698 of file DataTreeCbmInterface.cxx.
|
private |
Definition at line 279 of file DataTreeCbmInterface.cxx.
|
virtual |
Definition at line 61 of file DataTreeCbmInterface.cxx.
References InitInput(), and InitOutput().
|
private |
Definition at line 145 of file DataTreeCbmInterface.cxx.
References fDTEvent, fPsdModules, and i.
Referenced by Exec().
|
private |
Definition at line 124 of file DataTreeCbmInterface.cxx.
References fDigiMan, fGlobalTrackArray, fHeader, flistMCtrack, flistPSDhit, flistSTSRECOtrack, flistSTStrackMATCH, fPrimVtx, fPsdPointArray, fTofHitArray, fTofHitMatchArray, CbmDigiManager::Init(), and CbmDigiManager::Instance().
Referenced by Init().
|
private |
Definition at line 142 of file DataTreeCbmInterface.cxx.
References InitOutputTree().
Referenced by Init().
|
private |
Definition at line 151 of file DataTreeCbmInterface.cxx.
References fDataTree, fDTEvent, fOutputFileName, and fTreeFile.
Referenced by InitOutput().
|
private |
Definition at line 504 of file DataTreeCbmInterface.cxx.
References fDTEvent, fMCTrackIDs, and i.
void DataTreeCbmInterface::LoadGeo | ( | const TString & | geoFile | ) |
Definition at line 68 of file DataTreeCbmInterface.cxx.
References fPsdModulePositions, fPsdModules, fPsdPosition, i, x, and y.
|
private |
Definition at line 183 of file DataTreeCbmInterface.cxx.
References fDTEvent, fHeader, fPrimVtx, fPsdModules, CbmVertex::GetChi2(), CbmVertex::GetNDF(), CbmVertex::GetX(), CbmVertex::GetY(), and CbmVertex::GetZ().
Referenced by Exec().
|
private |
Definition at line 286 of file DataTreeCbmInterface.cxx.
References fDTEvent, flistMCtrack, fMCTrackIDs, and i.
Referenced by Exec().
|
private |
Definition at line 213 of file DataTreeCbmInterface.cxx.
References fDigiMan, fDTEvent, flistPSDhit, fPsdModulePositions, fPsdModules, fPsdPosition, CbmDigiManager::Get(), CbmDigiManager::GetNofDigis(), i, and kPsd.
Referenced by Exec().
|
private |
Definition at line 248 of file DataTreeCbmInterface.cxx.
References fDTEvent, flistMCtrack, fPsdPointArray, CbmMCTrack::GetMass(), CbmMCTrack::GetMotherId(), and CbmMCTrack::GetPdgCode().
Referenced by Exec().
|
private |
Definition at line 529 of file DataTreeCbmInterface.cxx.
References fDTEvent, fGlobalTrackArray, flistSTSRECOtrack, fTofHitArray, CbmGlobalTrack::GetLength(), CbmTrack::GetParamFirst(), CbmGlobalTrack::GetParamLast(), CbmGlobalTrack::GetStsTrackIndex(), CbmHit::GetTime(), CbmGlobalTrack::GetTofHitIndex(), CbmPixelHit::GetX(), CbmPixelHit::GetY(), and CbmHit::GetZ().
Referenced by Exec().
|
private |
Definition at line 328 of file DataTreeCbmInterface.cxx.
References fDTEvent, CbmL1PFFitter::Fit(), flistSTSRECOtrack, flistSTStrackMATCH, fPrimVtx, fTrackIDs, CbmL1PFFitter::GetChiToVertex(), CbmVertex::GetX(), CbmVertex::GetY(), CbmVertex::GetZ(), and i.
Referenced by Exec().
|
private |
Definition at line 614 of file DataTreeCbmInterface.cxx.
References fDTEvent, fFinderMC, fFinderTOF, CbmKFParticleFinder::GetTopoReconstructor(), and i.
Referenced by Exec().
|
inline |
Definition at line 54 of file DataTreeCbmInterface.h.
References fFinderMC.
|
inline |
Definition at line 51 of file DataTreeCbmInterface.h.
References fFinderTOF.
|
inline |
Definition at line 47 of file DataTreeCbmInterface.h.
References fOutputFileName.
|
private |
Definition at line 76 of file DataTreeCbmInterface.h.
Referenced by Exec(), Finish(), and InitOutputTree().
|
private |
Definition at line 80 of file DataTreeCbmInterface.h.
Referenced by InitInput(), and ReadPSD().
|
private |
Definition at line 90 of file DataTreeCbmInterface.h.
Referenced by ClearEvent(), DataTreeCbmInterface(), GetMCTrackMatch(), InitDataTreeEvent(), InitOutputTree(), LinkSTS(), ReadEvent(), ReadMC(), ReadPSD(), ReadPsdPrimaryParticles(), ReadTOF(), ReadTracks(), and ReadV0().
|
private |
Definition at line 101 of file DataTreeCbmInterface.h.
Referenced by ReadV0(), and SetKFParticleFinderMC().
|
private |
Definition at line 100 of file DataTreeCbmInterface.h.
Referenced by ReadV0(), and SetKFParticleFinderTOF().
|
private |
Definition at line 85 of file DataTreeCbmInterface.h.
Referenced by InitInput(), and ReadTOF().
|
private |
Definition at line 79 of file DataTreeCbmInterface.h.
Referenced by InitInput(), and ReadEvent().
|
private |
Definition at line 82 of file DataTreeCbmInterface.h.
Referenced by InitInput(), ReadMC(), and ReadPsdPrimaryParticles().
|
private |
Definition at line 81 of file DataTreeCbmInterface.h.
Referenced by InitInput(), and ReadPSD().
|
private |
Definition at line 83 of file DataTreeCbmInterface.h.
Referenced by InitInput(), ReadTOF(), and ReadTracks().
|
private |
Definition at line 84 of file DataTreeCbmInterface.h.
Referenced by InitInput(), and ReadTracks().
|
private |
Definition at line 97 of file DataTreeCbmInterface.h.
Referenced by ClearEvent(), LinkSTS(), and ReadMC().
|
private |
Definition at line 74 of file DataTreeCbmInterface.h.
Referenced by InitOutputTree(), and SetOutputFile().
|
private |
Definition at line 78 of file DataTreeCbmInterface.h.
Referenced by InitInput(), ReadEvent(), and ReadTracks().
|
private |
Definition at line 94 of file DataTreeCbmInterface.h.
|
private |
Definition at line 92 of file DataTreeCbmInterface.h.
Referenced by Exec(), InitDataTreeEvent(), LoadGeo(), ReadEvent(), and ReadPSD().
|
private |
Definition at line 88 of file DataTreeCbmInterface.h.
Referenced by InitInput(), and ReadPsdPrimaryParticles().
|
private |
Definition at line 93 of file DataTreeCbmInterface.h.
|
private |
Definition at line 86 of file DataTreeCbmInterface.h.
Referenced by InitInput(), and ReadTOF().
|
private |
Definition at line 87 of file DataTreeCbmInterface.h.
Referenced by InitInput().
|
private |
Definition at line 98 of file DataTreeCbmInterface.h.
Referenced by ClearEvent(), and ReadTracks().
|
private |
Definition at line 75 of file DataTreeCbmInterface.h.
Referenced by Finish(), and InitOutputTree().