CMS 3D CMS Logo

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
double Charge() const
void setPosition(LocalPoint p)
double Sigma() const
void setCharge(double charge)
const LocalPoint & Position() const
void setSigma(double s)
RPixSignalPoint(double x, double y, double s, double charge)