CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_6/src/DataFormats/FP420Cluster/interface/RecoFP420.h

Go to the documentation of this file.
00001 #ifndef RecoFP420_h
00002 #define RecoFP420_h
00003 
00004 #include <vector>
00005 
00006 class RecoFP420 {
00007 public:
00008 
00009   RecoFP420() : e0_(0), x0_(0), y0_(0), tx0_(0), ty0_(0), q20_(0), direction_(0)  {}
00010 
00011     RecoFP420( double e0, double x0, double y0, double tx0, double ty0, double q20, int direction) : e0_(e0), x0_(x0), y0_(y0), tx0_(tx0), ty0_(ty0), q20_(q20), direction_(direction) {}
00012 
00013   // Access to track information
00014   double e0() const   {return e0_;}
00015   double x0() const   {return x0_;}
00016   double y0() const   {return y0_;}
00017   double tx0() const {return tx0_;}
00018   double ty0() const {return ty0_;}
00019   double q20() const {return q20_;}
00020   int direction() const {return direction_;}
00021 
00022 private:
00023   double e0_;
00024   double x0_;
00025   double y0_;
00026   double tx0_;
00027   double ty0_;
00028   double q20_;
00029   int direction_;
00030 };
00031 
00032 // Comparison operators
00033 inline bool operator<( const RecoFP420& one, const RecoFP420& other) {
00034   return ( one.e0() ) < ( other.e0() );
00035 //   return ( one.x0() + one.y0() ) < ( other.x0() + other.y0()  );
00036 } 
00037 #endif