Go to the documentation of this file.
7 #include <FairLogger.h>
19 : FairParGenericSet(name, title, context) {
20 LOG(info) <<
"Constructor";
42 LOG(fatal) << GetName() <<
": ASCII input is not defined!";
59 LOG(fatal) << GetName() <<
": ASCII output is not defined!";
68 LOG(fatal) << GetName() <<
": Replacing parameters for sensor address "
84 ss <<
"Parameters for " <<
fParams.size() <<
" sensors";
virtual void clear()
Reset all parameters.
CbmStsParSetSensor(const char *name="CbmParSetSensor", const char *title="STS parameters", const char *context="Default")
Constructor.
ClassImp(CbmStsParSetSensor) CbmStsParSetSensor
std::string ToString() const
Info to string.
Bool_t fUseGlobal
Flag for using global parameters.
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.
CbmStsParSensor fGlobalParams
Global parameters, used for all modules.
std::string ToString() const
Info to string.
virtual void putParams(FairParamList *parList)
Writing parameters to ASCII. Abstract in base class.