14#define CBMSTSSENSOR_H 1
20#include <RtypesCore.h>
30class TGeoPhysicalNode;
139 virtual std::string
ToString()
const;
Class characterising one event by a collection of links (indices) to data objects,...
Data class for STS clusters.
Class representing an element of the STS setup.
TGeoPhysicalNode * fNode
Pointer to geometry.
Int_t fAddress
Unique element address.
Class representing an instance of a readout unit in the CBM-STS.
Parameters for operating conditions of a STS sensor.
Constructional parameters of a STS sensor.
Class representing an instance of a sensor in the CBM-STS.
const CbmStsParSensorCond * GetConditions() const
Sensor conditions.
const CbmStsParSensor * GetParams() const
Sensor parameters.
virtual std::string ToString() const
String output.
ClassDef(CbmStsSensor, 2)
static UInt_t GetAddressFromName(TString name)
Get the address from the sensor name (static)
CbmStsSensor & operator=(const CbmStsSensor &)=delete
Copy assignment constructor (disabled)
Int_t GetSensorId() const
Sensor Id within the module.
void SetNode(TGeoPhysicalNode *node)
Set the physical node.
void SetConditions(const CbmStsParSensorCond *conditions)
Set the sensor conditions.
CbmStsSensor(UInt_t address=0, TGeoPhysicalNode *node=nullptr, CbmStsElement *mother=nullptr)
const CbmStsParSensor * fParams
Sensor parameters.
void SetAddress(Int_t address)
Set sensor address.
CbmStsModule * GetModule() const
Get mother module.
CbmStsParSensorCond * fConditions
Operating conditions.
void SetParameters(const CbmStsParSensor *par)
Set the sensor parameters.
TGeoPhysicalNode * GetNode() const
CbmStsSensor(const CbmStsSensor &)=delete
Copy constructor (disabled)
uint32_t GetElementId(int32_t address, int32_t level)
Get the index of an element.