CbmRoot
|
#include <CaFramework.h>
Public Member Functions | |
Framework () | |
Constructor. | |
Framework (const Framework &)=delete | |
Copy constructor. | |
Framework (Framework &&)=delete | |
Move constructor. | |
Framework & | operator= (const Framework &)=delete |
Copy assignment operator. | |
Framework & | operator= (Framework &&)=delete |
Move assignment operator. | |
~Framework ()=default | |
Destructor. | |
void | SetParameters (const Parameters< fvec > &other) |
const Parameters< fvec > & | GetParameters () const |
Gets a pointer to the Framework parameters object. | |
void | ReceiveInputData (InputData &&inputData) |
Receives input data. | |
void | ReceiveParameters (Parameters< fvec > &¶meters) |
Receives tracking parameters. | |
const InputData & | GetInputData () const |
Gets pointer to input data object for external access. | |
int | PackIndex (const int &a, const int &b, const int &c) |
int | UnPackIndex (const int &i, int &a, int &b, int &c) |
void | SetDefaultParticleMass (fscal mass) |
Sets a default particle mass for the track fit. | |
fscal | GetDefaultParticleMass () const |
fscal | GetDefaultParticleMass2 () const |
const TimesliceHeader & | GetTsHeader () const |
Gets timeslice header. | |
void | Init (const TrackingMode mode) |
void | Finish () |
void | PrintHits () |
const TrackingMonitorData & | GetMonitorData () const |
Gets monitor data. | |
void | SetMonitorData (const TrackingMonitorData &monitorData) |
Sets monitor data. | |
TrackingMode | GetTrackingMode () |
const std::vector< ca::WindowData > & | GetWData () |
void | FindTracks () |
void | SetNofThreads (int nThreads) |
Sets number of threads. | |
int | GetNofThreads () const |
Gets number of threads. | |
Static Public Member Functions | |
static int | GetMcTrackIdForCaHit (int iHit) |
Gets number of stations before the pipe (MVD stations in CBM) | |
static int | GetMcTrackIdForWindowHit (int iGridHit) |
Get mc track ID for a hit (debug tool) | |
Public Attributes | |
double | fCaRecoTime {0.} |
Vector< Track > | fRecoTracks {"Framework::fRecoTracks"} |
reconstructed tracks | |
Vector< ca::HitIndex_t > | fRecoHits {"Framework::fRecoHits"} |
packed hits of reconstructed tracks | |
fvec | EventTime {0.f} |
fvec | Err {0.f} |
Private Member Functions | |
bool | checkTripletMatch (const ca::Triplet &l, const ca::Triplet &r, fscal &dchi2) const |
Private Attributes | |
int | fNstationsBeforePipe {0} |
number of stations before pipe (MVD stations in CBM) | |
fscal | fDefaultMass {constants::phys::MuonMass} |
mass of the propagated particle [GeV/c2] | |
TimesliceHeader | fTsHeader |
current timeslice header | |
Parameters< fvec > | fParameters |
Object of Framework parameters class. | |
InputData | fInputData |
Tracking input data. | |
Vector< unsigned char > | fvHitKeyFlags |
List of key flags: has been this hit or cluster already used. | |
TrackingMonitorData | fMonitorData {} |
Tracking monitor data (statistics per call) | |
int | fNofThreads = 1 |
std::unique_ptr< ca::TrackFinder > | fpTrackFinder |
Track finder steer class for the entire time slice. | |
Main class of CA track finder algorithm Class implements a clones merger algorithm for the CA track finder
Definition at line 55 of file CaFramework.h.
|
inline |
Constructor.
Definition at line 64 of file CaFramework.h.
|
delete |
Copy constructor.
|
delete |
Move constructor.
|
default |
Destructor.
|
private |
|
inline |
Definition at line 141 of file CaFramework.h.
References fInputData, fpTrackFinder, fRecoHits, fRecoTracks, and fTsHeader.
Referenced by CbmL1::Reconstruct(), and cbm::algo::TrackingChain::Run().
void cbm::algo::ca::Framework::Finish | ( | ) |
Definition at line 34 of file CaFramework.cxx.
Referenced by CbmL1::Finish().
|
inline |
Gets default particle mass
Definition at line 110 of file CaFramework.h.
References fDefaultMass.
Referenced by CbmL1::FillFitHistos(), and CbmL1::TrackFitPerformance().
|
inline |
Gets default particle mass squared
Definition at line 114 of file CaFramework.h.
References fDefaultMass.
|
inline |
Gets pointer to input data object for external access.
Definition at line 96 of file CaFramework.h.
References fInputData.
Referenced by CbmL1::EfficienciesPerformance(), CbmL1::HistoPerformance(), cbm::algo::TrackingChain::PrepareOutput(), and CbmL1::Reconstruct().
|
static |
Gets number of stations before the pipe (MVD stations in CBM)
Get mc track ID for a hit (debug tool)
Definition at line 60 of file CaFramework.cxx.
Referenced by cbm::algo::ca::TrackFinderWindow::CreateTrackCandidates(), cbm::algo::ca::TripletConstructor::FindTriplets(), and cbm::algo::ca::TrackFinderWindow::SelectTracks().
|
static |
Get mc track ID for a hit (debug tool)
Definition at line 71 of file CaFramework.cxx.
Referenced by cbm::algo::ca::TrackFinderWindow::CAFindTrack(), cbm::algo::ca::TripletConstructor::CollectHits(), cbm::algo::ca::TripletConstructor::CreateTripletsForHit(), cbm::algo::ca::TripletConstructor::FindDoublets(), and cbm::algo::ca::TripletConstructor::FindTripletHits().
|
inline |
Gets monitor data.
Definition at line 131 of file CaFramework.h.
References fMonitorData.
Referenced by CbmL1::Reconstruct(), and cbm::algo::TrackingChain::Run().
|
inline |
Gets number of threads.
Definition at line 167 of file CaFramework.h.
References fNofThreads.
Referenced by cbm::algo::TrackingChain::PrepareOutput().
|
inline |
Gets a pointer to the Framework parameters object.
Definition at line 87 of file CaFramework.h.
References fParameters.
Referenced by CbmL1PFFitter::CalculateFieldRegion(), CbmL1PFFitter::CalculateFieldRegionAtLastPoint(), CbmL1MCTrack::CountHitStations(), CbmL1::DumpMaterialToFile(), CbmL1::EfficienciesPerformance(), CbmBbaAlignmentTask::Exec(), CbmL1::FieldApproxCheck(), CbmL1PFFitter::Fit(), CbmL1PFFitter::GetChiToVertex(), CbmL1PFFitter::GetMvdStationIndex(), CbmL1PFFitter::GetStsStationIndex(), CbmL1::HistoPerformance(), CbmL1::IdealTrackFinder(), cbm::algo::TrackingChain::Init(), CbmBbaAlignmentTask::Init(), CbmL1PFFitter::Initialize(), cbm::algo::TrackingChain::ReadHits(), and CbmL1::TrackFitPerformance().
|
inline |
Definition at line 136 of file CaFramework.h.
References fpTrackFinder.
Referenced by CbmL1::TrackFitPerformance().
|
inline |
|
inline |
Definition at line 138 of file CaFramework.h.
References fpTrackFinder.
void cbm::algo::ca::Framework::Init | ( | const TrackingMode | mode | ) |
---— FUNCTIONAL PART ---—
Definition at line 26 of file CaFramework.cxx.
References fCaRecoTime, fDefaultMass, fMonitorData, fNofThreads, fParameters, and fpTrackFinder.
Referenced by cbm::algo::TrackingChain::Init(), and CbmL1::Init().
Copy assignment operator.
int cbm::algo::ca::Framework::PackIndex | ( | const int & | a, |
const int & | b, | ||
const int & | c ) |
void cbm::algo::ca::Framework::PrintHits | ( | ) |
void cbm::algo::ca::Framework::ReceiveInputData | ( | InputData && | inputData | ) |
Receives input data.
Definition at line 41 of file CaFramework.cxx.
References fInputData.
Referenced by cbm::algo::TrackingChain::PrepareInput(), and CbmL1::Reconstruct().
void cbm::algo::ca::Framework::ReceiveParameters | ( | Parameters< fvec > && | parameters | ) |
Receives tracking parameters.
Definition at line 50 of file CaFramework.cxx.
References fNstationsBeforePipe, cbm::algo::kf::GlobalField::ForceUseOfOriginalField(), and fParameters.
Referenced by cbm::algo::TrackingChain::Init(), and CbmL1::Init().
|
inline |
Sets a default particle mass for the track fit.
The function is used during the reconstruction in order to estimate the multiple scattering and energy loss
mass | Default particle mass |
Definition at line 106 of file CaFramework.h.
References fDefaultMass.
Referenced by CbmL1GlobalTrackFinder::SetDefaultParticlePDG(), and SetDefaultParticlePDG().
|
inline |
Sets monitor data.
Definition at line 134 of file CaFramework.h.
References fMonitorData.
Referenced by CbmL1::Reconstruct(), and cbm::algo::TrackingChain::Run().
|
inline |
Sets number of threads.
Definition at line 159 of file CaFramework.h.
References fNofThreads.
Referenced by cbm::algo::TrackingChain::Init().
|
inline |
Sets Framework parameters object
other | - reference to the Parameters object |
Definition at line 83 of file CaFramework.h.
References fParameters.
int cbm::algo::ca::Framework::UnPackIndex | ( | const int & | i, |
int & | a, | ||
int & | b, | ||
int & | c ) |
fvec cbm::algo::ca::Framework::Err {0.f} |
Definition at line 201 of file CaFramework.h.
fvec cbm::algo::ca::Framework::EventTime {0.f} |
Definition at line 200 of file CaFramework.h.
double cbm::algo::ca::Framework::fCaRecoTime {0.} |
Definition at line 195 of file CaFramework.h.
Referenced by Init(), and CbmL1::Reconstruct().
|
private |
mass of the propagated particle [GeV/c2]
Definition at line 171 of file CaFramework.h.
Referenced by GetDefaultParticleMass(), GetDefaultParticleMass2(), Init(), and SetDefaultParticleMass().
|
private |
Tracking input data.
Definition at line 179 of file CaFramework.h.
Referenced by FindTracks(), GetInputData(), and ReceiveInputData().
|
private |
Tracking monitor data (statistics per call)
Definition at line 184 of file CaFramework.h.
Referenced by GetMonitorData(), Init(), and SetMonitorData().
|
private |
Number of threads to execute the track-finder
Definition at line 186 of file CaFramework.h.
Referenced by GetNofThreads(), Init(), and SetNofThreads().
|
private |
number of stations before pipe (MVD stations in CBM)
Definition at line 170 of file CaFramework.h.
Referenced by ReceiveParameters().
|
private |
Object of Framework parameters class.
Definition at line 178 of file CaFramework.h.
Referenced by GetParameters(), Init(), ReceiveParameters(), and SetParameters().
|
private |
Track finder steer class for the entire time slice.
Definition at line 190 of file CaFramework.h.
Referenced by FindTracks(), GetTrackingMode(), GetWData(), and Init().
Vector<ca::HitIndex_t> cbm::algo::ca::Framework::fRecoHits {"Framework::fRecoHits"} |
packed hits of reconstructed tracks
Definition at line 198 of file CaFramework.h.
Referenced by FindTracks(), CbmL1::IdealTrackFinder(), cbm::algo::TrackingChain::PrepareOutput(), and CbmL1::Reconstruct().
reconstructed tracks
Definition at line 197 of file CaFramework.h.
Referenced by FindTracks(), CbmL1::IdealTrackFinder(), cbm::algo::TrackingChain::PrepareOutput(), and CbmL1::Reconstruct().
|
private |
current timeslice header
Definition at line 172 of file CaFramework.h.
Referenced by FindTracks(), and GetTsHeader().
|
private |
List of key flags: has been this hit or cluster already used.
Definition at line 181 of file CaFramework.h.