00001 #ifndef DigiRootData_TMcHitMdc_H 00002 #define DigiRootData_TMcHitMdc_H 1 00003 00004 #include "TObject.h" 00005 #include "TString.h" 00006 #include "TVector3.h" 00007 00008 class TMcHitMdc: public TObject { 00009 00010 public: 00011 00012 TMcHitMdc(); 00013 00014 ~TMcHitMdc (); 00015 00016 void SetTrackID (Int_t track) { trackID = track; }; 00017 void SetLayerNo (Int_t layer) { layerNo = layer; }; 00018 void SetCellNo (Int_t cell) { cellNo =cell;}; 00019 void SetEdep (Double_t de) { edep = de; }; 00020 void SetPos (TVector3 xyz){ pos = xyz; }; 00021 void SetDriftD (Double_t distance){ driftD = distance;}; 00022 void SetDriftT (Double_t time) { driftT = time;}; 00023 void SetGlobalT (Double_t time) { globalT = time;}; 00024 void SetTheta (Double_t angle) { theta = angle;}; 00025 void SetEnterAngle (Double_t angle) { enterAngle = angle;}; 00026 void SetPosFlag (Int_t flag) { posFlag = flag;}; 00027 00028 Int_t GetTrackID() const { return trackID; }; 00029 Int_t GetLayerNo() const { return layerNo; }; 00030 Int_t GetCellNo() const { return cellNo;}; 00031 Double_t GetEdep() const { return edep; }; 00032 TVector3 GetPos() const { return pos; }; 00033 Double_t GetDriftD() const { return driftD;}; 00034 Double_t GetDriftT() const { return driftT;}; 00035 Double_t GetGlobalT() const { return globalT;}; 00036 Double_t GetTheta() const { return theta;}; 00037 Double_t GetEnterAngle() const { return enterAngle;}; 00038 Int_t GetPosFlag() const { return posFlag;}; 00039 00040 00041 00042 private: 00043 Int_t trackID; 00044 Int_t layerNo; 00045 Int_t cellNo; 00046 Double_t edep; 00047 TVector3 pos; 00048 Double_t driftD; 00049 Double_t driftT; 00050 Double_t globalT; 00051 Double_t theta; 00052 Double_t enterAngle; 00053 Int_t posFlag; 00054 00055 ClassDef(TMcHitMdc,1) 00056 }; 00057 00058 #endif