#ifndef HMDCXY_H
#define HMDCXY_H
#include "TObject.h"
class HMdcXY : public TObject {
protected:
Int_t sector;
Int_t module;
Float_t xHit;
Float_t yHit;
Float_t zHit;
Float_t errX;
Float_t errY;
Float_t xDir;
Float_t yDir;
Float_t errXdir;
Float_t errYdir;
Int_t nCluster;
public:
HMdcXY(void) {clear();}
~HMdcXY(void) {}
void clear() {
sector=module=-1;
xHit = yHit = zHit = 0.0;
nCluster = -1;
xDir = yDir = -1.;
}
void setSector(const Int_t s) { sector = s; }
void setModule(const Int_t m) { module = m; }
void setAddress(const Int_t s,const Int_t m) {
sector=s;
module=m;
}
void setX(const Float_t x) {xHit=x;}
void setY(const Float_t y) {yHit=y;}
void setZ(const Float_t z) {zHit=z;}
void setXdir(const Float_t xdir) {xDir=xdir;}
void setYdir(const Float_t ydir) {yDir=ydir;}
void setErrX(const Float_t errx) {errX=errx;}
void setErrY(const Float_t erry) {errY=erry;}
void setErrXdir(const Float_t errxd) {errXdir=errxd;}
void setErrYdir(const Float_t erryd) {errYdir=erryd;}
void setNClust(const Int_t n) {nCluster=n;}
Int_t getSector(void) const { return sector; }
Int_t getModule(void) const { return module; }
void getAddress(Int_t& s,Int_t& m) {
s=sector;
m=module;
}
Float_t getX(void) {return xHit;}
Float_t getY(void) {return yHit;}
Float_t getZ(void) {return zHit;}
Float_t getXdir(void) {return xDir;}
Float_t getYdir(void) {return yDir;}
Float_t getErrX(void) {return errX;}
Float_t getErrY(void) {return errY;}
Float_t getErrXdir(void) {return errXdir;}
Float_t getErrYdir(void) {return errYdir;}
Int_t getNClust(void) {return nCluster;}
ClassDef(HMdcXY,1)
};
#endif /* HMDCXY_H */
Last change: Sat May 22 13:04:30 2010
Last generated: 2010-05-22 13:04
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.