|
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 () |
| int | GetBestMcTrackIdForCaHit (int iHit) const |
| Gets number of stations before the pipe (MVD stations in CBM) | |
| McMatch | GetMcMatchForCaHit (int iHit) const |
| void | SetNofThreads (int nThreads) |
| Sets number of threads. | |
| int | GetNofThreads () const |
| Gets number of threads. | |
| void | SetMcData (const ca::McData *pMCData) |
| const ca::McData * | GetMcData () const |
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. | |
| const ca::McData * | fpMcData |
| Monte Carlo data container. | |
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.
Referenced by Framework(), Framework(), operator=(), and operator=().
|
delete |
Copy constructor.
References Framework().
|
delete |
Move constructor.
References Framework().
|
default |
Destructor.
|
private |
|
inline |
Definition at line 141 of file CaFramework.h.
References fInputData, fpTrackFinder, fRecoHits, fRecoTracks, and fTsHeader.
| void cbm::algo::ca::Framework::Finish | ( | ) |
Definition at line 34 of file CaFramework.cxx.
| int cbm::algo::ca::Framework::GetBestMcTrackIdForCaHit | ( | int | iHit | ) | const |
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.
References fpMcData.
|
inline |
Gets default particle mass
Definition at line 110 of file CaFramework.h.
References fDefaultMass.
|
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.
|
inline |
Definition at line 168 of file CaFramework.h.
References fpMcData.
| McMatch cbm::algo::ca::Framework::GetMcMatchForCaHit | ( | int | iHit | ) | const |
Definition at line 70 of file CaFramework.cxx.
References fpMcData.
|
inline |
|
inline |
|
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(), CbmBbaAlignmentMcbmTask::Exec(), CbmL1PFFitter::Fit(), CbmL1PFFitter::GetChiToVertex(), CbmL1PFFitter::GetMvdStationIndex(), CbmL1PFFitter::GetStsStationIndex(), CbmBbaAlignmentMcbmTask::Init(), and CbmL1PFFitter::Initialize().
|
inline |
Definition at line 136 of file CaFramework.h.
References fpTrackFinder.
|
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.
Copy assignment operator.
References Framework().
Move assignment operator.
References Framework().
| 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 | ) |
| 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.
|
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 |
Definition at line 166 of file CaFramework.h.
References fpMcData.
|
inline |
|
inline |
|
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 204 of file CaFramework.h.
| fvec cbm::algo::ca::Framework::EventTime {0.f} |
Definition at line 203 of file CaFramework.h.
| double cbm::algo::ca::Framework::fCaRecoTime {0.} |
Definition at line 198 of file CaFramework.h.
Referenced by Init().
|
private |
mass of the propagated particle [GeV/c2]
Definition at line 172 of file CaFramework.h.
Referenced by GetDefaultParticleMass(), GetDefaultParticleMass2(), Init(), and SetDefaultParticleMass().
|
private |
Tracking input data.
Definition at line 180 of file CaFramework.h.
Referenced by FindTracks(), GetInputData(), and ReceiveInputData().
|
private |
Tracking monitor data (statistics per call)
Definition at line 185 of file CaFramework.h.
Referenced by GetMonitorData(), Init(), and SetMonitorData().
|
private |
Number of threads to execute the track-finder
Definition at line 187 of file CaFramework.h.
Referenced by GetNofThreads(), Init(), and SetNofThreads().
|
private |
number of stations before pipe (MVD stations in CBM)
Definition at line 171 of file CaFramework.h.
Referenced by ReceiveParameters().
|
private |
Object of Framework parameters class.
Definition at line 179 of file CaFramework.h.
Referenced by GetParameters(), Init(), ReceiveParameters(), and SetParameters().
|
private |
Monte Carlo data container.
Definition at line 193 of file CaFramework.h.
Referenced by GetBestMcTrackIdForCaHit(), GetMcData(), GetMcMatchForCaHit(), and SetMcData().
|
private |
Track finder steer class for the entire time slice.
Definition at line 191 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 201 of file CaFramework.h.
Referenced by FindTracks().
|
private |
current timeslice header
Definition at line 173 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 182 of file CaFramework.h.