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_VeloPhiMeasurement_H 00016 #define TrackFitEvent_VeloPhiMeasurement_H 1 00017 00018 // Include files 00019 #include "Event/Measurement.h" 00020 #include "Event/VeloCluster.h" 00021 #include "VeloDet/DeVelo.h" 00022 00023 00024 // Forward declarations 00025 00035 class VeloPhiMeasurement: public Measurement 00036 { 00037 public: 00038 00040 VeloPhiMeasurement(VeloCluster& cluster, 00041 DeVelo& det); 00042 00044 VeloPhiMeasurement() : m_cluster() {} 00045 00047 virtual ~VeloPhiMeasurement() {} 00048 00050 VeloPhiMeasurement* clone() const; 00051 00053 const VeloCluster* cluster() const; 00054 00056 VeloCluster* cluster(); 00057 00059 void setCluster(VeloCluster* value); 00060 00061 protected: 00062 00063 private: 00064 00065 VeloCluster* m_cluster; 00066 00067 }; 00068 00069 // ----------------------------------------------------------------------------- 00070 // end of class 00071 // ----------------------------------------------------------------------------- 00072 00073 // Including forward declarations 00074 00075 inline const VeloCluster* VeloPhiMeasurement::cluster() const 00076 { 00077 return m_cluster; 00078 } 00079 00080 inline VeloCluster* VeloPhiMeasurement::cluster() 00081 { 00082 return m_cluster; 00083 } 00084 00085 inline void VeloPhiMeasurement::setCluster(VeloCluster* value) 00086 { 00087 m_cluster = value; 00088 } 00089 00090 inline VeloPhiMeasurement* VeloPhiMeasurement::clone() const 00091 { 00092 00093 VeloPhiMeasurement* me = new VeloPhiMeasurement(); *me = *this; return me; 00094 00095 } 00096 00097 00098 #endif