Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

VeloRMeasurement.h

Go to the documentation of this file.
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_VeloRMeasurement_H
00016 #define TrackFitEvent_VeloRMeasurement_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 VeloRMeasurement: public Measurement
00036 {
00037 public:
00038 
00040   VeloRMeasurement(VeloCluster& cluster,
00041                    DeVelo& det,
00042                    double phi = 999.0);
00043 
00045   VeloRMeasurement() : m_phi(0.0),
00046                        m_cluster() {}
00047 
00049   virtual ~VeloRMeasurement() {}
00050 
00052   VeloRMeasurement* clone() const;
00053 
00055   double phi() const;
00056 
00058   void setPhi(double value);
00059 
00061   const VeloCluster* cluster() const;
00062 
00064   VeloCluster* cluster();
00065 
00067   void setCluster(VeloCluster* value);
00068 
00069 protected:
00070 
00071 private:
00072 
00073   double       m_phi;     
00074   VeloCluster* m_cluster; 
00075 
00076 };
00077 
00078 // -----------------------------------------------------------------------------
00079 //   end of class
00080 // -----------------------------------------------------------------------------
00081 
00082 // Including forward declarations
00083 
00084 inline double VeloRMeasurement::phi() const 
00085 {
00086   return m_phi;
00087 }
00088 
00089 inline void VeloRMeasurement::setPhi(double value) 
00090 {
00091   m_phi = value;
00092 }
00093 
00094 inline const VeloCluster* VeloRMeasurement::cluster() const 
00095 {
00096   return m_cluster;
00097 }
00098 
00099 inline VeloCluster* VeloRMeasurement::cluster() 
00100 {
00101   return m_cluster;
00102 }
00103 
00104 inline void VeloRMeasurement::setCluster(VeloCluster* value) 
00105 {
00106   m_cluster = value;
00107 }
00108 
00109 inline VeloRMeasurement* VeloRMeasurement::clone() const 
00110 {
00111 
00112   VeloRMeasurement* me = new VeloRMeasurement(); *me = *this; return me;
00113         
00114 }
00115 
00116 
00117 #endif 

Generated on Fri May 27 13:59:38 2005 for New Track Event Model by doxygen 1.4.1