CbmRoot
Loading...
Searching...
No Matches
cbm::algo::TrackingSetup Class Reference

A detector setup interface class for tracking input data initialization. More...

#include <TrackingSetup.h>

Inheritance diagram for cbm::algo::TrackingSetup:
[legend]
Collaboration diagram for cbm::algo::TrackingSetup:
[legend]

Public Member Functions

 TrackingSetup ()=default
 Default constructor.
 
 TrackingSetup (const TrackingSetup &)=delete
 Copy constructor.
 
 TrackingSetup (TrackingSetup &&)=delete
 Move constructor.
 
 ~TrackingSetup ()=default
 Destructor.
 
void Init ()
 Initializer function.
 
template<fles::Subsystem DetID>
int GetTrackingStation (uint32_t address) const
 Returns tracking station index by the detector element address.
 
void Use (fles::Subsystem det, bool flag=true)
 Set detector subsystem usage.
 
const ChainContextGetContext ()
 
void SetContext (const ChainContext *ctx)
 
const OptionsOpts () const
 
const RecoParamsParams () const
 
bool HasMonitor () const
 
Monitor & GetMonitor () const
 

Private Attributes

sts::TrackingInterface fSts
 STS tracking interface.
 
trd::TrackingInterface fTrd
 TRD tracking interface.
 
tof::TrackingInterface fTof
 TOF tracking interface.
 
bool fbUseSts = false
 
bool fbUseTrd = false
 
bool fbUseTof = false
 
const ChainContextfContext = nullptr
 

Detailed Description

A detector setup interface class for tracking input data initialization.

Definition at line 25 of file TrackingSetup.h.

Constructor & Destructor Documentation

◆ TrackingSetup() [1/3]

cbm::algo::TrackingSetup::TrackingSetup ( )
default

Default constructor.

◆ TrackingSetup() [2/3]

cbm::algo::TrackingSetup::TrackingSetup ( const TrackingSetup & )
delete

Copy constructor.

◆ TrackingSetup() [3/3]

cbm::algo::TrackingSetup::TrackingSetup ( TrackingSetup && )
delete

Move constructor.

◆ ~TrackingSetup()

cbm::algo::TrackingSetup::~TrackingSetup ( )
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 cbm::algo::tof::TrackingInterface::Init(), and Init().

◆ GetMonitor()

◆ GetTrackingStation()

template<fles::Subsystem DetID>
int cbm::algo::TrackingSetup::GetTrackingStation ( uint32_t address) const
inline

Returns tracking station index by the detector element address.

Parameters
addressUnique address of an element
Returns
Local index of tracking station

Definition at line 46 of file TrackingSetup.h.

References fSts, fTof, fTrd, cbm::algo::sts::TrackingInterface::GetTrackingStation(), cbm::algo::tof::TrackingInterface::GetTrackingStation(), and cbm::algo::trd::TrackingInterface::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 Init().

◆ Use()

void cbm::algo::TrackingSetup::Use ( fles::Subsystem det,
bool flag = true )
inline

Set detector subsystem usage.

Parameters
detDetector ID (fles::Subsystem)
flag(not) use the subsystem

Definition at line 63 of file TrackingSetup.h.

References fbUseSts, fbUseTof, and fbUseTrd.

Member Data Documentation

◆ fbUseSts

bool cbm::algo::TrackingSetup::fbUseSts = false
private

Definition at line 80 of file TrackingSetup.h.

Referenced by Init(), and Use().

◆ fbUseTof

bool cbm::algo::TrackingSetup::fbUseTof = false
private

Definition at line 82 of file TrackingSetup.h.

Referenced by Init(), and Use().

◆ fbUseTrd

bool cbm::algo::TrackingSetup::fbUseTrd = false
private

Definition at line 81 of file TrackingSetup.h.

Referenced by Init(), and Use().

◆ fContext

◆ fSts

sts::TrackingInterface cbm::algo::TrackingSetup::fSts
private

STS tracking interface.

Definition at line 77 of file TrackingSetup.h.

Referenced by GetTrackingStation(), and Init().

◆ fTof

tof::TrackingInterface cbm::algo::TrackingSetup::fTof
private

TOF tracking interface.

Definition at line 79 of file TrackingSetup.h.

Referenced by GetTrackingStation(), and Init().

◆ fTrd

trd::TrackingInterface cbm::algo::TrackingSetup::fTrd
private

TRD tracking interface.

Definition at line 78 of file TrackingSetup.h.

Referenced by GetTrackingStation(), and Init().


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