//*-- Author : RafaƂ Lalik //*-- Created : 01.06.2016 //_HADES_CLASS_DESCRIPTION ///////////////////////////////////////////////////////////// // HStsDigiGeomPar // // Container class of Forward Straw detector Digi par // ///////////////////////////////////////////////////////////// #include "hstscalibraterpar.h" #include "hparamlist.h" ClassImp(HStsCalibraterPar) HStsCalibraterPar::HStsCalibraterPar(const Char_t *name, const Char_t *title, const Char_t *context) : HParCond(name, title, context) { clear(); } void HStsCalibraterPar::clear() { fWindowLow = 0.0; fWindowHigh = 0.0; status = kFALSE; resetInputVersions(); changed = kFALSE; } void HStsCalibraterPar::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 HStsCalibraterPar::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; }