//*-- AUTHOR Bjoern Spruck
//*-- created : 19.4.06
// Modified for Wall by M.Golubeva 01.11.2006

#ifndef HWALLREFWINPAR_H
#define HWALLREFWINPAR_H

using namespace std;
#include "hparcond.h"
#include "TObject.h"
#include "TObjArray.h"
#include "hparset.h"
#include <iostream>
#include <iomanip>

#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; }
   Bool_t init(HParIo* input,Int_t* set=0);
   Int_t  write(HParIo*);
   void   clear();
   //void printParam();
   //void readline(const Char_t*, Int_t*);
   //void putAsciiHeader(TString&);
   //Bool_t writeline(Char_t*, Int_t);
   void   putParams(HParamList*);
   Bool_t getParams(HParamList*);
   ClassDef(HWallRefWinPar,1) // Container for the WALL RefWin parameters
};

#endif  /*!HWALLREFWINPAR_H*/

Last change: Sat May 22 13:17:49 2010
Last generated: 2010-05-22 13:17

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.