#ifndef HTOFINORAW_H
#define HTOFINORAW_H
#include "TObject.h"
class HTofinoRaw : public TObject {
protected:
Float_t time;
Float_t charge;
Int_t sector;
Int_t module;
Int_t cell;
public:
HTofinoRaw(void) { clear(); }
~HTofinoRaw(void) {;}
void setTime(const Float_t v) { time=v; }
void setCharge(const Float_t v) { charge=v; }
void setSector(const Int_t n) { sector=n; }
void setModule(const Int_t n) { module=n; }
void setCell(const Int_t n) { cell=n; }
void setAddress(const Int_t s, const Int_t m, const Int_t c) {
sector=s;
module=m;
cell=c;
}
void fill(const Float_t t, const Float_t a,
const Int_t s, const Int_t m, const Int_t c) {
time=t;
charge=a;
sector=s;
module=m;
cell=c;
}
Float_t getTime(void) const { return time; }
Float_t getCharge(void) const { return charge; }
Int_t getSector(void) const { return sector; }
Int_t getModule(void) const { return module; }
Int_t getCell(void) const { return cell; }
void getAddress(Int_t& s, Int_t& m, Int_t& c) {
s=sector;
m=module;
c=cell;
}
void clear(void) {
time=-200.;
charge=-200.;
sector=-1;
module=-1;
cell=-1;
}
ClassDef(HTofinoRaw,1)
};
#endif /* ! HTOFINORAW_H */
Last change: Sat May 22 13:16:53 2010
Last generated: 2010-05-22 13:16
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.