11#ifndef CBMSTSPARSETSENSORCOND_H
12#define CBMSTSPARSETSENSORCOND_H 1
16#include <FairParGenericSet.h>
19#include <RtypesCore.h>
43 const char* context =
"Default");
58 virtual Bool_t
getParams(FairParamList* parList);
78 virtual void putParams(FairParamList* parList);
106 void SetGlobalPar(Double_t vDep, Double_t vBias, Double_t temperature, Double_t cCoupling, Double_t cInterstrip);
134 std::map<UInt_t, CbmStsParSensorCond>
fParams {};
Parameters for operating conditions of a STS sensor.
Parameters container for CbmStsParSensorCond.
std::string ToString()
Info to string.
void Init()
Initialise all condition parameters.
ClassDef(CbmStsParSetSensorCond, 2)
Initialisation flag.
UInt_t ReadParams(const char *fileName)
Read sensor conditions from file.
virtual void putParams(FairParamList *parList)
Writing parameters to ASCII. Abstract in base class.
void SetGlobalPar(Double_t vDep, Double_t vBias, Double_t temperature, Double_t cCoupling, Double_t cInterstrip)
Set global conditions (for all sensors)
CbmStsParSensorCond fGlobalParams
Global parameters, used for all sensors.
Bool_t fGlobal
Use global parameters for all sensors.
std::map< UInt_t, CbmStsParSensorCond > fParams
Map of parameters. Key is sensor address.
CbmStsParSetSensorCond(const char *name="CbmStsParSetSensorCond", const char *title="STS parameters", const char *context="Default")
Constructor.
virtual void clear()
Reset all parameters.
const CbmStsParSensorCond & GetParSensor(UInt_t address)
Get condition parameters of a sensor.
virtual Bool_t getParams(FairParamList *parList)
Reading parameters from ASCII. Abstract in base class.
Bool_t IsSet() const
Check for parameter set being filled.
virtual ~CbmStsParSetSensorCond()
Destructor.