#ifndef HMDCGEANTCELL_H
#define HMDCGEANTCELL_H
#include "TObject.h"
class HMdcGeantCell : public TObject {
private:
Int_t sector;
Int_t module;
Int_t layer;
Int_t cell;
Int_t fNumHits;
Float_t fMinDist[15];
Float_t fTimeFlight[15];
Float_t fImpactAngle[15];
Int_t nTrack[15];
Bool_t flagCutEdge[15];
Float_t wireOffset[15];
public:
HMdcGeantCell() {clear();}
~HMdcGeantCell() {}
void clear();
void setSector(const Int_t s) { sector = s; }
void setModule(const Int_t m) { module = m; }
void setLayer(const Int_t l) { layer = l; }
void setCell(const Int_t c) { cell = c; }
void setNumHits(const Int_t nhit) {fNumHits=nhit;}
void setMinDist(const Float_t md, const Int_t j) {fMinDist[j] = md;}
void setTimeFlight(const Float_t tof,const Int_t j) {fTimeFlight[j] = tof;}
void setImpactAngle(const Float_t angle,const Int_t j) {fImpactAngle[j] = angle;}
void setNTrack(const Int_t t, const Int_t j) {nTrack[j] = t;}
void setFlagCutEdge(const Bool_t t, const Int_t j) {flagCutEdge[j] = t;}
void setWireOffset(const Float_t offset,const Int_t j) {wireOffset[j] = offset;}
Int_t getSector() const { return sector; }
Int_t getModule() const { return module; }
Int_t getLayer() const { return layer; }
Int_t getCell() const { return cell; }
Int_t getNumHits(void) {return fNumHits;}
Float_t getMinDist( Int_t j) const{return fMinDist[j];}
Float_t getTimeFlight(Int_t j) const{return fTimeFlight[j];}
Float_t getImpactAngle(Int_t j)const {return fImpactAngle[j];}
Int_t getNTrack(Int_t j) const {return nTrack[j];}
Bool_t getFlagCutEdge(Int_t j) const {return flagCutEdge[j];}
Float_t getWireOffset(Int_t j) const {return wireOffset[j];}
ClassDef(HMdcGeantCell,1)
};
#endif
Last change: Sat May 22 13:02:01 2010
Last generated: 2010-05-22 13:02
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.