|
CbmRoot
|
#include <CaTrackFinder.h>
Public Types | |
| typedef std::pair< Vector< Track >, Vector< ca::HitIndex_t > > | Output_t |
Public Member Functions | |
| TrackFinder (const ca::Framework &framework, const ca::Parameters< fvec > &pars, const fscal mass, const ca::TrackingMode &mode, TrackingMonitorData &monitorData, int nThreads, double &recoTime) | |
| Default constructor. | |
| ~TrackFinder ()=default | |
| Destructor. | |
| TrackFinder (const TrackFinder &)=delete | |
| Copy constructor. | |
| TrackFinder (TrackFinder &&)=delete | |
| Move constructor. | |
| TrackFinder & | operator= (const TrackFinder &)=delete |
| Copy assignment operator. | |
| TrackFinder & | operator= (TrackFinder &&)=delete |
| Move assignment operator. | |
| Output_t | FindTracks (const InputData &input, TimesliceHeader &tsHeader) |
| const auto & | GetRecoTracksContainer (int iThread) const |
| const auto & | GetRecoHitIndicesContainer (int iThread) const |
| TrackingMode | GetTrackingMode () const |
| const std::vector< ca::WindowData > & | GetWData () const |
Private Member Functions | |
| void | FindTracksThread (const InputData &input, int iThread, std::pair< fscal, fscal > &windowRange, int &statNwindows, int &statNhitsProcessed) |
Private Attributes | |
| Vector< CaHitTimeInfo > | fHitTimeInfo |
| const Framework & | fFramework |
| Reference to the Framework object. | |
| const Parameters< fvec > & | fParameters |
| Object of Framework parameters class. | |
| fscal | fDefaultMass {constants::phys::MuonMass} |
| mass of the propagated particle [GeV/c2] | |
| ca::TrackingMode | fTrackingMode |
| TrackingMonitorData & | fMonitorData |
| Tracking monitor data (statistics per call) | |
| std::vector< TrackingMonitorData > | fvMonitorDataThread |
| Tracking monitor data per thread. | |
| std::vector< ca::WindowData > | fvWData |
| Intrnal data processed in a time-window. | |
| int | fNofThreads |
| Number of threads to execute the track-finder. | |
| double & | fCaRecoTime |
| std::vector< Vector< Track > > | fvRecoTracks |
| reconstructed tracks | |
| std::vector< Vector< HitIndex_t > > | fvRecoHitIndices |
| packed hits of reconstructed tracks | |
| fscal | fWindowLength = 0. |
| Time window length [ns]. | |
| fscal | fStatTsStart = 0. |
| fscal | fStatTsEnd = 0. |
| int | fStatNhitsTotal = 0 |
Class implements a clones merger algorithm for the CA track finder
Definition at line 28 of file CaTrackFinder.h.
| typedef std::pair<Vector<Track>, Vector<ca::HitIndex_t> > cbm::algo::ca::TrackFinder::Output_t |
Definition at line 30 of file CaTrackFinder.h.
| cbm::algo::ca::TrackFinder::TrackFinder | ( | const ca::Framework & | framework, |
| const ca::Parameters< fvec > & | pars, | ||
| const fscal | mass, | ||
| const ca::TrackingMode & | mode, | ||
| TrackingMonitorData & | monitorData, | ||
| int | nThreads, | ||
| double & | recoTime ) |
Default constructor.
Definition at line 41 of file CaTrackFinder.cxx.
References fCaRecoTime, fDefaultMass, fFramework, fMonitorData, fNofThreads, fParameters, fTrackingMode, fvMonitorDataThread, fvRecoHitIndices, fvRecoTracks, fvWData, fWindowLength, and cbm::algo::ca::kMcbm.
Referenced by operator=(), operator=(), TrackFinder(), and TrackFinder().
|
default |
Destructor.
|
delete |
Copy constructor.
References TrackFinder().
|
delete |
Move constructor.
References TrackFinder().
| TrackFinder::Output_t cbm::algo::ca::TrackFinder::FindTracks | ( | const InputData & | input, |
| TimesliceHeader & | tsHeader ) |
Definition at line 69 of file CaTrackFinder.cxx.
References cbm::algo::ca::TimesliceHeader::End(), fCaRecoTime, cbm::algo::ca::CaHitTimeInfo::fEventTimeMax, cbm::algo::ca::CaHitTimeInfo::fEventTimeMin, fHitTimeInfo, FindTracksThread(), cbm::algo::ca::CaHitTimeInfo::fMaxTimeBeforeHit, cbm::algo::ca::CaHitTimeInfo::fMinTimeAfterHit, fMonitorData, fNofThreads, fParameters, fStatNhitsTotal, fStatTsEnd, fStatTsStart, fTrackingMode, fvMonitorDataThread, fvRecoHitIndices, fvRecoTracks, fvWData, fWindowLength, cbm::algo::ca::InputData::GetHit(), cbm::algo::ca::InputData::GetNdataStreams(), cbm::algo::ca::InputData::GetNhitKeys(), cbm::algo::ca::InputData::GetNhits(), cbm::algo::ca::InputData::GetStreamNhits(), cbm::algo::ca::InputData::GetStreamStartIndex(), cbm::algo::kf::Target< T >::GetX(), cbm::algo::kf::Target< T >::GetY(), cbm::algo::kf::Target< T >::GetZ(), cbm::algo::ca::kMcbm, cbm::algo::ca::PrepareTimeslice, cbm::algo::ca::ProtonMassD, cbm::algo::ca::RecoHit, cbm::algo::ca::RecoHitUsed, cbm::algo::ca::RecoTrack, cbm::algo::ca::Vector< T >::reserve(), cbm::algo::ca::SpeedOfLightInv, cbm::algo::ca::SpeedOfLightInvD, sqrt(), cbm::algo::ca::TimesliceHeader::Start(), cbm::algo::ca::StoreTracksFinal, cbm::algo::ca::Tracking, cbm::algo::ca::TrackingCall, and v.
|
private |
Definition at line 347 of file CaTrackFinder.cxx.
References cbm::algo::ca::TrackFinderWindow::CaTrackFinderSlice(), fDefaultMass, cbm::algo::ca::CaHitTimeInfo::fEventTimeMax, cbm::algo::ca::CaHitTimeInfo::fEventTimeMin, fFramework, fHitTimeInfo, cbm::algo::ca::CaHitTimeInfo::fMaxTimeBeforeHit, cbm::algo::ca::CaHitTimeInfo::fMinTimeAfterHit, fNofThreads, fParameters, fStatNhitsTotal, fStatTsEnd, fStatTsStart, fTrackingMode, fvMonitorDataThread, fvRecoHitIndices, fvRecoTracks, fvWData, fWindowLength, cbm::algo::ca::InputData::GetHit(), cbm::algo::ca::InputData::GetNdataStreams(), cbm::algo::ca::InputData::GetNhitKeys(), cbm::algo::ca::InputData::GetNhits(), cbm::algo::ca::InputData::GetStreamStartIndex(), cbm::algo::ca::InputData::GetStreamStopIndex(), cbm::algo::ca::TrackFinderWindow::InitTimeslice(), cbm::algo::ca::kMcbm, cbm::algo::ca::PrepareThread, cbm::algo::ca::PrepareWindow, size(), cbm::algo::ca::Timer::Start(), cbm::algo::ca::StoreTracksWindow, cbm::algo::ca::SubTS, cbm::algo::ca::TrackingThread, cbm::algo::ca::TrackingWindow, and tracks.
Referenced by FindTracks().
|
inline |
Definition at line 53 of file CaTrackFinder.h.
References fvRecoHitIndices.
|
inline |
Definition at line 52 of file CaTrackFinder.h.
References fvRecoTracks.
|
inline |
Definition at line 54 of file CaTrackFinder.h.
References fTrackingMode.
|
inline |
Definition at line 55 of file CaTrackFinder.h.
References fvWData.
|
delete |
Copy assignment operator.
References TrackFinder().
|
delete |
Move assignment operator.
References TrackFinder().
|
private |
Definition at line 80 of file CaTrackFinder.h.
Referenced by FindTracks(), and TrackFinder().
|
private |
mass of the propagated particle [GeV/c2]
Definition at line 71 of file CaTrackFinder.h.
Referenced by FindTracksThread(), and TrackFinder().
|
private |
Reference to the Framework object.
Definition at line 69 of file CaTrackFinder.h.
Referenced by FindTracksThread(), and TrackFinder().
|
private |
Definition at line 67 of file CaTrackFinder.h.
Referenced by FindTracks(), and FindTracksThread().
|
private |
Tracking monitor data (statistics per call)
Definition at line 74 of file CaTrackFinder.h.
Referenced by FindTracks(), and TrackFinder().
|
private |
Number of threads to execute the track-finder.
Definition at line 79 of file CaTrackFinder.h.
Referenced by FindTracks(), FindTracksThread(), and TrackFinder().
|
private |
Object of Framework parameters class.
Definition at line 70 of file CaTrackFinder.h.
Referenced by FindTracks(), FindTracksThread(), and TrackFinder().
|
private |
Definition at line 88 of file CaTrackFinder.h.
Referenced by FindTracks(), and FindTracksThread().
|
private |
Definition at line 87 of file CaTrackFinder.h.
Referenced by FindTracks(), and FindTracksThread().
|
private |
Definition at line 86 of file CaTrackFinder.h.
Referenced by FindTracks(), and FindTracksThread().
|
private |
Definition at line 72 of file CaTrackFinder.h.
Referenced by FindTracks(), FindTracksThread(), GetTrackingMode(), and TrackFinder().
|
private |
Tracking monitor data per thread.
Definition at line 75 of file CaTrackFinder.h.
Referenced by FindTracks(), FindTracksThread(), and TrackFinder().
|
private |
packed hits of reconstructed tracks
Definition at line 83 of file CaTrackFinder.h.
Referenced by FindTracks(), FindTracksThread(), GetRecoHitIndicesContainer(), and TrackFinder().
reconstructed tracks
Definition at line 82 of file CaTrackFinder.h.
Referenced by FindTracks(), FindTracksThread(), GetRecoTracksContainer(), and TrackFinder().
|
private |
Intrnal data processed in a time-window.
Definition at line 77 of file CaTrackFinder.h.
Referenced by FindTracks(), FindTracksThread(), GetWData(), and TrackFinder().
|
private |
Time window length [ns].
Definition at line 85 of file CaTrackFinder.h.
Referenced by FindTracks(), FindTracksThread(), and TrackFinder().