#ifndef HHODOCAL_H
#define HHODOCAL_H
#include "TObject.h"
#include "hhodoraw.h"
class HHodoCal : public TObject {
protected:
Int_t nHits;
Int_t module;
Int_t strip;
Float_t time1;
Float_t adc1;
Float_t time2;
Float_t adc2;
Float_t time3;
Float_t adc3;
Float_t time4;
Float_t adc4;
public:
HHodoCal(void) { clear(); }
~HHodoCal(void) {;}
void clear(void);
inline Int_t getMaxMult(void){ return(4);}
void setModule(const Int_t n) { module=n; }
void setStrip(const Int_t n) { strip=n; }
void setAddress(const Int_t m,const Int_t s) {
module=m;
strip=s;
};
Bool_t setTimeAdc(const Float_t t,const Float_t a);
Int_t getNHits(void) const { return nHits; }
Float_t getTime(const Int_t n) const;
Float_t getAdc(const Int_t n) const;
void getTimeAndAdc(const Int_t n, Float_t& time, Float_t& adc );
Int_t getModule(void)const { return module;}
Int_t getStrip(void) const { return strip; }
void getAddress(Int_t& m,Int_t& s) {
m=module;
s=strip;
};
ClassDef(HHodoCal,1)
};
#endif /* ! HHODOCAL_H */
Last change: Sat May 22 12:57:16 2010
Last generated: 2010-05-22 12:57
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.