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

A chain for the V0 finder. More...

#include <KfpV0FinderChain.h>

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

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.
 
V0FinderChainoperator= (const V0FinderChain &)=delete
 Copy assignment operator.
 
V0FinderChainoperator= (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 ()
 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 ChainContextGetContext ()
 
void SetContext (const ChainContext *ctx)
 
const OptionsOpts () const
 
const RecoParamsParams () const
 
bool HasMonitor () const
 
MonitorGetMonitor () 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::V0FinderQafpFinderQa {nullptr}
 QA module.
 
PODVector< uint32_t > fBmonDefinedAddresses
 Available addresses of BMON.
 
const ChainContextfContext = nullptr
 

Detailed Description

A chain for the V0 finder.

Definition at line 32 of file KfpV0FinderChain.h.

Member Typedef Documentation

◆ EventOutput

Constructor & Destructor Documentation

◆ V0FinderChain() [1/4]

cbm::algo::V0FinderChain::V0FinderChain ( )
default

Default constructor.

◆ V0FinderChain() [2/4]

V0FinderChain::V0FinderChain ( const std::unique_ptr< qa::Manager > & qaManager)

Constructor from parameters.

Parameters
pQaManagerA QA-manager

Definition at line 23 of file KfpV0FinderChain.cxx.

◆ V0FinderChain() [3/4]

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

Copy constructor.

◆ V0FinderChain() [4/4]

cbm::algo::V0FinderChain::V0FinderChain ( V0FinderChain && )
delete

Move constructor.

◆ ~V0FinderChain()

cbm::algo::V0FinderChain::~V0FinderChain ( )
default

Destructor.

Member Function Documentation

◆ Finalize()

void V0FinderChain::Finalize ( )

Finalizes the instance (called in the end of the run)

Definition at line 30 of file KfpV0FinderChain.cxx.

References fMonitorRun, GetMonitor(), L_, and cbm::algo::ca::Monitor< ECounterKey, ETimerKey >::ToString().

◆ GetContext()

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

◆ GetMonitor() [1/2]

◆ GetMonitor() [2/2]

◆ HasMonitor()

◆ Init()

◆ operator=() [1/2]

V0FinderChain & cbm::algo::V0FinderChain::operator= ( const V0FinderChain & )
delete

Copy assignment operator.

◆ operator=() [2/2]

V0FinderChain & cbm::algo::V0FinderChain::operator= ( V0FinderChain && )
delete

Move assignment operator.

◆ 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().

◆ ProcessEvent()

V0FinderChain::EventOutput V0FinderChain::ProcessEvent ( const RecoResults & recoEvent)

◆ SetBmonDefinedAddresses()

void cbm::algo::V0FinderChain::SetBmonDefinedAddresses ( const PODVector< uint32_t > & addresses)
inline

Sets BMON diamond addresses array.

Note
The addresses must be taken from bmon::Hitfind::GetDiamondAddresses()

Definition at line 66 of file KfpV0FinderChain.h.

References fBmonDefinedAddresses.

◆ 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

◆ fBmonDefinedAddresses

PODVector<uint32_t> cbm::algo::V0FinderChain::fBmonDefinedAddresses
private

Available addresses of BMON.

Definition at line 79 of file KfpV0FinderChain.h.

Referenced by Init(), and SetBmonDefinedAddresses().

◆ fContext

◆ fFinder

kfp::V0Finder cbm::algo::V0FinderChain::fFinder
private

Instance of the V0-finding algorithm.

Definition at line 75 of file KfpV0FinderChain.h.

Referenced by Init(), and ProcessEvent().

◆ fMonitorRun

kfp::V0FinderMonitor cbm::algo::V0FinderChain::fMonitorRun
private

Monitor per run.

Definition at line 76 of file KfpV0FinderChain.h.

Referenced by Finalize(), and GetMonitor().

◆ fMonitorTimeslice

kfp::V0FinderMonitorData_t cbm::algo::V0FinderChain::fMonitorTimeslice
private

Monitor per timeslice.

Definition at line 77 of file KfpV0FinderChain.h.

Referenced by GetMonitor(), and ProcessEvent().

◆ fpFinderQa

std::unique_ptr<kfp::V0FinderQa> cbm::algo::V0FinderChain::fpFinderQa {nullptr}
private

QA module.

Definition at line 78 of file KfpV0FinderChain.h.

Referenced by Init(), and ProcessEvent().


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