CbmRoot
Loading...
Searching...
No Matches
cbm::algo::tof::TrackingInterface Class Reference

#include <TrackingInterface.h>

Inheritance diagram for cbm::algo::tof::TrackingInterface:
[legend]
Collaboration diagram for cbm::algo::tof::TrackingInterface:
[legend]

Public Member Functions

 TrackingInterface ()=default
 Default constructor.
 
 TrackingInterface (const TrackingInterface &)=delete
 Copy constructor.
 
 TrackingInterface (TrackingInterface &&)=delete
 Move constructor.
 
 ~TrackingInterface ()=default
 Destructor.
 
void Init ()
 Initializer function.
 
int GetTrackingStation (uint32_t address) const
 Returns tracking station index by the TOF address.
 
const ChainContextGetContext ()
 
void SetContext (const ChainContext *ctx)
 
const OptionsOpts () const
 
const RecoParamsParams () const
 
bool HasMonitor () const
 
Monitor & GetMonitor () const
 

Private Attributes

std::vector< int > fvNofRpc
 Number of RPCs [NbSmt].
 
std::vector< int > fvNofSm
 Number of super modules [NbSmt].
 
std::vector< std::vector< int > > fvTrackingStationId
 Index of tracking station [NbSmt][NbSm * NbRpc].
 
const ChainContextfContext = nullptr
 

Detailed Description

Definition at line 16 of file tof/TrackingInterface.h.

Constructor & Destructor Documentation

◆ TrackingInterface() [1/3]

cbm::algo::tof::TrackingInterface::TrackingInterface ( )
default

Default constructor.

◆ TrackingInterface() [2/3]

cbm::algo::tof::TrackingInterface::TrackingInterface ( const TrackingInterface & )
delete

Copy constructor.

◆ TrackingInterface() [3/3]

cbm::algo::tof::TrackingInterface::TrackingInterface ( TrackingInterface && )
delete

Move constructor.

◆ ~TrackingInterface()

cbm::algo::tof::TrackingInterface::~TrackingInterface ( )
default

Destructor.

Member Function Documentation

◆ GetContext()

const ChainContext * cbm::algo::SubChain::GetContext ( )
inlineinherited

Definition at line 16 of file SubChain.h.

References cbm::algo::SubChain::fContext.

Referenced by Init(), and cbm::algo::TrackingSetup::Init().

◆ GetMonitor()

◆ GetTrackingStation()

int TrackingInterface::GetTrackingStation ( uint32_t address) const

Returns tracking station index by the TOF address.

Parameters
addressUnique address of a TOF element
Returns
Local index of tracking station

Definition at line 72 of file tof/TrackingInterface.cxx.

References fvNofRpc, fvNofSm, fvTrackingStationId, CbmTofAddress::GetRpcId(), CbmTofAddress::GetSmId(), CbmTofAddress::GetSmType(), and L_.

Referenced by cbm::algo::TrackingSetup::GetTrackingStation().

◆ HasMonitor()

◆ Init()

◆ Opts()

◆ Params()

const RecoParams & cbm::algo::SubChain::Params ( ) const
inlineinherited

Definition at line 21 of file SubChain.h.

References cbm::algo::SubChain::fContext.

Referenced by cbm::algo::Reco::Init(), and cbm::algo::Reco::Run().

◆ SetContext()

void cbm::algo::SubChain::SetContext ( const ChainContext * ctx)
inlineinherited

Definition at line 18 of file SubChain.h.

References cbm::algo::SubChain::fContext.

Referenced by cbm::algo::Reco::Init(), and cbm::algo::TrackingSetup::Init().

Member Data Documentation

◆ fContext

◆ fvNofRpc

std::vector<int> cbm::algo::tof::TrackingInterface::fvNofRpc
private

Number of RPCs [NbSmt].

Definition at line 39 of file tof/TrackingInterface.h.

Referenced by GetTrackingStation(), and Init().

◆ fvNofSm

std::vector<int> cbm::algo::tof::TrackingInterface::fvNofSm
private

Number of super modules [NbSmt].

Definition at line 40 of file tof/TrackingInterface.h.

Referenced by GetTrackingStation(), and Init().

◆ fvTrackingStationId

std::vector<std::vector<int> > cbm::algo::tof::TrackingInterface::fvTrackingStationId
private

Index of tracking station [NbSmt][NbSm * NbRpc].

Definition at line 41 of file tof/TrackingInterface.h.

Referenced by GetTrackingStation(), and Init().


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