Go to the documentation of this file.
6 #ifndef CBMSTSDIGITIZE_H
7 #define CBMSTSDIGITIZE_H 1
9 #include "TStopwatch.h"
86 virtual void Exec(Option_t* opt);
102 virtual InitStatus
ReInit();
132 Double_t timeResolution,
135 Double_t zeroNoiseRate);
159 Double_t temperature,
161 Double_t cInterstrip);
182 Bool_t useLorentzShift = kTRUE,
183 Bool_t useDiffusion = kTRUE,
184 Bool_t useCrossTalk = kTRUE);
247 std::map<UInt_t, std::unique_ptr<CbmStsSimSensor>>
fSensors {};
317 virtual InitStatus
Init();
351 Double_t eventTime = 0.,
UInt_t InitSensors()
Instantiate sensors.
std::map< UInt_t, CbmStsSimModule * > fModules
TString fSensorConditionFile
File with sensor conditions.
Double_t fTimeDigiLast
Time of last digi sent to DAQ.
void SetGlobalAsicParams(UInt_t nAdc, Double_t dynRange, Double_t threshold, Double_t timeResolution, Double_t deadTime, Double_t noise, Double_t zeroNoiseRate)
Set individual module parameters.
TClonesArray * fTracks
Input array of CbmMCTrack.
TString fSensorParameterFile
File with sensor parameters.
Bool_t fIsInitialised
kTRUE if Init() was called
Parameters for operating conditions of a STS sensor.
Int_t fNofDigis
Number of created digis in Exec.
CbmStsParSim * fUserParSim
Settings for simulation.
Int_t BufferSize() const
Number of signals in the analogue buffers @value nSignals Sum of number of signals in all modules.
CbmStsParModule * fUserParModule
User defined, global.
Task class for simulating the detector response of the STS.
Int_t fNofEvents
Total number of procesed events.
void ProcessAnalogBuffers(Double_t readoutTime)
CbmStsParSetSensor * fParSetSensor
Sensor parameters.
Int_t fNofSignalsB
Number of signals on back side.
CbmStsParSensor * fUserParSensor
User defined, global.
Int_t fNofPointsProc
Number of processed points.
Int_t fNofSignalsF
Number of signals on front side.
TClonesArray * fPoints
Sensor factory.
void SetSensorConditionFile(const char *fileName)
Set the file name with sensor conditions.
void ResetCounters()
Reset event counters.
Int_t GetNofSignalsF() const
virtual ~CbmStsDigitize()
Double_t fSensorStereoB
Stereo angle back side [degrees].
Parameters container for CbmStsParSensorCond.
Double_t fNofNoiseTot
Total number of noise digis.
Constructional parameters of a STS sensor.
virtual void SetParContainers()
Inherited from FairTask.
Double_t fNofPointsProcTot
Total number of processed points.
Parameters container for CbmStsParSensor.
CbmStsELoss
Energy loss model used in simulation.
std::string BufferStatus() const
Status of the analogue buffers.
Base class template for CBM digitisation tasks.
Parameters of the STS readout ASIC.
Double_t fNofSignalsBTot
Number of signals on back side.
Int_t fNofPointsIgno
Number of ignored points.
Parameters for one STS module.
Double_t fUserDinactive
Size of inactive sensor border [cm].
void SetSensorParameterFile(const char *fileName)
Set the file name with sensor parameters.
Int_t GetNofSignalsB() const
std::map< UInt_t, std::unique_ptr< CbmStsSimSensor > > fSensors
void CreateDigi(Int_t address, UShort_t channel, Long64_t time, UShort_t adc, const CbmMatch &match)
TStopwatch fTimer
ROOT timer.
Double_t fNofDigisTot
Total number of digis created.
Class representing the top level of the STS setup.
void ProcessPoint(const CbmStsPoint *point, Double_t eventTime=0., CbmLink *link=NULL)
CbmStsParSetModule * fParSetModule
Module parameter.
Double_t fSensorDinact
Size of inactive border [cm].
void UseOnlyPrimaries(Bool_t flag=kTRUE)
Discard processing of secondary tracks.
ECbmModuleId GetSystemId() const
Detector system ID.
CbmStsParSensorCond * fUserParCond
User defined, global.
void SetGlobalDefaults()
Set global default parameters.
TString fModuleParameterFile
File with module parameters.
Double_t fNofPointsIgnoTot
Total number of ignored points.
UInt_t InitModules()
Instantiate modules.
virtual void Exec(Option_t *opt)
Double_t fSensorPitch
Strip pitch [cm].
Settings for STS simulation (digitizer)
void SetGlobalModuleParams(UInt_t nChannels, UInt_t nAsicChannels)
Set the global module parameters.
Double_t fTimeDigiFirst
Time of first digi sent to DAQ.
ClassDef(CbmStsDigitize, 5)
CbmStsParAsic * fUserParAsic
User defined, global.
Parameters container for CbmStsParModule.
CbmStsDigitize operator=(const CbmStsDigitize &)
CbmStsParSim * fParSim
Simulation settings.
CbmStsSimSensorFactory * fSensorFactory
STS setup interface.
void InitParams()
Initialise the parameters.
virtual InitStatus ReInit()
Double_t fTimeTot
Total execution time.
Double_t fSensorStereoF
Stereo angle front side [degrees].
void SetModuleParameterFile(const char *fileName)
Set the file name with module parameters.
@ kSts
Silicon Tracking System.
Double_t fNofSignalsFTot
Number of signals on front side.
virtual InitStatus Init()
CbmStsParSetSensorCond * fParSetCond
Sensor conditions.
void SetGlobalSensorConditions(Double_t vDep, Double_t vBias, Double_t temperature, Double_t cCoupling, Double_t cInterstrip)
Set the global sensor conditions.
void SetProcesses(CbmStsELoss eLossModel, Bool_t useLorentzShift=kTRUE, Bool_t useDiffusion=kTRUE, Bool_t useCrossTalk=kTRUE)
CbmStsDigitize(const CbmStsDigitize &)