#ifndef HWALLRAW_H
#define HWALLRAW_H
#include "hlocateddataobject.h"
class HWallRaw : public HLocatedDataObject {
protected:
Float_t time;
Float_t charge;
Int_t nHits;
Int_t cell;
Int_t time1;
Int_t width1;
Int_t time2;
Int_t width2;
Int_t time3;
Int_t width3;
Int_t time4;
Int_t width4;
public:
HWallRaw(void) {clear();}
~HWallRaw(void) {}
void clear(void) {
nHits=0;
cell=-1;
time1=width1=time2=width2=time3=width3=time4=width4=-200;
width1=-200;
time=charge=-200;
}
Float_t getTime(void) {return time;}
Float_t getCharge(void) {return charge;}
void setTime(Float_t t) {time=t;}
void setCharge(Float_t c) {charge=c;}
Int_t getNHits(void) const { return nHits; }
Int_t getCell(void) {return cell;}
Int_t getTime(const Int_t n) const;
Int_t getWidth(const Int_t n) const;
inline Int_t getADC(const Int_t n){return(getWidth(n));}
void getTimeAndWidth(const Int_t,Int_t&,Int_t&);
inline void getTimeAndADC(const Int_t n,Int_t &t,Int_t &a){getTimeAndWidth(n,t,a);};
inline Int_t getMaxMult(void){ return(4);}
void setCell(Int_t c) {cell=c;}
void setMult(Int_t mu) {nHits=mu;}
Bool_t fill(const Int_t,const Int_t);
Bool_t fill_lead(const Int_t time);
Bool_t fill_trail(const Int_t time);
ClassDef(HWallRaw,1)
};
#endif /* !HWallRAW_H */
Last change: Sat May 22 13:17:46 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.