CMS 3D CMS Logo

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
DDAxes::y
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
RPSignalPoint::RPSignalPoint
RPSignalPoint(double x, double y, double s, double charge)
Definition: RPSignalPoint.h:14
DDAxes::x
RPSignalPoint::sigma_
double sigma_
Definition: RPSignalPoint.h:26
alignCSCRings.s
s
Definition: alignCSCRings.py:92
Point3DBase< float, LocalTag >
RPSignalPoint
Definition: RPSignalPoint.h:10
RPSignalPoint::Charge
double Charge() const
Definition: RPSignalPoint.h:18
ALCARECOTkAlJpsiMuMu_cff.charge
charge
Definition: ALCARECOTkAlJpsiMuMu_cff.py:47
RPSignalPoint::setSigma
void setSigma(double s)
Definition: RPSignalPoint.h:20
RPSignalPoint::setPosition
void setPosition(LocalPoint p)
Definition: RPSignalPoint.h:21
RPSignalPoint::setCharge
void setCharge(double charge)
Definition: RPSignalPoint.h:22
RPSignalPoint::pos_
LocalPoint pos_
Definition: RPSignalPoint.h:25
RPSignalPoint::Position
const LocalPoint & Position() const
Definition: RPSignalPoint.h:16
RPSignalPoint::RPSignalPoint
RPSignalPoint()
Definition: RPSignalPoint.h:12
LocalPoint.h
RPSignalPoint::charge_
double charge_
Definition: RPSignalPoint.h:27
LocalVector.h
RPSignalPoint::Sigma
double Sigma() const
Definition: RPSignalPoint.h:17