ROOT logo
//_HADES_CLASS_DESCRIPTION 
/////////////////////////////////////////////////////////////
// HWallEventPlanePar
//
// Container class for Wall EventPlane parameters
//
/////////////////////////////////////////////////////////////

#include "hwalleventplanepar.h"
#include "hparamlist.h"

ClassImp(HWallEventPlanePar)

    HWallEventPlanePar::HWallEventPlanePar(const Char_t* name,const Char_t* title,
					   const Char_t* context)
    : HParCond(name,title,context)
{
    // constructor
    clear();
}

void HWallEventPlanePar::clear() {
    // clears the container
    fT1_cut = 0.F;
    fT2_cut = 0.F;
    fX_shift = 0.F;
    fY_shift = 0.F;
    fR0_cut = 0.F;
    fZ1_cut_s = 0.F;
    fZ1_cut_m = 0.F;
    fZ1_cut_l = 0.F;

    status   = kFALSE;
    resetInputVersions();
}

void HWallEventPlanePar::putParams(HParamList* l) {
    // puts all parameters to the parameter list, which is used by the io
    if (!l) return;
    l->add("fT1_cut",fT1_cut);
    l->add("fT2_cut",fT2_cut);
    l->add("fX_shift",fX_shift);
    l->add("fY_shift",fY_shift);
    l->add("fR0_cut",fR0_cut);
    l->add("fZ1_cut_s",fZ1_cut_s);
    l->add("fZ1_cut_m",fZ1_cut_m);
    l->add("fZ1_cut_l",fZ1_cut_l);
}

Bool_t HWallEventPlanePar::getParams(HParamList* l) {
    // gets all parameters from the parameter list, which is used by the io
    if (!l) return kFALSE;
    if (!(l->fill("fT1_cut",&fT1_cut))) return kFALSE;
    if (!(l->fill("fT2_cut",&fT2_cut))) return kFALSE;
    if (!(l->fill("fX_shift",&fX_shift))) return kFALSE;
    if (!(l->fill("fY_shift",&fY_shift))) return kFALSE;
    if (!(l->fill("fR0_cut",&fR0_cut))) return kFALSE;
    if (!(l->fill("fZ1_cut_s",&fZ1_cut_s))) return kFALSE;
    if (!(l->fill("fZ1_cut_m",&fZ1_cut_m))) return kFALSE;
    if (!(l->fill("fZ1_cut_l",&fZ1_cut_l))) return kFALSE;

    return kTRUE;
}
 hwalleventplanepar.cc:1
 hwalleventplanepar.cc:2
 hwalleventplanepar.cc:3
 hwalleventplanepar.cc:4
 hwalleventplanepar.cc:5
 hwalleventplanepar.cc:6
 hwalleventplanepar.cc:7
 hwalleventplanepar.cc:8
 hwalleventplanepar.cc:9
 hwalleventplanepar.cc:10
 hwalleventplanepar.cc:11
 hwalleventplanepar.cc:12
 hwalleventplanepar.cc:13
 hwalleventplanepar.cc:14
 hwalleventplanepar.cc:15
 hwalleventplanepar.cc:16
 hwalleventplanepar.cc:17
 hwalleventplanepar.cc:18
 hwalleventplanepar.cc:19
 hwalleventplanepar.cc:20
 hwalleventplanepar.cc:21
 hwalleventplanepar.cc:22
 hwalleventplanepar.cc:23
 hwalleventplanepar.cc:24
 hwalleventplanepar.cc:25
 hwalleventplanepar.cc:26
 hwalleventplanepar.cc:27
 hwalleventplanepar.cc:28
 hwalleventplanepar.cc:29
 hwalleventplanepar.cc:30
 hwalleventplanepar.cc:31
 hwalleventplanepar.cc:32
 hwalleventplanepar.cc:33
 hwalleventplanepar.cc:34
 hwalleventplanepar.cc:35
 hwalleventplanepar.cc:36
 hwalleventplanepar.cc:37
 hwalleventplanepar.cc:38
 hwalleventplanepar.cc:39
 hwalleventplanepar.cc:40
 hwalleventplanepar.cc:41
 hwalleventplanepar.cc:42
 hwalleventplanepar.cc:43
 hwalleventplanepar.cc:44
 hwalleventplanepar.cc:45
 hwalleventplanepar.cc:46
 hwalleventplanepar.cc:47
 hwalleventplanepar.cc:48
 hwalleventplanepar.cc:49
 hwalleventplanepar.cc:50
 hwalleventplanepar.cc:51
 hwalleventplanepar.cc:52
 hwalleventplanepar.cc:53
 hwalleventplanepar.cc:54
 hwalleventplanepar.cc:55
 hwalleventplanepar.cc:56
 hwalleventplanepar.cc:57
 hwalleventplanepar.cc:58
 hwalleventplanepar.cc:59
 hwalleventplanepar.cc:60
 hwalleventplanepar.cc:61
 hwalleventplanepar.cc:62
 hwalleventplanepar.cc:63