//*-- Author : RafaƂ Lalik //*-- Created : 01.07.2025 //_HADES_CLASS_DESCRIPTION ///////////////////////////////////////////////////////////// // HFRpcCalibraterPar // // Container class of Forward RPC calibrater par // ///////////////////////////////////////////////////////////// #include "hfrpccalibraterpar.h" #include "hparamlist.h" ClassImp(HFRpcCalibraterPar) HFRpcCalibraterPar::HFRpcCalibraterPar(const Char_t *name, const Char_t *title, const Char_t *context) : HParCond(name, title, context) { clear(); } void HFRpcCalibraterPar::clear() { fWindowLow = 0.0; fWindowHigh = 0.0; status = kFALSE; resetInputVersions(); changed = kFALSE; } void HFRpcCalibraterPar::putParams(HParamList *l) { // puts all parameters to the parameter list, which is used by the io if (!l) return; l->add("fWindowLow", fWindowLow); l->add("fWindowHigh", fWindowHigh); } Bool_t HFRpcCalibraterPar::getParams(HParamList *l) { // gets all parameters from the parameter list, which is used by the io if (!l) return kFALSE; if (!(l->fill("fWindowLow", &fWindowLow))) return kFALSE; if (!(l->fill("fWindowHigh", &fWindowHigh))) return kFALSE; return kTRUE; }