Go to the documentation of this file.
8 #define CBMSTSSETUP_H 1
11 #include <RtypesCore.h>
13 #include <FairLogger.h>
118 Bool_t
Init(
const char* geometryFile =
nullptr);
156 LOG(info) << it->second->ToString();
Bool_t fIsSensorCondInit
Sensor conditions set.
std::vector< CbmStsSensor * > fSensorVector
CbmStsSetup operator=(const CbmStsSetup &)=delete
Assignment operator (disabled)
UInt_t SetSensorConditions(CbmStsParSetSensorCond *conds)
Set sensor conditions from parameter container.
CbmStsSetup()
Default constructor
static CbmStsSetup * Instance()
Bool_t IsSensorParsInit() const
Initialisation status for sensor parameters.
CbmStsSetup(const CbmStsSetup &)=delete
Copy constructor (disabled)
UInt_t SetSensorParameters(CbmStsParSetSensor *parSet)
Set sensor parameters from parameter container.
Int_t CreateStations()
Create station objects.
const char * GetLevelName(Int_t level) const
Int_t GetNofStations() const
Bool_t fIsInitialised
All parameter containers set.
Bool_t fHasStations
Legacy with stations instead of units.
Parameters container for CbmStsParSensorCond.
Class representing an instance of a readout unit in the CBM-STS.
static CbmStsSetup * fgInstance
Static instance of this class.
std::vector< CbmStsModule * > fModuleVector
Parameters container for CbmStsParSensor.
Bool_t IsSensorCondInit() const
Initialisation status for sensor conditions.
Int_t GetStationNumber(Int_t address)
CbmStsSensor * GetSensor(Int_t index) const
Get a sensor from the sensor array.
std::map< Int_t, CbmStsModule * > fModules
Class representing an instance of a sensor in the CBM-STS.
Bool_t IsModuleParsInit() const
Initialisation status for module parameters.
Bool_t Init(const char *geometryFile=nullptr)
Initialise the setup.
Class representing the top level of the STS setup.
CbmStsModule * GetModule(Int_t index) const
Get a module from the module array.
CbmStsStation * GetStation(Int_t stationId) const
UInt_t SetModuleParameters(CbmStsParSetModule *modulePars)
Set module parameters from parameter container.
Parameters container for CbmStsParModule.
CbmStsElement * GetElement(Int_t address, Int_t level)
Int_t GetNofSensors() const
Int_t GetNofModules() const
std::map< Int_t, CbmStsStation * > fStations
Class representing an element of the STS setup.
Bool_t fIsModuleParsInit
Module parameters set.
Class representing a station of the StsSystem.
Bool_t IsInit() const
Initialisation status for sensor parameters.
std::map< Int_t, CbmStsSensor * > fSensors
Bool_t ReadGeometry(TGeoManager *geoManager)
Read the geometry from TGeoManager.
Bool_t fIsSensorParsInit
Sensor parameters set.