Go to the documentation of this file.
7 #ifndef CBMSTSPARSETSENSORCOND_H
8 #define CBMSTSPARSETSENSORCOND_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);
91 virtual void putParams(FairParamList* parList);
121 Double_t temperature,
123 Double_t cInterstrip);
151 std::map<UInt_t, CbmStsParSensorCond>
fParams {};
Parameters for operating conditions of a STS sensor.
virtual ~CbmStsParSetSensorCond()
Destructor.
void SetGlobalPar(Double_t vDep, Double_t vBias, Double_t temperature, Double_t cCoupling, Double_t cInterstrip)
Set global conditions (for all sensors)
virtual void clear()
Reset all parameters.
Bool_t IsSet() const
Check for parameter set being filled.
CbmStsParSetSensorCond & operator=(const CbmStsParSetSensorCond &)=delete
Copy assignment operator (disabled)
CbmStsParSetSensorCond(const CbmStsParSetSensorCond &)=delete
Copy constructor (disabled)
Parameters container for CbmStsParSensorCond.
CbmStsParSensorCond fGlobalParams
Global parameters, used for all sensors.
CbmStsParSetSensorCond(const char *name="CbmStsParSetSensorCond", const char *title="STS parameters", const char *context="Default")
Constructor.
std::string ToString()
Info to string.
CbmStsParSetSensorCond & operator=(CbmStsParSetSensorCond &&)=delete
Move assignment operator (disabled)
Bool_t fGlobal
Use global parameters for all sensors.
UInt_t ReadParams(const char *fileName)
Read sensor conditions from file.
virtual void putParams(FairParamList *parList)
Writing parameters to ASCII. Abstract in base class.
ClassDef(CbmStsParSetSensorCond, 2)
Initialisation flag.
std::map< UInt_t, CbmStsParSensorCond > fParams
Map of parameters. Key is sensor address.
virtual Bool_t getParams(FairParamList *parList)
Reading parameters from ASCII. Abstract in base class.
CbmStsParSetSensorCond(CbmStsParSetSensorCond &&)=delete
Move constructor (disabled)
const CbmStsParSensorCond & GetParSensor(UInt_t address)
Get condition parameters of a sensor.
void Init()
Initialise all condition parameters.