CbmRoot
Loading...
Searching...
No Matches
CbmRecoStsPixel.h
Go to the documentation of this file.
1/* Copyright (C) 2021 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Sergey Gorbunov [committer] */
4
11#ifndef CbmRecoStsPixel_H
12#define CbmRecoStsPixel_H 1
13
14#include "CbmRecoSts.h"
15
16#include <FairTask.h>
17
18#include <TStopwatch.h>
19
20
21class CbmDigiManager;
22class CbmEvent;
23class CbmStsElement;
24class CbmStsParAsic;
25class CbmStsParModule;
26class CbmStsParSensor;
31class CbmStsParSim;
33class CbmStsSensor;
34class CbmStsSetup;
35class CbmMCDataArray;
36
49class CbmRecoStsPixel : public FairTask {
50
51 public:
54
55
58
59
62
63
66
67
69 void Exec(Option_t* opt);
70
71
73 void Finish();
74
75
77 InitStatus Init();
78
79
90 void SetEventMode(Bool_t choice = kTRUE) { fMode = (choice ? ECbmRecoMode::EventByEvent : ECbmRecoMode::Timeslice); }
91
92
100 void SetMode(ECbmRecoMode mode) { fMode = mode; }
101
102
104 void SetParContainers();
105
106
107 private:
113 void ProcessData(CbmEvent* event = nullptr);
114
115 private:
116 // --- I/O
117 TClonesArray* fEvents = nullptr;
120 TClonesArray* fClusters = nullptr;
121 TClonesArray* fHits = nullptr;
122
123 // --- Setup and parameters
124 CbmStsSetup* fSetup = nullptr;
129
130
131 // --- Settings
133
135};
136
137#endif
ECbmRecoMode
Reconstruct the full time slice or event-by-event.
Definition CbmDefs.h:162
CbmDigiManager.
Class characterising one event by a collection of links (indices) to data objects,...
Definition CbmEvent.h:34
Access to a MC data branch for time-based analysis.
Task class for local reconstruction in the STS Pixel detector.
void Exec(Option_t *opt)
Task execution.
CbmStsParSetSensorCond * fParSetCond
Sensor conditions.
void SetEventMode(Bool_t choice=kTRUE)
Set event-by-event mode.
CbmRecoStsPixel(const CbmRecoStsPixel &)=delete
Copy constructor (disabled)
ClassDef(CbmRecoStsPixel, 0)
TClonesArray * fEvents
CbmStsParSetModule * fParSetModule
Module parameters.
TClonesArray * fClusters
void SetParContainers()
Define the needed parameter containers.
CbmMCDataArray * fStsPoints
Interface to digi branch.
InitStatus Init()
Initialisation.
TClonesArray * fHits
Output cluster array.
CbmDigiManager * fDigiManager
Input array of events.
CbmStsParSetSensor * fParSetSensor
Sensor parameters.
CbmRecoStsPixel(ECbmRecoMode mode=ECbmRecoMode::Timeslice)
Constructor.
void SetMode(ECbmRecoMode mode)
Set execution mode.
~CbmRecoStsPixel()
Destructor
ECbmRecoMode fMode
Time-slice or event.
CbmRecoStsPixel operator=(const CbmRecoStsPixel &)=delete
Assignment operator (disabled)
CbmStsParSim * fParSim
Instance of STS setup.
void ProcessData(CbmEvent *event=nullptr)
Process one time slice or event.
void Finish()
End-of-run action.
CbmStsSetup * fSetup
Output hit array.
Class representing an element of the STS setup.
Parameters of the STS readout ASIC.
Parameters for one STS module.
Parameters for operating conditions of a STS sensor.
Constructional parameters of a STS sensor.
Parameters container for CbmStsParModule.
Parameters container for CbmStsParSensorCond.
Parameters container for CbmStsParSensor.
Settings for STS simulation (digitizer)
Class for reconstruction in one STS module.
Class representing an instance of a sensor in the CBM-STS.
Class representing the top level of the STS setup.
Definition CbmStsSetup.h:43