# ifndef HMDCMETAHIT_H
# define HMDCMETAHIT_H
# include "TObject.h"
# include "hmdchit.h"
# include "hgeomvector.h"
class HMdcMetaHit : public TObject {
protected:
HMdcHit fHitA;
HMdcHit fHitB;
HMdcHit fHitC;
HMdcHit fHitD;
HGeomVector fLocalHitA;
HGeomVector fLocalHitB;
HGeomVector fNum;
public:
HMdcMetaHit(void);
HMdcMetaHit(Int_t nMDCs);
HMdcMetaHit(const HMdcMetaHit &other);
HMdcMetaHit(Int_t nDetec, HGeomVector* hitMA,
Int_t nMDCs, HMdcHit* hitA, HMdcHit* hitB,
HMdcHit* hitC=NULL, HMdcHit* hitD=NULL);
HMdcMetaHit(Int_t nDetec, HGeomVector* hitMA, HGeomVector* hitMB,
Int_t nMDCs, HMdcHit* hitA, HMdcHit* hitB,
HMdcHit* hitC=NULL, HMdcHit* hitD=NULL);
~HMdcMetaHit(void);
void setMdcHitA(HMdcHit* hitA);
void setMdcHitB(HMdcHit* hitB);
void setMdcHitC(HMdcHit* hitC);
void setMdcHitD(HMdcHit* hitD);
void setLocalHitA(HGeomVector* vec){fLocalHitA=*vec;}
void setLocalHitB(HGeomVector* vec){fLocalHitB=*vec;}
void setDetector(Int_t det){fNum.setX(det);}
void setNumberOfMDCs(Int_t nMDCs){fNum.setY(nMDCs);}
void setNumberOfMetaHits(Int_t nNMHs){fNum.setZ(nNMHs);}
void print(void);
HMdcHit* getMdcHitA(){return &fHitA;}
HMdcHit* getMdcHitB(){return &fHitB;}
HMdcHit* getMdcHitC(){return &fHitC;}
HMdcHit* getMdcHitD(){return &fHitD;}
HGeomVector* getLocalHitA(){return &fLocalHitA;}
HGeomVector* getLocalHitB(){return &fLocalHitB;}
Int_t getDetector(){return (Int_t)fNum.getX();}
Int_t getNumberOfMdcs(){return (Int_t)fNum.getY();}
Int_t getNumberOfMetaHits(){return (Int_t)fNum.getZ();}
ClassDef(HMdcMetaHit,1)
};
# endif /* !HMDCMETAHIT_H */
Last change: Sat May 22 13:02:57 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.