CbmRoot
|
A detector setup interface class for tracking input data initialization. More...
#include <TrackingSetup.h>
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 ChainContext * | GetContext () |
void | SetContext (const ChainContext *ctx) |
const Options & | Opts () const |
const RecoParams & | Params () 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 ChainContext * | fContext = nullptr |
A detector setup interface class for tracking input data initialization.
Definition at line 25 of file TrackingSetup.h.
|
default |
Default constructor.
|
delete |
Copy constructor.
|
delete |
Move constructor.
|
default |
Destructor.
|
inlineinherited |
Definition at line 16 of file SubChain.h.
References cbm::algo::SubChain::fContext.
Referenced by cbm::algo::tof::TrackingInterface::Init(), and Init().
|
inlineinherited |
Definition at line 25 of file SubChain.h.
References cbm::algo::SubChain::fContext, and cbm::algo::SubChain::HasMonitor().
Referenced by cbm::algo::Reco::QueueEvbuildMetrics(), cbm::algo::Reco::QueueProcessingExtraMetrics(), cbm::algo::Reco::QueueProcessingMetrics(), cbm::algo::Reco::QueueStsRecoMetrics(), cbm::algo::Reco::QueueTofCalibMetrics(), cbm::algo::Reco::QueueTofRecoMetrics(), cbm::algo::Reco::QueueTrackingMetrics(), cbm::algo::Reco::QueueTrdRecoMetrics(), and cbm::algo::Reco::QueueUnpackerMetricsDet().
|
inline |
Returns tracking station index by the detector element address.
address | Unique address of an element |
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().
|
inlineinherited |
Definition at line 23 of file SubChain.h.
References cbm::algo::SubChain::fContext.
Referenced by cbm::algo::SubChain::GetMonitor(), cbm::algo::Reco::QueueEvbuildMetrics(), cbm::algo::Reco::QueueProcessingExtraMetrics(), cbm::algo::Reco::QueueProcessingMetrics(), cbm::algo::Reco::QueueStsRecoMetrics(), cbm::algo::Reco::QueueTofCalibMetrics(), cbm::algo::Reco::QueueTofRecoMetrics(), cbm::algo::Reco::QueueTrackingMetrics(), cbm::algo::Reco::QueueTrdRecoMetrics(), and cbm::algo::Reco::QueueUnpackerMetricsDet().
void TrackingSetup::Init | ( | ) |
Initializer function.
Definition at line 19 of file TrackingSetup.cxx.
References fbUseSts, fbUseTof, fbUseTrd, fSts, fTof, fTrd, cbm::algo::SubChain::GetContext(), cbm::algo::sts::TrackingInterface::Init(), cbm::algo::tof::TrackingInterface::Init(), cbm::algo::trd::TrackingInterface::Init(), and cbm::algo::SubChain::SetContext().
|
inlineinherited |
Definition at line 20 of file SubChain.h.
References cbm::algo::SubChain::fContext.
Referenced by cbm::algo::Reco::Finalize(), cbm::algo::Reco::Init(), cbm::algo::tof::TrackingInterface::Init(), cbm::algo::TrackingChain::Init(), cbm::algo::Reco::PrintTimings(), cbm::algo::Reco::QueueEvbuildMetrics(), cbm::algo::Reco::QueueProcessingExtraMetrics(), cbm::algo::Reco::QueueProcessingMetrics(), cbm::algo::Reco::QueueStsRecoMetrics(), cbm::algo::Reco::QueueTofCalibMetrics(), cbm::algo::Reco::QueueTofRecoMetrics(), cbm::algo::Reco::QueueTrackingMetrics(), cbm::algo::Reco::QueueTrdRecoMetrics(), cbm::algo::Reco::QueueUnpackerMetricsDet(), and cbm::algo::Reco::Run().
|
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().
|
inlineinherited |
Definition at line 18 of file SubChain.h.
References cbm::algo::SubChain::fContext.
Referenced by cbm::algo::Reco::Init(), and Init().
|
inline |
Set detector subsystem usage.
det | Detector ID (fles::Subsystem) |
flag | (not) use the subsystem |
Definition at line 63 of file TrackingSetup.h.
|
private |
Definition at line 80 of file TrackingSetup.h.
|
private |
Definition at line 82 of file TrackingSetup.h.
|
private |
Definition at line 81 of file TrackingSetup.h.
|
privateinherited |
Definition at line 34 of file SubChain.h.
Referenced by cbm::algo::SubChain::GetContext(), cbm::algo::SubChain::GetMonitor(), cbm::algo::SubChain::HasMonitor(), cbm::algo::SubChain::Opts(), cbm::algo::SubChain::Params(), and cbm::algo::SubChain::SetContext().
|
private |
STS tracking interface.
Definition at line 77 of file TrackingSetup.h.
Referenced by GetTrackingStation(), and Init().
|
private |
TOF tracking interface.
Definition at line 79 of file TrackingSetup.h.
Referenced by GetTrackingStation(), and Init().
|
private |
TRD tracking interface.
Definition at line 78 of file TrackingSetup.h.
Referenced by GetTrackingStation(), and Init().