00001 #ifndef McKine_H 00002 #define McKine_H 00003 #include <vector> 00004 #include "GaudiKernel/ContainedObject.h" 00005 #include "GaudiKernel/ObjectVector.h" 00006 #include "EventModel/EventModel.h" 00007 00008 using namespace EventModel; 00009 extern const CLID& CLID_McKine; 00010 00011 /* 00012 * 00013 */ 00014 00015 class McKine : virtual public ContainedObject{ 00016 public: 00017 // Constructor 00018 McKine() {}; 00019 00020 // Retrieve reference to class definition structure 00021 virtual const CLID& clID() const { return McKine::classID(); } 00022 static const CLID& classID() { return CLID_McKine; } 00023 00024 void setId (int id); 00025 int getId (); 00026 00027 void setMotherId (int motherId); 00028 int getMotherId (); 00029 00030 void setNumDaughter (int nDaughter); 00031 int getNumDaughter (); 00032 00033 void setDaughterIdMin (int daughterIdMin); 00034 int getDaughterIdMin (); 00035 00036 void setDaughterIdMax (int daughterIdMax); 00037 int getDaughterIdMax (); 00038 00039 void setParticleId (int particleId); 00040 int getParticleId (); 00041 00042 void setCharge (int q); 00043 int getCharge (); 00044 00045 void setPt (double pt); 00046 double getPt (); 00047 00048 void setTheta0 (double theta0); 00049 double getTheta0 (); 00050 00051 void setPhi0 (double phi0); 00052 double getPhi0 (); 00053 00054 void setD0 (double d0); 00055 double getD0 (); 00056 00057 void setZ0 (double z0); 00058 double getZ0 (); 00059 00060 void setXv (double xv); 00061 double getXv (); 00062 00063 void setYv (double yv); 00064 double getYv (); 00065 00066 void setZv (double zv); 00067 double getZv (); 00068 00069 private: 00070 int m_id; 00071 int m_motherId; 00072 int m_numDaughter; 00073 int m_daughterIdMin; 00074 int m_daughterIdMax; 00075 int m_particleId; 00076 int m_q; 00077 double m_pt; 00078 double m_theta0; 00079 double m_phi0; 00080 double m_d0; 00081 double m_z0; 00082 double m_xv; 00083 double m_yv; 00084 double m_zv; 00085 00086 }; 00087 00088 typedef ObjectVector<McKine> McKineCol; 00089 00090 #endif