//_HADES_CLASS_DESCRIPTION /////////////////////////////////////////////////////////////////////////////// // HRichIPUParLocMax // // Parameters for RICH IPU LocMax // /////////////////////////////////////////////////////////////////////////////// using namespace std; #include "hrichIPUparlocmax.h" #include "hparamlist.h" #include #include ClassImp(HRichIPUParLocMax) void HRichIPUParLocMax::setDefaults(void) { // sets the default values locmax=0; locmax_flag=0; } HRichIPUParLocMax::HRichIPUParLocMax(const Char_t* name,const Char_t* title, const Char_t* context) : HParCond(name,title,context) { // The container name is set to "RichIPUParLocMax" } HRichIPUParLocMax::~HRichIPUParLocMax(void) { // destructor } void HRichIPUParLocMax::putParams(HParamList* l) { if (!l) return; l->add("locmax",locmax); l->add("locmax_flag",locmax_flag); } Bool_t HRichIPUParLocMax::getParams(HParamList* l) { if (!l) return kFALSE; if (!l->fill("locmax",&locmax)) return kFALSE; if (!l->fill("locmax_flag",&locmax_flag)) return kFALSE; return kTRUE; } void HRichIPUParLocMax::clear(){ // sets the default values setDefaults(); status=kFALSE; resetInputVersions(); } void HRichIPUParLocMax::printParam(void) { // prints the parameters printf("\n Parameters for RICH IPU LocMax\n"); printf(" Format:\n"); printf(" locmax_flag locmax\n"); printf("==============================================================\n"); cout << "PRINTPARAM " << getLocMaxFlag() << " " << getLocMax() << endl; printf("==============================================================\n"); }