CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RPixSignalPoint.h
Go to the documentation of this file.
1 #ifndef SimPPS_PPSPixelDigiProducer_RPix_SignalPoint_H
2 #define SimPPS_PPSPixelDigiProducer_RPix_SignalPoint_H
3 
6 
11 public:
12  RPixSignalPoint() : pos_(0, 0), sigma_(0), charge_(0){};
13 
14  RPixSignalPoint(double x, double y, double s, double charge) : pos_(x, y), sigma_(s), charge_(charge){};
15 
16  inline const LocalPoint& Position() const { return pos_; }
17  inline double Sigma() const { return sigma_; }
18  inline double Charge() const { return charge_; }
19 
20  inline void setCharge(double charge) { charge_ = charge; }
21  inline void setPosition(LocalPoint p) { pos_ = p; }
22  inline void setSigma(double s) { sigma_ = s; }
23 
24 private:
26  double sigma_;
27  double charge_;
28 };
29 
30 #endif
void setPosition(LocalPoint p)
double Charge() const
void setCharge(double charge)
const LocalPoint & Position() const
void setSigma(double s)
double Sigma() const
RPixSignalPoint(double x, double y, double s, double charge)