#ifndef HWALLDIGIPAR_H
#define HWALLDIGIPAR_H
#include "hparcond.h"
#define WALL_MAXCELLS 302
class HWallDigiPar : public HParCond {
protected:
Float_t TDC_slope[WALL_MAXCELLS];
Float_t TDC_offset[WALL_MAXCELLS];
Float_t ADC_slope[WALL_MAXCELLS];
Float_t ADC_offset[WALL_MAXCELLS];
Float_t CFD_threshold[WALL_MAXCELLS];
Float_t ADC_threshold[WALL_MAXCELLS];
public:
HWallDigiPar(const Char_t* name="WallDigiPar",
const Char_t* title="Digitization parameters for Forward Wall",
const Char_t* context="WallDigiProduction");
~HWallDigiPar() {;}
Float_t getTDC_Slope(Int_t cell) { return TDC_slope[cell]; }
Float_t getTDC_Offset(Int_t cell) { return TDC_offset[cell]; }
Float_t getADC_Slope(Int_t cell) { return ADC_slope[cell]; }
Float_t getADC_Offset(Int_t cell) { return ADC_offset[cell]; }
Float_t getCFD_Threshold(Int_t cell) { return CFD_threshold[cell]; }
Float_t getADC_Threshold(Int_t cell) { return ADC_threshold[cell]; }
void fill(Int_t cell,Float_t Ts,Float_t To,Float_t As,Float_t Ao,Float_t Ct,Float_t At) {
TDC_slope[cell] = Ts;
TDC_offset[cell] = To;
ADC_slope[cell] = As;
ADC_offset[cell] = Ao;
CFD_threshold[cell] = Ct;
ADC_threshold[cell] = At;
}
Int_t getSize() { return WALL_MAXCELLS; }
Bool_t init(HParIo*,Int_t* set=0);
Int_t write(HParIo*);
void clear();
void putParams(HParamList*);
Bool_t getParams(HParamList*);
ClassDef(HWallDigiPar,1)
};
#endif /*!HWALLDIGIPAR_H*/
Last change: Sat May 22 13:17:30 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.