Go to the documentation of this file.
6 #ifndef CBMSTSSIMSENSOR_H
7 #define CBMSTSSIMSENSOR_H 1
89 virtual Bool_t
Init() {
return kTRUE; }
107 Double_t eventTime = 0.,
134 void SetField(Double_t bX, Double_t bY, Double_t bZ) {
void SetElement(CbmStsElement *element)
Set the corresponding STS setup element.
void SetSimSettings(const CbmStsParSim *settings)
Set the simulation settings.
Int_t ProcessPoint(const CbmStsPoint *point, Double_t eventTime=0., CbmLink *link=NULL)
Process one MC Point.
Parameters for operating conditions of a STS sensor.
virtual ~CbmStsSimSensor()
Destructor
const CbmStsParSim * fSettings
Simulation module.
Container class for a local point in a STS sensor.
Class for the simulation of a sensor in the CBM-STS.
const CbmStsParSensorCond * GetConditions() const
Sensor conditions.
static UInt_t GetAddressFromName(TString name)
Get the address from the sensor name (static)
CbmStsSimSensor(CbmStsElement *element=nullptr)
Standard constructor.
CbmLink * GetCurrentLink() const
Current link object.
virtual Int_t CalculateResponse(CbmStsSensorPoint *point)=0
Link to currently processed MCPoint.
void SetModule(CbmStsSimModule *module)
Set the corresponding simulation module.
CbmStsSimModule * GetModule() const
Simulation module.
CbmStsSimSensor(const CbmStsSimSensor &)=delete
Copy constructor (disabled)
Double_t fBx
Operating conditions.
Double_t fBy
y component of magnetic field in sensor centre
void SetConditions(const CbmStsParSensorCond *conditions)
Double_t fBz
z component of magnetic field in sensor centre
const CbmStsParSensorCond * fConditions
Simulation settings.
CbmStsElement * GetElement() const
Corresponding element in STS setup.
void SetField(Double_t bX, Double_t bY, Double_t bZ)
Set the magnetic field in the sensor centre.
Settings for STS simulation (digitizer)
virtual std::string ToString() const =0
Set the sensor parameters.
Int_t GetSensorId() const
Sensor ID.
Class for the simulation of a readout unit in the CBM-STS.
CbmStsSimModule * fModule
Setup element.
virtual Bool_t Init()
Initialise the sensor, if needed.
ClassDef(CbmStsSimSensor, 1)
Class representing an element of the STS setup.
CbmStsSimSensor & operator=(const CbmStsSimSensor &)=delete
Assignment operator (disabled)