|
CbmRoot
|
A chain for the V0 finder. More...
#include <KfpV0FinderChain.h>
Public Types | |
| using | EventOutput = CbmEventTriggers |
Public Member Functions | |
| V0FinderChain ()=default | |
| Default constructor. | |
| V0FinderChain (const std::unique_ptr< qa::Manager > &qaManager) | |
| Constructor from parameters. | |
| V0FinderChain (const V0FinderChain &)=delete | |
| Copy constructor. | |
| V0FinderChain (V0FinderChain &&)=delete | |
| Move constructor. | |
| ~V0FinderChain ()=default | |
| Destructor. | |
| V0FinderChain & | operator= (const V0FinderChain &)=delete |
| Copy assignment operator. | |
| V0FinderChain & | operator= (V0FinderChain &&)=delete |
| Move assignment operator. | |
| void | Finalize () |
| Finalizes the instance (called in the end of the run) | |
| kfp::V0FinderMonitorData_t | GetMonitor () |
| Gets a monitor. | |
| void | SetBmonDefinedAddresses (const PODVector< uint32_t > &addresses) |
| Sets BMON diamond addresses array. | |
| void | Init (const kfp::V0FinderConfig &config) |
| Initializes the instance (called in the beginning of the run) | |
| EventOutput | ProcessEvent (const RecoResults &recoEvent) |
| Processes an event, returns a collection of fired triggers. | |
| const ChainContext * | GetContext () |
| void | SetContext (const ChainContext *ctx) |
| const Options & | Opts () const |
| const RecoParams & | Params () const |
| bool | HasMonitor () const |
| Monitor & | GetMonitor () const |
Private Attributes | |
| kfp::V0Finder | fFinder |
| Instance of the V0-finding algorithm. | |
| kfp::V0FinderMonitor | fMonitorRun |
| Monitor per run. | |
| kfp::V0FinderMonitorData_t | fMonitorTimeslice |
| Monitor per timeslice. | |
| std::unique_ptr< kfp::V0FinderQa > | fpFinderQa {nullptr} |
| QA module. | |
| PODVector< uint32_t > | fBmonDefinedAddresses |
| Available addresses of BMON. | |
| const ChainContext * | fContext = nullptr |
A chain for the V0 finder.
Definition at line 39 of file KfpV0FinderChain.h.
Definition at line 41 of file KfpV0FinderChain.h.
|
default |
Default constructor.
Referenced by operator=(), operator=(), V0FinderChain(), and V0FinderChain().
| V0FinderChain::V0FinderChain | ( | const std::unique_ptr< qa::Manager > & | qaManager | ) |
Constructor from parameters.
| pQaManager | A QA-manager |
Definition at line 23 of file KfpV0FinderChain.cxx.
References fpFinderQa.
|
delete |
Copy constructor.
References V0FinderChain().
|
delete |
Move constructor.
References V0FinderChain().
|
default |
Destructor.
| void V0FinderChain::Finalize | ( | ) |
Finalizes the instance (called in the end of the run)
Definition at line 30 of file KfpV0FinderChain.cxx.
References fMonitorRun, GetMonitor(), and L_.
|
inlineinherited |
Definition at line 16 of file SubChain.h.
References fContext.
|
inlineinherited |
Definition at line 25 of file SubChain.h.
References fContext, and 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().
| cbm::algo::kfp::V0FinderMonitorData_t V0FinderChain::GetMonitor | ( | ) |
Gets a monitor.
Definition at line 38 of file KfpV0FinderChain.cxx.
References fMonitorRun, and fMonitorTimeslice.
Referenced by Finalize().
|
inlineinherited |
Definition at line 23 of file SubChain.h.
References fContext.
Referenced by 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 V0FinderChain::Init | ( | const kfp::V0FinderConfig & | config | ) |
Initializes the instance (called in the beginning of the run)
| config | V0-finder configuration |
Definition at line 48 of file KfpV0FinderChain.cxx.
References cbm::algo::kfp::V0FinderConfig::bmonAddress, cbm::algo::kfp::V0FinderConfig::cuts, fBmonDefinedAddresses, fFinder, fpFinderQa, cbm::algo::kfp::Cuts::kfp, L_, cbm::algo::kfp::Cuts::particles, cbm::algo::kfp::V0FinderConfig::primaryAssignedPdg, cbm::algo::kfp::V0FinderConfig::qpAssignedUncertainty, cbm::algo::kfp::V0FinderConfig::reconstructPdg, cbm::algo::kfp::V0FinderConfig::ToString(), and cbm::algo::kfp::V0FinderConfig::tZeroOffset.
|
delete |
Copy assignment operator.
References V0FinderChain().
|
delete |
Move assignment operator.
References V0FinderChain().
|
inlineinherited |
Definition at line 20 of file SubChain.h.
References fContext.
Referenced by cbm::algo::Reco::Finalize(), cbm::algo::Reco::Init(), cbm::algo::TrackingChain::Init(), cbm::algo::sts::HitfinderChain::operator()(), 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(), cbm::algo::Reco::Run(), and cbm::algo::Reco::Validate().
|
inlineinherited |
Definition at line 21 of file SubChain.h.
References fContext.
Referenced by cbm::algo::Reco::Init(), cbm::algo::sts::HitfinderChain::operator()(), and cbm::algo::Reco::Run().
| V0FinderChain::EventOutput V0FinderChain::ProcessEvent | ( | const RecoResults & | recoEvent | ) |
Processes an event, returns a collection of fired triggers.
Definition at line 150 of file KfpV0FinderChain.cxx.
References fFinder, fMonitorTimeslice, and fpFinderQa.
|
inline |
Sets BMON diamond addresses array.
Definition at line 73 of file KfpV0FinderChain.h.
References fBmonDefinedAddresses.
|
inlineinherited |
Definition at line 18 of file SubChain.h.
References fContext.
Referenced by cbm::algo::Reco::Init().
|
private |
Available addresses of BMON.
Definition at line 87 of file KfpV0FinderChain.h.
Referenced by Init(), and SetBmonDefinedAddresses().
|
privateinherited |
Definition at line 34 of file SubChain.h.
Referenced by GetContext(), GetMonitor(), HasMonitor(), Opts(), Params(), and SetContext().
|
private |
Instance of the V0-finding algorithm.
Definition at line 83 of file KfpV0FinderChain.h.
Referenced by Init(), and ProcessEvent().
|
private |
Monitor per run.
Definition at line 84 of file KfpV0FinderChain.h.
Referenced by Finalize(), and GetMonitor().
|
private |
Monitor per timeslice.
Definition at line 85 of file KfpV0FinderChain.h.
Referenced by GetMonitor(), and ProcessEvent().
|
private |
QA module.
Definition at line 86 of file KfpV0FinderChain.h.
Referenced by Init(), ProcessEvent(), and V0FinderChain().