00001 #ifndef Tracker_SignalPoint_H 00002 #define Tracker_SignalPoint_H 00003 00004 00005 #include "DataFormats/GeometryVector/interface/LocalPoint.h" 00006 #include "DataFormats/GeometryVector/interface/LocalVector.h" 00007 00012 class SignalPoint { 00013 public: 00014 SignalPoint() : _pos(0,0), _sigma(0), _amplitude(0) {} 00015 00016 SignalPoint( float x, float y, float s,float a=1.0) : 00017 _pos(x,y), _sigma(s), _amplitude(a) {} 00018 00019 const LocalPoint& position() const { return _pos;} 00020 float x() const { return _pos.x();} 00021 float y() const { return _pos.y();} 00022 float sigma() const { return _sigma;} 00023 float amplitude() const { return _amplitude;} 00024 SignalPoint& set_amplitude( float amp) { _amplitude = amp; return *this;} 00025 private: 00026 LocalPoint _pos; 00027 float _sigma; 00028 float _amplitude; 00029 }; 00030 #endif