CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
RPSignalPoint Class Reference

#include <RPSignalPoint.h>

Public Member Functions

double Charge () const
 
const LocalPointPosition () const
 
 RPSignalPoint ()
 
 RPSignalPoint (double x, double y, double s, double charge)
 
void setCharge (double charge)
 
void setPosition (LocalPoint p)
 
void setSigma (double s)
 
double Sigma () const
 

Private Attributes

double charge_
 
LocalPoint pos_
 
double sigma_
 

Detailed Description

An elementar charge point, with position, sigma from diffusion and tof.

Definition at line 10 of file RPSignalPoint.h.

Constructor & Destructor Documentation

◆ RPSignalPoint() [1/2]

RPSignalPoint::RPSignalPoint ( )
inline

Definition at line 12 of file RPSignalPoint.h.

12 : pos_(0, 0), sigma_(0), charge_(0) {}

◆ RPSignalPoint() [2/2]

RPSignalPoint::RPSignalPoint ( double  x,
double  y,
double  s,
double  charge 
)
inline

Definition at line 14 of file RPSignalPoint.h.

14 : pos_(x, y), sigma_(s), charge_(charge) {}

Member Function Documentation

◆ Charge()

double RPSignalPoint::Charge ( ) const
inline

Definition at line 18 of file RPSignalPoint.h.

18 { return charge_; }

References charge_.

◆ Position()

const LocalPoint& RPSignalPoint::Position ( ) const
inline

Definition at line 16 of file RPSignalPoint.h.

16 { return pos_; }

References pos_.

◆ setCharge()

void RPSignalPoint::setCharge ( double  charge)
inline

Definition at line 22 of file RPSignalPoint.h.

22 { charge_ = charge; }

References ALCARECOTkAlJpsiMuMu_cff::charge, and charge_.

◆ setPosition()

void RPSignalPoint::setPosition ( LocalPoint  p)
inline

Definition at line 21 of file RPSignalPoint.h.

21 { pos_ = p; }

References AlCaHLTBitMon_ParallelJobs::p, and pos_.

◆ setSigma()

void RPSignalPoint::setSigma ( double  s)
inline

Definition at line 20 of file RPSignalPoint.h.

20 { sigma_ = s; }

References alignCSCRings::s, and sigma_.

◆ Sigma()

double RPSignalPoint::Sigma ( ) const
inline

Definition at line 17 of file RPSignalPoint.h.

17 { return sigma_; }

References sigma_.

Member Data Documentation

◆ charge_

double RPSignalPoint::charge_
private

Definition at line 27 of file RPSignalPoint.h.

Referenced by Charge(), and setCharge().

◆ pos_

LocalPoint RPSignalPoint::pos_
private

Definition at line 25 of file RPSignalPoint.h.

Referenced by Position(), and setPosition().

◆ sigma_

double RPSignalPoint::sigma_
private

Definition at line 26 of file RPSignalPoint.h.

Referenced by setSigma(), and Sigma().

DDAxes::y
DDAxes::x
RPSignalPoint::sigma_
double sigma_
Definition: RPSignalPoint.h:26
alignCSCRings.s
s
Definition: alignCSCRings.py:92
ALCARECOTkAlJpsiMuMu_cff.charge
charge
Definition: ALCARECOTkAlJpsiMuMu_cff.py:47
AlCaHLTBitMon_ParallelJobs.p
def p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
RPSignalPoint::pos_
LocalPoint pos_
Definition: RPSignalPoint.h:25
RPSignalPoint::charge_
double charge_
Definition: RPSignalPoint.h:27