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

#include <CbmMvdClusterfinder.h>

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

Public Member Functions

 CbmMvdClusterfinder ()
 
 CbmMvdClusterfinder (const char *name, Int_t mode=0, Int_t iVerbose=1)
 
void SetMode (ECbmRecoMode mode)
 Set execution mode.
 
 ~CbmMvdClusterfinder ()
 
void Exec (Option_t *opt)
 
void ShowDebugHistos ()
 

Private Member Functions

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

Private Attributes

Int_t fMode
 
Bool_t fShowDebugHistos
 
CbmMvdDetectorfDetector
 
CbmDigiManagerfDigiMan
 
TClonesArray * fCluster
 
TClonesArray * fEvents = nullptr
 
UInt_t fClusterPluginNr
 Input array of events.
 
TString fBranchName
 
TStopwatch fTimer
 ROOT timer.
 
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 CbmMvdClusterfinder.h.

Constructor & Destructor Documentation

◆ CbmMvdClusterfinder() [1/3]

CbmMvdClusterfinder::CbmMvdClusterfinder ( )

Default constructor

Definition at line 39 of file CbmMvdClusterfinder.cxx.

◆ CbmMvdClusterfinder() [2/3]

CbmMvdClusterfinder::CbmMvdClusterfinder ( const char * name,
Int_t mode = 0,
Int_t iVerbose = 1 )

Standard constructor

Parameters
nameTask name
mode0 = MAPS, 1 = Ideal

Definition at line 54 of file CbmMvdClusterfinder.cxx.

◆ ~CbmMvdClusterfinder()

CbmMvdClusterfinder::~CbmMvdClusterfinder ( )

Destructor

Definition at line 69 of file CbmMvdClusterfinder.cxx.

References fCluster.

◆ CbmMvdClusterfinder() [3/3]

CbmMvdClusterfinder::CbmMvdClusterfinder ( const CbmMvdClusterfinder & )
private

Member Function Documentation

◆ ClassDef()

CbmMvdClusterfinder::ClassDef ( CbmMvdClusterfinder ,
1  )
private

◆ Exec()

void CbmMvdClusterfinder::Exec ( Option_t * opt)

◆ Finish()

void CbmMvdClusterfinder::Finish ( )
privatevirtual

Called once when finishing a run

Definition at line 248 of file CbmMvdClusterfinder.cxx.

References fDetector, CbmMvdDetector::Finish(), and PrintParameters().

◆ GetMvdGeometry()

void CbmMvdClusterfinder::GetMvdGeometry ( )
private

Definition at line 260 of file CbmMvdClusterfinder.cxx.

◆ Init()

◆ operator=()

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

◆ ParametersToString()

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

Definition at line 267 of file CbmMvdClusterfinder.cxx.

Referenced by PrintParameters().

◆ PrintParameters()

void CbmMvdClusterfinder::PrintParameters ( ) const
private

Print digitisation parameters

Definition at line 264 of file CbmMvdClusterfinder.cxx.

References ParametersToString().

Referenced by Finish().

◆ ProcessData()

◆ Register()

void CbmMvdClusterfinder::Register ( )
private

Register the output arrays to the IOManager

◆ ReInit()

InitStatus CbmMvdClusterfinder::ReInit ( )
privatevirtual

Reinitialisation

Definition at line 243 of file CbmMvdClusterfinder.cxx.

◆ Reset()

void CbmMvdClusterfinder::Reset ( )
private

Clear the hit arrays

Definition at line 256 of file CbmMvdClusterfinder.cxx.

References fCluster.

◆ SetMode()

void CbmMvdClusterfinder::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 52 of file CbmMvdClusterfinder.h.

References fEventMode.

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

◆ ShowDebugHistos()

void CbmMvdClusterfinder::ShowDebugHistos ( )
inline

Definition at line 59 of file CbmMvdClusterfinder.h.

References fShowDebugHistos.

Member Data Documentation

◆ fBranchName

TString CbmMvdClusterfinder::fBranchName
private

Definition at line 73 of file CbmMvdClusterfinder.h.

◆ fCluster

TClonesArray* CbmMvdClusterfinder::fCluster
private

Definition at line 68 of file CbmMvdClusterfinder.h.

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

◆ fClusterPluginNr

UInt_t CbmMvdClusterfinder::fClusterPluginNr
private

Input array of events.

Definition at line 71 of file CbmMvdClusterfinder.h.

Referenced by Init(), and ProcessData().

◆ fDetector

CbmMvdDetector* CbmMvdClusterfinder::fDetector
private

Definition at line 65 of file CbmMvdClusterfinder.h.

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

◆ fDigiMan

CbmDigiManager* CbmMvdClusterfinder::fDigiMan
private

Definition at line 66 of file CbmMvdClusterfinder.h.

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

◆ fEventMode

ECbmRecoMode CbmMvdClusterfinder::fEventMode = ECbmRecoMode::Timeslice
private

Time-slice or event-by-event.

Definition at line 78 of file CbmMvdClusterfinder.h.

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

◆ fEvents

TClonesArray* CbmMvdClusterfinder::fEvents = nullptr
private

Definition at line 69 of file CbmMvdClusterfinder.h.

Referenced by Exec(), and Init().

◆ fMode

Int_t CbmMvdClusterfinder::fMode
private

Hit producer mode (0 = MAPS, 1 = Ideal)

Definition at line 63 of file CbmMvdClusterfinder.h.

◆ fNofTs

Int_t CbmMvdClusterfinder::fNofTs = 0
private

Number of time slices processed.

Definition at line 80 of file CbmMvdClusterfinder.h.

Referenced by Exec().

◆ fShowDebugHistos

Bool_t CbmMvdClusterfinder::fShowDebugHistos
private

Definition at line 64 of file CbmMvdClusterfinder.h.

Referenced by Init(), and ShowDebugHistos().

◆ fTimer

TStopwatch CbmMvdClusterfinder::fTimer
private

ROOT timer.

Definition at line 76 of file CbmMvdClusterfinder.h.

Referenced by Exec().


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