CbmRoot
|
#include <CaTrackFinder.h>
Public Types | |
typedef std::pair< Vector< Track >, Vector< ca::HitIndex_t > > | Output_t |
Public Member Functions | |
TrackFinder (const ca::Parameters< fvec > &pars, const fscal mass, const ca::TrackingMode &mode, TrackingMonitorData &monitorData, int nThreads, double &recoTime) | |
Default constructora. | |
~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 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.
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::Parameters< fvec > & | pars, |
const fscal | mass, | ||
const ca::TrackingMode & | mode, | ||
TrackingMonitorData & | monitorData, | ||
int | nThreads, | ||
double & | recoTime ) |
Default constructora.
Definition at line 41 of file CaTrackFinder.cxx.
References fNofThreads, fvRecoHitIndices, and fvRecoTracks.
|
default |
Destructor.
|
delete |
Copy constructor.
|
delete |
Move constructor.
TrackFinder::Output_t cbm::algo::ca::TrackFinder::FindTracks | ( | const InputData & | input, |
TimesliceHeader & | tsHeader ) |
Definition at line 67 of file CaTrackFinder.cxx.
References cbm::algo::ca::MonitorData< C, T >::AddMonitorData(), 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::ca::MonitorData< C, T >::IncrementCounter(), cbm::algo::ca::kMcbm, cbm::algo::ca::PrepareTimeslice, cbm::algo::ca::RecoHit, cbm::algo::ca::RecoHitUsed, cbm::algo::ca::RecoTrack, cbm::algo::ca::Vector< T >::reserve(), sqrt(), cbm::algo::ca::TimesliceHeader::Start(), cbm::algo::ca::MonitorData< C, T >::StartTimer(), cbm::algo::ca::MonitorData< C, T >::StopTimer(), cbm::algo::ca::StoreTracksFinal, cbm::algo::ca::Station< DataT >::timeInfo, cbm::algo::ca::Tracking, cbm::algo::ca::TrackingCall, and v.
|
private |
Definition at line 344 of file CaTrackFinder.cxx.
References cbm::algo::ca::TrackFinderWindow::CaTrackFinderSlice(), fDefaultMass, cbm::algo::ca::CaHitTimeInfo::fEventTimeMax, cbm::algo::ca::CaHitTimeInfo::fEventTimeMin, 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.
|
delete |
Move assignment operator.
|
private |
Definition at line 79 of file CaTrackFinder.h.
Referenced by FindTracks().
|
private |
mass of the propagated particle [GeV/c2]
Definition at line 70 of file CaTrackFinder.h.
Referenced by FindTracksThread().
|
private |
Definition at line 67 of file CaTrackFinder.h.
Referenced by FindTracks(), and FindTracksThread().
|
private |
Tracking monitor data (statistics per call)
Definition at line 73 of file CaTrackFinder.h.
Referenced by FindTracks().
|
private |
Number of threads to execute the track-finder.
Definition at line 78 of file CaTrackFinder.h.
Referenced by FindTracks(), FindTracksThread(), and TrackFinder().
|
private |
Object of Framework parameters class.
Definition at line 69 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 85 of file CaTrackFinder.h.
Referenced by FindTracks(), and FindTracksThread().
|
private |
Definition at line 71 of file CaTrackFinder.h.
Referenced by FindTracks(), FindTracksThread(), and GetTrackingMode().
|
private |
Tracking monitor data per thread.
Definition at line 74 of file CaTrackFinder.h.
Referenced by FindTracks(), and FindTracksThread().
|
private |
packed hits of reconstructed tracks
Definition at line 82 of file CaTrackFinder.h.
Referenced by FindTracks(), FindTracksThread(), GetRecoHitIndicesContainer(), and TrackFinder().
reconstructed tracks
Definition at line 81 of file CaTrackFinder.h.
Referenced by FindTracks(), FindTracksThread(), GetRecoTracksContainer(), and TrackFinder().
|
private |
Intrnal data processed in a time-window.
Definition at line 76 of file CaTrackFinder.h.
Referenced by FindTracks(), FindTracksThread(), and GetWData().
|
private |
Time window length [ns].
Definition at line 84 of file CaTrackFinder.h.
Referenced by FindTracks(), and FindTracksThread().