Go to the documentation of this file.
7 #ifndef CBMSTSPARSETSENSOR_H
8 #define CBMSTSPARSETSENSOR_H 1
11 #include <RtypesCore.h>
13 #include <FairParGenericSet.h>
39 const char* title =
"STS parameters",
40 const char* context =
"Default");
63 virtual Bool_t
getParams(FairParamList* parList);
85 virtual void putParams(FairParamList* parList);
ClassDef(CbmStsParSetSensor, 1)
virtual void clear()
Reset all parameters.
CbmStsParSetSensor(const char *name="CbmParSetSensor", const char *title="STS parameters", const char *context="Default")
Constructor.
CbmStsParSetSensor & operator=(CbmStsParSetSensor &&)=delete
Move assignment operator (disabled)
std::string ToString() const
Info to string.
Bool_t fUseGlobal
Flag for using global parameters.
CbmStsParSetSensor & operator=(const CbmStsParSetSensor &)=delete
Copy assignment operator (disabled)
void SetParSensor(UInt_t address, const CbmStsParSensor &par)
Set the parameters for a sensor.
Constructional parameters of a STS sensor.
const CbmStsParSensor & GetParSensor(UInt_t address)
Get condition parameters of a sensor.
Parameters container for CbmStsParSensor.
virtual ~CbmStsParSetSensor()
Destructor.
virtual Bool_t getParams(FairParamList *parList)
Reading parameters from ASCII. Abstract in base class.
std::map< UInt_t, CbmStsParSensor > fParams
Map of parameters. Key is sensor address.
void SetGlobalPar(const CbmStsParSensor ¶ms)
Set global parameters (for all modules)
CbmStsParSensor fGlobalParams
Global parameters, used for all modules.
CbmStsParSetSensor(CbmStsParSetSensor &&)=delete
Move constructor (disabled)
CbmStsParSetSensor(const CbmStsParSetSensor &)=delete
Copy constructor (disabled)
virtual void putParams(FairParamList *parList)
Writing parameters to ASCII. Abstract in base class.