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

Task class for local reconstruction in the STS Pixel detector. More...

#include <CbmRecoStsPixel.h>

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

Public Member Functions

 CbmRecoStsPixel (ECbmRecoMode mode=ECbmRecoMode::Timeslice)
 Constructor.
 
 CbmRecoStsPixel (const CbmRecoStsPixel &)=delete
 Copy constructor (disabled)
 
CbmRecoStsPixel operator= (const CbmRecoStsPixel &)=delete
 Assignment operator (disabled)
 
 ~CbmRecoStsPixel ()
 Destructor

 
void Exec (Option_t *opt)
 Task execution.
 
void Finish ()
 End-of-run action.
 
InitStatus Init ()
 Initialisation.
 
void SetEventMode (Bool_t choice=kTRUE)
 Set event-by-event mode.
 
void SetMode (ECbmRecoMode mode)
 Set execution mode.
 
void SetParContainers ()
 Define the needed parameter containers.
 

Private Member Functions

void ProcessData (CbmEvent *event=nullptr)
 Process one time slice or event.
 
 ClassDef (CbmRecoStsPixel, 0)
 

Private Attributes

TClonesArray * fEvents = nullptr
 
CbmDigiManagerfDigiManager = nullptr
 Input array of events.
 
CbmMCDataArrayfStsPoints {nullptr}
 Interface to digi branch.
 
TClonesArray * fClusters = nullptr
 
TClonesArray * fHits = nullptr
 Output cluster array.
 
CbmStsSetupfSetup = nullptr
 Output hit array.
 
CbmStsParSimfParSim = nullptr
 Instance of STS setup.
 
CbmStsParSetModulefParSetModule = nullptr
 Module parameters.
 
CbmStsParSetSensorfParSetSensor = nullptr
 Sensor parameters.
 
CbmStsParSetSensorCondfParSetCond = nullptr
 Sensor conditions.
 
ECbmRecoMode fMode = ECbmRecoMode::Timeslice
 Time-slice or event.
 

Detailed Description

Task class for local reconstruction in the STS Pixel detector.

Author
Sergey Gorbunov
Since
09.12.2021
Date
09.12.2021

Local reconstruction for the experimental STS Pixel detector

The STS digis must be produced by the CbmStsDigitizePixel task. To run it, replace CbmRecoSts task by CbmRecoStsPixel task in the run_reco.C macro

Definition at line 49 of file CbmRecoStsPixel.h.

Constructor & Destructor Documentation

◆ CbmRecoStsPixel() [1/2]

CbmRecoStsPixel::CbmRecoStsPixel ( ECbmRecoMode mode = ECbmRecoMode::Timeslice)

Constructor.

◆ CbmRecoStsPixel() [2/2]

CbmRecoStsPixel::CbmRecoStsPixel ( const CbmRecoStsPixel & )
delete

Copy constructor (disabled)

◆ ~CbmRecoStsPixel()

CbmRecoStsPixel::~CbmRecoStsPixel ( )

Destructor

Definition at line 62 of file CbmRecoStsPixel.cxx.

Member Function Documentation

◆ ClassDef()

CbmRecoStsPixel::ClassDef ( CbmRecoStsPixel ,
0  )
private

◆ Exec()

void CbmRecoStsPixel::Exec ( Option_t * opt)

Task execution.

Definition at line 182 of file CbmRecoStsPixel.cxx.

References fClusters, fEvents, fHits, fMode, ProcessData(), and Timeslice.

◆ Finish()

void CbmRecoStsPixel::Finish ( )

End-of-run action.

Definition at line 67 of file CbmRecoStsPixel.cxx.

◆ Init()

◆ operator=()

CbmRecoStsPixel CbmRecoStsPixel::operator= ( const CbmRecoStsPixel & )
delete

Assignment operator (disabled)

◆ ProcessData()

void CbmRecoStsPixel::ProcessData ( CbmEvent * event = nullptr)
private

◆ SetEventMode()

void CbmRecoStsPixel::SetEventMode ( Bool_t choice = kTRUE)
inline

Set event-by-event mode.

Parameters
choiceIf true, event-by-event mode is used

In the event-by-event mode, the event objects in the input tree are used, and events are processed one after the other. An event builder has to be run before, creating the event objects. By default, time-slice mode is applied.

Alternative to using SetMode.

Definition at line 90 of file CbmRecoStsPixel.h.

References EventByEvent, fMode, and Timeslice.

◆ SetMode()

void CbmRecoStsPixel::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 100 of file CbmRecoStsPixel.h.

References fMode.

◆ SetParContainers()

void CbmRecoStsPixel::SetParContainers ( )

Define the needed parameter containers.

Definition at line 314 of file CbmRecoStsPixel.cxx.

References fParSetCond, fParSetModule, fParSetSensor, and fParSim.

Member Data Documentation

◆ fClusters

TClonesArray* CbmRecoStsPixel::fClusters = nullptr
private

Definition at line 120 of file CbmRecoStsPixel.h.

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

◆ fDigiManager

CbmDigiManager* CbmRecoStsPixel::fDigiManager = nullptr
private

Input array of events.

Definition at line 118 of file CbmRecoStsPixel.h.

Referenced by Init(), and ProcessData().

◆ fEvents

TClonesArray* CbmRecoStsPixel::fEvents = nullptr
private

Definition at line 117 of file CbmRecoStsPixel.h.

Referenced by Exec(), and Init().

◆ fHits

TClonesArray* CbmRecoStsPixel::fHits = nullptr
private

Output cluster array.

Definition at line 121 of file CbmRecoStsPixel.h.

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

◆ fMode

ECbmRecoMode CbmRecoStsPixel::fMode = ECbmRecoMode::Timeslice
private

Time-slice or event.

Definition at line 132 of file CbmRecoStsPixel.h.

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

◆ fParSetCond

CbmStsParSetSensorCond* CbmRecoStsPixel::fParSetCond = nullptr
private

Sensor conditions.

Definition at line 128 of file CbmRecoStsPixel.h.

Referenced by Init(), and SetParContainers().

◆ fParSetModule

CbmStsParSetModule* CbmRecoStsPixel::fParSetModule = nullptr
private

Module parameters.

Definition at line 126 of file CbmRecoStsPixel.h.

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

◆ fParSetSensor

CbmStsParSetSensor* CbmRecoStsPixel::fParSetSensor = nullptr
private

Sensor parameters.

Definition at line 127 of file CbmRecoStsPixel.h.

Referenced by Init(), and SetParContainers().

◆ fParSim

CbmStsParSim* CbmRecoStsPixel::fParSim = nullptr
private

Instance of STS setup.

Simulation settings

Definition at line 125 of file CbmRecoStsPixel.h.

Referenced by Init(), and SetParContainers().

◆ fSetup

CbmStsSetup* CbmRecoStsPixel::fSetup = nullptr
private

Output hit array.

Definition at line 124 of file CbmRecoStsPixel.h.

Referenced by Init().

◆ fStsPoints

CbmMCDataArray* CbmRecoStsPixel::fStsPoints {nullptr}
private

Interface to digi branch.

Definition at line 119 of file CbmRecoStsPixel.h.

Referenced by Init(), and ProcessData().


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