CbmRoot
Loading...
Searching...
No Matches
CbmMvdHitfinder Class Reference

#include <CbmMvdHitfinder.h>

Inheritance diagram for CbmMvdHitfinder:
[legend]
Collaboration diagram for CbmMvdHitfinder:
[legend]

Public Member Functions

 CbmMvdHitfinder ()
 
 CbmMvdHitfinder (const char *name, Int_t iVerbose=1)
 
 CbmMvdHitfinder (const char *name, Int_t mode, Int_t iVerbose)
 
virtual ~CbmMvdHitfinder ()
 
void Exec (Option_t *opt)
 
void UseClusterfinder (Bool_t clusterfinderFlag)
 
void ShowDebugHistos ()
 
void SetMode (ECbmRecoMode mode)
 Set execution mode.
 

Protected Attributes

Int_t fMyPluginID
 

Private Member Functions

virtual InitStatus Init ()
 
virtual InitStatus ReInit ()
 
virtual void Finish ()
 
void Register ()
 
void Reset ()
 
void GetMvdGeometry ()
 
void PrintParameters () const
 
std::string ParametersToString () const
 
void ProcessData (CbmEvent *)
 
 CbmMvdHitfinder (const CbmMvdHitfinder &)
 
CbmMvdHitfinder operator= (const CbmMvdHitfinder &)
 
 ClassDef (CbmMvdHitfinder, 1)
 

Private Attributes

CbmMvdDetectorfDetector
 
CbmDigiManagerfDigiMan
 
TClonesArray * fInputCluster
 
TClonesArray * fHits
 
TClonesArray * fEvents = nullptr
 
UInt_t fHitfinderPluginNr
 Input array of events.
 
Bool_t fUseClusterfinder
 
Bool_t fShowDebugHistos
 
TStopwatch fTimer
 ROOT timer.
 
Int_t fmode
 
ECbmRecoMode fEventMode = ECbmRecoMode::Timeslice
 Time-slice or event-by-event.
 
Int_t fNofTs = 0
 Number of time slices processed.
 

Detailed Description

Definition at line 31 of file CbmMvdHitfinder.h.

Constructor & Destructor Documentation

◆ CbmMvdHitfinder() [1/4]

CbmMvdHitfinder::CbmMvdHitfinder ( )

Default constructor

Definition at line 42 of file CbmMvdHitfinder.cxx.

◆ CbmMvdHitfinder() [2/4]

CbmMvdHitfinder::CbmMvdHitfinder ( const char * name,
Int_t iVerbose = 1 )

Standard constructor

Parameters
nameTask name

Definition at line 58 of file CbmMvdHitfinder.cxx.

◆ CbmMvdHitfinder() [3/4]

CbmMvdHitfinder::CbmMvdHitfinder ( const char * name,
Int_t mode,
Int_t iVerbose )

Definition at line 74 of file CbmMvdHitfinder.cxx.

◆ ~CbmMvdHitfinder()

CbmMvdHitfinder::~CbmMvdHitfinder ( )
virtual

Destructor

Definition at line 91 of file CbmMvdHitfinder.cxx.

References fHits.

◆ CbmMvdHitfinder() [4/4]

CbmMvdHitfinder::CbmMvdHitfinder ( const CbmMvdHitfinder & )
private

Member Function Documentation

◆ ClassDef()

CbmMvdHitfinder::ClassDef ( CbmMvdHitfinder ,
1  )
private

◆ Exec()

void CbmMvdHitfinder::Exec ( Option_t * opt)

◆ Finish()

void CbmMvdHitfinder::Finish ( )
privatevirtual

Virtual method Finish

Definition at line 301 of file CbmMvdHitfinder.cxx.

References PrintParameters().

◆ GetMvdGeometry()

void CbmMvdHitfinder::GetMvdGeometry ( )
private

Definition at line 310 of file CbmMvdHitfinder.cxx.

◆ Init()

◆ operator=()

CbmMvdHitfinder CbmMvdHitfinder::operator= ( const CbmMvdHitfinder & )
private

◆ ParametersToString()

std::string CbmMvdHitfinder::ParametersToString ( ) const
private

Definition at line 317 of file CbmMvdHitfinder.cxx.

Referenced by PrintParameters().

◆ PrintParameters()

void CbmMvdHitfinder::PrintParameters ( ) const
private

Print digitisation parameters

Definition at line 314 of file CbmMvdHitfinder.cxx.

References ParametersToString().

Referenced by Finish().

◆ ProcessData()

◆ Register()

void CbmMvdHitfinder::Register ( )
private

Register the output arrays to the IOManager

◆ ReInit()

InitStatus CbmMvdHitfinder::ReInit ( )
privatevirtual

Reinitialisation

Definition at line 296 of file CbmMvdHitfinder.cxx.

◆ Reset()

void CbmMvdHitfinder::Reset ( )
private

Clear the hit arrays

Definition at line 306 of file CbmMvdHitfinder.cxx.

References fHits.

◆ SetMode()

void CbmMvdHitfinder::SetMode ( ECbmRecoMode mode)
inline

Set execution mode.

Parameters
modeTime-slice or event

In the time-slice mode, the entire time-slice (input arrays) will be processed. In the event mode, events read from the event branch are processed one after the other.

Definition at line 62 of file CbmMvdHitfinder.h.

References fEventMode.

Referenced by cbm::reco::offline::TaskFactory::RegisterMvdReco().

◆ ShowDebugHistos()

void CbmMvdHitfinder::ShowDebugHistos ( )
inline

Definition at line 53 of file CbmMvdHitfinder.h.

References fShowDebugHistos.

◆ UseClusterfinder()

void CbmMvdHitfinder::UseClusterfinder ( Bool_t clusterfinderFlag)
inline

Definition at line 49 of file CbmMvdHitfinder.h.

References fUseClusterfinder.

Referenced by cbm::reco::offline::TaskFactory::RegisterMvdReco().

Member Data Documentation

◆ fDetector

CbmMvdDetector* CbmMvdHitfinder::fDetector
private

Definition at line 68 of file CbmMvdHitfinder.h.

Referenced by Init(), and ProcessData().

◆ fDigiMan

CbmDigiManager* CbmMvdHitfinder::fDigiMan
private

Definition at line 69 of file CbmMvdHitfinder.h.

Referenced by Exec(), and Init().

◆ fEventMode

ECbmRecoMode CbmMvdHitfinder::fEventMode = ECbmRecoMode::Timeslice
private

Time-slice or event-by-event.

Definition at line 81 of file CbmMvdHitfinder.h.

Referenced by Exec(), Init(), and SetMode().

◆ fEvents

TClonesArray* CbmMvdHitfinder::fEvents = nullptr
private

Definition at line 73 of file CbmMvdHitfinder.h.

Referenced by Exec(), and Init().

◆ fHitfinderPluginNr

UInt_t CbmMvdHitfinder::fHitfinderPluginNr
private

Input array of events.

Definition at line 75 of file CbmMvdHitfinder.h.

Referenced by Init(), and ProcessData().

◆ fHits

TClonesArray* CbmMvdHitfinder::fHits
private

Definition at line 72 of file CbmMvdHitfinder.h.

Referenced by Exec(), Init(), ProcessData(), Reset(), and ~CbmMvdHitfinder().

◆ fInputCluster

TClonesArray* CbmMvdHitfinder::fInputCluster
private

Definition at line 71 of file CbmMvdHitfinder.h.

Referenced by Exec(), Init(), and ProcessData().

◆ fmode

Int_t CbmMvdHitfinder::fmode
private

Definition at line 79 of file CbmMvdHitfinder.h.

◆ fMyPluginID

Int_t CbmMvdHitfinder::fMyPluginID
protected

Definition at line 65 of file CbmMvdHitfinder.h.

Referenced by Init(), and ProcessData().

◆ fNofTs

Int_t CbmMvdHitfinder::fNofTs = 0
private

Number of time slices processed.

Definition at line 83 of file CbmMvdHitfinder.h.

Referenced by Exec().

◆ fShowDebugHistos

Bool_t CbmMvdHitfinder::fShowDebugHistos
private

Definition at line 77 of file CbmMvdHitfinder.h.

Referenced by Init(), and ShowDebugHistos().

◆ fTimer

TStopwatch CbmMvdHitfinder::fTimer
private

ROOT timer.

Definition at line 78 of file CbmMvdHitfinder.h.

Referenced by Exec().

◆ fUseClusterfinder

Bool_t CbmMvdHitfinder::fUseClusterfinder
private

Definition at line 76 of file CbmMvdHitfinder.h.

Referenced by Exec(), Init(), and UseClusterfinder().


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