CMS 3D CMS Logo

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