CbmRoot
Loading...
Searching...
No Matches
cbm::algo::ca::TrackFinder Class Reference

#include <CaTrackFinder.h>

Collaboration diagram for cbm::algo::ca::TrackFinder:
[legend]

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.
 
TrackFinderoperator= (const TrackFinder &)=delete
 Copy assignment operator.
 
TrackFinderoperator= (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< CaHitTimeInfofHitTimeInfo
 
const Parameters< fvec > & fParameters
 Object of Framework parameters class.
 
fscal fDefaultMass {constants::phys::MuonMass}
 mass of the propagated particle [GeV/c2]
 
ca::TrackingMode fTrackingMode
 
TrackingMonitorDatafMonitorData
 Tracking monitor data (statistics per call)
 
std::vector< TrackingMonitorDatafvMonitorDataThread
 Tracking monitor data per thread.
 
std::vector< ca::WindowDatafvWData
 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
 

Detailed Description

Class implements a clones merger algorithm for the CA track finder

Definition at line 28 of file CaTrackFinder.h.

Member Typedef Documentation

◆ Output_t

Constructor & Destructor Documentation

◆ TrackFinder() [1/3]

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.

◆ ~TrackFinder()

cbm::algo::ca::TrackFinder::~TrackFinder ( )
default

Destructor.

◆ TrackFinder() [2/3]

cbm::algo::ca::TrackFinder::TrackFinder ( const TrackFinder & )
delete

Copy constructor.

◆ TrackFinder() [3/3]

cbm::algo::ca::TrackFinder::TrackFinder ( TrackFinder && )
delete

Move constructor.

Member Function Documentation

◆ FindTracks()

◆ FindTracksThread()

◆ GetRecoHitIndicesContainer()

const auto & cbm::algo::ca::TrackFinder::GetRecoHitIndicesContainer ( int iThread) const
inline

Definition at line 53 of file CaTrackFinder.h.

References fvRecoHitIndices.

◆ GetRecoTracksContainer()

const auto & cbm::algo::ca::TrackFinder::GetRecoTracksContainer ( int iThread) const
inline

Definition at line 52 of file CaTrackFinder.h.

References fvRecoTracks.

◆ GetTrackingMode()

TrackingMode cbm::algo::ca::TrackFinder::GetTrackingMode ( ) const
inline

Definition at line 54 of file CaTrackFinder.h.

References fTrackingMode.

◆ GetWData()

const std::vector< ca::WindowData > & cbm::algo::ca::TrackFinder::GetWData ( ) const
inline

Definition at line 55 of file CaTrackFinder.h.

References fvWData.

◆ operator=() [1/2]

TrackFinder & cbm::algo::ca::TrackFinder::operator= ( const TrackFinder & )
delete

Copy assignment operator.

◆ operator=() [2/2]

TrackFinder & cbm::algo::ca::TrackFinder::operator= ( TrackFinder && )
delete

Move assignment operator.

Member Data Documentation

◆ fCaRecoTime

double& cbm::algo::ca::TrackFinder::fCaRecoTime
private

Definition at line 79 of file CaTrackFinder.h.

Referenced by FindTracks().

◆ fDefaultMass

fscal cbm::algo::ca::TrackFinder::fDefaultMass {constants::phys::MuonMass}
private

mass of the propagated particle [GeV/c2]

Definition at line 70 of file CaTrackFinder.h.

Referenced by FindTracksThread().

◆ fHitTimeInfo

Vector<CaHitTimeInfo> cbm::algo::ca::TrackFinder::fHitTimeInfo
private

Definition at line 67 of file CaTrackFinder.h.

Referenced by FindTracks(), and FindTracksThread().

◆ fMonitorData

TrackingMonitorData& cbm::algo::ca::TrackFinder::fMonitorData
private

Tracking monitor data (statistics per call)

Definition at line 73 of file CaTrackFinder.h.

Referenced by FindTracks().

◆ fNofThreads

int cbm::algo::ca::TrackFinder::fNofThreads
private

Number of threads to execute the track-finder.

Definition at line 78 of file CaTrackFinder.h.

Referenced by FindTracks(), FindTracksThread(), and TrackFinder().

◆ fParameters

const Parameters<fvec>& cbm::algo::ca::TrackFinder::fParameters
private

Object of Framework parameters class.

Definition at line 69 of file CaTrackFinder.h.

Referenced by FindTracks(), and FindTracksThread().

◆ fStatNhitsTotal

int cbm::algo::ca::TrackFinder::fStatNhitsTotal = 0
private

Definition at line 87 of file CaTrackFinder.h.

Referenced by FindTracks(), and FindTracksThread().

◆ fStatTsEnd

fscal cbm::algo::ca::TrackFinder::fStatTsEnd = 0.
private

Definition at line 86 of file CaTrackFinder.h.

Referenced by FindTracks(), and FindTracksThread().

◆ fStatTsStart

fscal cbm::algo::ca::TrackFinder::fStatTsStart = 0.
private

Definition at line 85 of file CaTrackFinder.h.

Referenced by FindTracks(), and FindTracksThread().

◆ fTrackingMode

ca::TrackingMode cbm::algo::ca::TrackFinder::fTrackingMode
private

Definition at line 71 of file CaTrackFinder.h.

Referenced by FindTracks(), FindTracksThread(), and GetTrackingMode().

◆ fvMonitorDataThread

std::vector<TrackingMonitorData> cbm::algo::ca::TrackFinder::fvMonitorDataThread
private

Tracking monitor data per thread.

Definition at line 74 of file CaTrackFinder.h.

Referenced by FindTracks(), and FindTracksThread().

◆ fvRecoHitIndices

std::vector<Vector<HitIndex_t> > cbm::algo::ca::TrackFinder::fvRecoHitIndices
private

packed hits of reconstructed tracks

Definition at line 82 of file CaTrackFinder.h.

Referenced by FindTracks(), FindTracksThread(), GetRecoHitIndicesContainer(), and TrackFinder().

◆ fvRecoTracks

std::vector<Vector<Track> > cbm::algo::ca::TrackFinder::fvRecoTracks
private

reconstructed tracks

Definition at line 81 of file CaTrackFinder.h.

Referenced by FindTracks(), FindTracksThread(), GetRecoTracksContainer(), and TrackFinder().

◆ fvWData

std::vector<ca::WindowData> cbm::algo::ca::TrackFinder::fvWData
private

Intrnal data processed in a time-window.

Definition at line 76 of file CaTrackFinder.h.

Referenced by FindTracks(), FindTracksThread(), and GetWData().

◆ fWindowLength

fscal cbm::algo::ca::TrackFinder::fWindowLength = 0.
private

Time window length [ns].

Definition at line 84 of file CaTrackFinder.h.

Referenced by FindTracks(), and FindTracksThread().


The documentation for this class was generated from the following files: