// ---------------------------------------------------------------------------- // $Id: LCDTracker_Hit.h,v 1.3 2001/06/19 16:54:42 toshi Exp $ // ---------------------------------------------------------------------------- // // $Log: LCDTracker_Hit.h,v $ // Revision 1.3 2001/06/19 16:54:42 toshi // Just add $ID: $ in the top of this file. // // Revision 1.2 2001/04/28 21:59:03 toshi // Start to use CVS. // // // LCDTracker_Hit.h // Feb 05,1999 Rob Shanks, Tracker_Hit class is remade to speed up // event reconstruction. // Sep 10,1998 Rob Shanks, Creation of Tracker_Hit class // #ifndef LCDTRACHERHIT_H #define LCDTRACKERHIT_H #include "TObject.h" #include "LCDTkID.h" class LCDTracker_Hit: public TObject { public: LCDTracker_Hit(LCDTkID* ID,Double_t *position, Double_t Eloss, Double_t time, Int_t index); LCDTracker_Hit(); ~LCDTracker_Hit() {}; LCDTkID* GetID(){return &m_ID;}; Double_t* GetPosition(){return m_position;}; Double_t GetEloss() {return m_Eloss;}; Double_t GetTime() {return m_time;}; Int_t GetParticle(){return m_index;}; private: LCDTkID m_ID; // Hit identifier Double_t m_position[3];// Particle position in the tracker at deposition Float_t m_Eloss; // Energy deposited by particle in tracker Float_t m_time; // Time of energy deposition Int_t m_index; // Index of McPart obj responsible for energy deposition // = -1 ... The hit is not from McPart public: ClassDef(LCDTracker_Hit,1)// Instance of energy deposition in tracker }; #endif