//*-- AUTHOR Bjoern Spruck //*-- created : 19.4.06 // Modified for Wall by M.Golubeva 01.11.2006 #ifndef HWALLREFWINPAR_H #define HWALLREFWINPAR_H #include "hparcond.h" #define WALL_REFWINPAR 2 class HWallRefWinPar : public HParCond { protected: Float_t time_ref_win_low; // Lower bound of time ref window Float_t time_ref_win_high;// Upper bound of time ref window public: HWallRefWinPar(const Char_t* name="WallRefWinPar", const Char_t* title="Reference time windows parameters for Forward Wall", const Char_t* context="WallOneHitProduction"); ~HWallRefWinPar() {;} Float_t getRefWinLow(void){ return time_ref_win_low; } Float_t getRefWinHigh(void){ return time_ref_win_high;} void setRefWinLow( Float_t s){ time_ref_win_low =s;} void setRefWinHigh(Float_t s){ time_ref_win_high=s;} void fill(Float_t tl, Float_t th) { time_ref_win_low = tl; time_ref_win_high = th; } void fill(Float_t *s) { time_ref_win_low =s[0]; time_ref_win_high=s[1]; } Int_t getSize() { return WALL_REFWINPAR; } void clear(); void putParams(HParamList*); Bool_t getParams(HParamList*); ClassDef(HWallRefWinPar,1) // Container for the WALL RefWin parameters }; #endif /*!HWALLREFWINPAR_H*/