00001 00002 // ************************************************************************** 00003 // * * 00004 // * ! ! ! A T T E N T I O N ! ! ! * 00005 // * * 00006 // * This file was created automatically by GaudiObjDesc, please do not * 00007 // * delete it or edit it by hand. * 00008 // * * 00009 // * If you want to change this file, first change the corresponding * 00010 // * xml-file and rerun the tools from GaudiObjDesc (or run make if you * 00011 // * are using it from inside a Gaudi-package). * 00012 // * * 00013 // ************************************************************************** 00014 00015 #ifndef TrackFitEvent_ITMeasurement_H 00016 #define TrackFitEvent_ITMeasurement_H 1 00017 00018 // Include files 00019 #include "Event/Measurement.h" 00020 #include "Event/ITCluster.h" 00021 #include "STDet/DeSTDetector.h" 00022 00023 00024 // Forward declarations 00025 00035 class ITMeasurement: public Measurement 00036 { 00037 public: 00038 00040 ITMeasurement(ITCluster& itCluster, 00041 DeSTDetector& det); 00042 00044 ITMeasurement() : m_cluster() {} 00045 00047 virtual ~ITMeasurement() {} 00048 00050 ITMeasurement* clone() const; 00051 00053 const ITCluster* cluster() const; 00054 00056 ITCluster* cluster(); 00057 00059 void setCluster(ITCluster* value); 00060 00061 protected: 00062 00063 private: 00064 00065 ITCluster* m_cluster; 00066 00067 }; 00068 00069 // ----------------------------------------------------------------------------- 00070 // end of class 00071 // ----------------------------------------------------------------------------- 00072 00073 // Including forward declarations 00074 00075 inline const ITCluster* ITMeasurement::cluster() const 00076 { 00077 return m_cluster; 00078 } 00079 00080 inline ITCluster* ITMeasurement::cluster() 00081 { 00082 return m_cluster; 00083 } 00084 00085 inline void ITMeasurement::setCluster(ITCluster* value) 00086 { 00087 m_cluster = value; 00088 } 00089 00090 inline ITMeasurement* ITMeasurement::clone() const 00091 { 00092 00093 ITMeasurement* me = new ITMeasurement(); *me = *this; return me; 00094 00095 } 00096 00097 00098 #endif