CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Attributes
QcdLowPtDQM::Pixel Class Reference

#include <QcdLowPtDQM.h>

Public Member Functions

double adc () const
 
double eta () const
 
double phi () const
 
 Pixel (double x=0, double y=0, double z=0, double eta=0, double phi=0, double adc=0, double sx=0, double sy=0)
 
 Pixel (const GlobalPoint &p, double adc=0, double sx=0, double sy=0)
 
double rho () const
 
double sizex () const
 
double sizey () const
 
double x () const
 
double y () const
 
double z () const
 

Protected Attributes

double adc_
 
double eta_
 
double phi_
 
double rho_
 
double sizex_
 
double sizey_
 
double x_
 
double y_
 
double z_
 

Detailed Description

Definition at line 31 of file QcdLowPtDQM.h.

Constructor & Destructor Documentation

◆ Pixel() [1/2]

QcdLowPtDQM::Pixel::Pixel ( double  x = 0,
double  y = 0,
double  z = 0,
double  eta = 0,
double  phi = 0,
double  adc = 0,
double  sx = 0,
double  sy = 0 
)
inline

Definition at line 33 of file QcdLowPtDQM.h.

41  : x_(x),
42  y_(y),
43  z_(z),
44  rho_(TMath::Sqrt(x_ * x_ + y_ * y_)),
45  eta_(eta),
46  phi_(phi),
47  adc_(adc),
48  sizex_(sx),
49  sizey_(sy) {}
double adc() const
Definition: QcdLowPtDQM.h:60
double eta() const
Definition: QcdLowPtDQM.h:61
double z() const
Definition: QcdLowPtDQM.h:68
double y() const
Definition: QcdLowPtDQM.h:67
double phi() const
Definition: QcdLowPtDQM.h:63
double x() const
Definition: QcdLowPtDQM.h:66

◆ Pixel() [2/2]

QcdLowPtDQM::Pixel::Pixel ( const GlobalPoint p,
double  adc = 0,
double  sx = 0,
double  sy = 0 
)
inline

Definition at line 50 of file QcdLowPtDQM.h.

51  : x_(p.x()),
52  y_(p.y()),
53  z_(p.z()),
54  rho_(TMath::Sqrt(x_ * x_ + y_ * y_)),
55  eta_(p.eta()),
56  phi_(p.phi()),
57  adc_(adc),
58  sizex_(sx),
59  sizey_(sy) {}
double adc() const
Definition: QcdLowPtDQM.h:60

Member Function Documentation

◆ adc()

double QcdLowPtDQM::Pixel::adc ( ) const
inline

Definition at line 60 of file QcdLowPtDQM.h.

References adc_.

60 { return adc_; }

◆ eta()

double QcdLowPtDQM::Pixel::eta ( ) const
inline

◆ phi()

double QcdLowPtDQM::Pixel::phi ( void  ) const
inline

◆ rho()

double QcdLowPtDQM::Pixel::rho ( ) const
inline

Definition at line 62 of file QcdLowPtDQM.h.

References rho_.

Referenced by Lepton.Lepton::absIsoFromEA(), and Muon.Muon::absIsoWithFSR().

62 { return rho_; }

◆ sizex()

double QcdLowPtDQM::Pixel::sizex ( ) const
inline

Definition at line 64 of file QcdLowPtDQM.h.

References sizex_.

64 { return sizex_; }

◆ sizey()

double QcdLowPtDQM::Pixel::sizey ( ) const
inline

Definition at line 65 of file QcdLowPtDQM.h.

References sizey_.

65 { return sizey_; }

◆ x()

double QcdLowPtDQM::Pixel::x ( ) const
inline

◆ y()

double QcdLowPtDQM::Pixel::y ( ) const
inline

◆ z()

double QcdLowPtDQM::Pixel::z ( ) const
inline

Definition at line 68 of file QcdLowPtDQM.h.

References z_.

Referenced by geometryXMLparser.Alignable::pos(), and ntupleDataFormat._HitObject::r3D().

68 { return z_; }

Member Data Documentation

◆ adc_

double QcdLowPtDQM::Pixel::adc_
protected

Definition at line 72 of file QcdLowPtDQM.h.

Referenced by adc().

◆ eta_

double QcdLowPtDQM::Pixel::eta_
protected

Definition at line 71 of file QcdLowPtDQM.h.

Referenced by eta().

◆ phi_

double QcdLowPtDQM::Pixel::phi_
protected

Definition at line 71 of file QcdLowPtDQM.h.

Referenced by phi().

◆ rho_

double QcdLowPtDQM::Pixel::rho_
protected

Definition at line 71 of file QcdLowPtDQM.h.

Referenced by rho().

◆ sizex_

double QcdLowPtDQM::Pixel::sizex_
protected

Definition at line 72 of file QcdLowPtDQM.h.

Referenced by sizex().

◆ sizey_

double QcdLowPtDQM::Pixel::sizey_
protected

Definition at line 72 of file QcdLowPtDQM.h.

Referenced by sizey().

◆ x_

double QcdLowPtDQM::Pixel::x_
protected

Definition at line 71 of file QcdLowPtDQM.h.

Referenced by x().

◆ y_

double QcdLowPtDQM::Pixel::y_
protected

Definition at line 71 of file QcdLowPtDQM.h.

Referenced by y().

◆ z_

double QcdLowPtDQM::Pixel::z_
protected

Definition at line 71 of file QcdLowPtDQM.h.

Referenced by z().