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