CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
List of all members | Public Member Functions | Protected Attributes
QcdLowPtDQM::Tracklet Class Reference

#include <QcdLowPtDQM.h>

Public Member Functions

double deta () const
 
double dphi () const
 
double eta () const
 
int i1 () const
 
int i2 () const
 
const Pixelp1 () const
 
const Pixelp2 () const
 
void seti1 (int i1)
 
void seti2 (int i2)
 
 Tracklet ()
 
 Tracklet (const Pixel &p1, const Pixel &p2)
 

Protected Attributes

double deta_
 
double dphi_
 
int i1_
 
int i2_
 
Pixel p1_
 
Pixel p2_
 

Detailed Description

Definition at line 71 of file QcdLowPtDQM.h.

Constructor & Destructor Documentation

◆ Tracklet() [1/2]

QcdLowPtDQM::Tracklet::Tracklet ( )
inline

Definition at line 73 of file QcdLowPtDQM.h.

73 : i1_(-1), i2_(-2), deta_(0), dphi_(0) {}

◆ Tracklet() [2/2]

QcdLowPtDQM::Tracklet::Tracklet ( const Pixel p1,
const Pixel p2 
)
inline

Definition at line 74 of file QcdLowPtDQM.h.

75  : p1_(p1), p2_(p2), i1_(-1), i2_(-1), deta_(p1.eta() - p2.eta()), dphi_(Geom::deltaPhi(p1.phi(), p2.phi())) {}

Member Function Documentation

◆ deta()

double QcdLowPtDQM::Tracklet::deta ( ) const
inline

Definition at line 76 of file QcdLowPtDQM.h.

76 { return deta_; }

References deta_.

◆ dphi()

double QcdLowPtDQM::Tracklet::dphi ( ) const
inline

Definition at line 77 of file QcdLowPtDQM.h.

77 { return dphi_; }

References dphi_.

◆ eta()

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

Definition at line 80 of file QcdLowPtDQM.h.

80 { return p1_.eta(); }

References QcdLowPtDQM::Pixel::eta(), and p1_.

Referenced by Particle.Particle::__str__(), Jet.Jet::jetID(), and Jet.Jet::puJetId().

◆ i1()

int QcdLowPtDQM::Tracklet::i1 ( ) const
inline

Definition at line 78 of file QcdLowPtDQM.h.

78 { return i1_; }

References i1_.

Referenced by seti1().

◆ i2()

int QcdLowPtDQM::Tracklet::i2 ( ) const
inline

Definition at line 79 of file QcdLowPtDQM.h.

79 { return i2_; }

References i2_.

Referenced by QcdLowPtDQM::fillTracklets(), and seti2().

◆ p1()

const Pixel& QcdLowPtDQM::Tracklet::p1 ( ) const
inline

Definition at line 81 of file QcdLowPtDQM.h.

81 { return p1_; }

References p1_.

◆ p2()

const Pixel& QcdLowPtDQM::Tracklet::p2 ( ) const
inline

Definition at line 82 of file QcdLowPtDQM.h.

82 { return p2_; }

References p2_.

◆ seti1()

void QcdLowPtDQM::Tracklet::seti1 ( int  i1)
inline

Definition at line 83 of file QcdLowPtDQM.h.

83 { i1_ = i1; }

References i1(), and i1_.

Referenced by QcdLowPtDQM::fillTracklets().

◆ seti2()

void QcdLowPtDQM::Tracklet::seti2 ( int  i2)
inline

Definition at line 84 of file QcdLowPtDQM.h.

84 { i2_ = i2; }

References i2(), and i2_.

Referenced by QcdLowPtDQM::fillTracklets().

Member Data Documentation

◆ deta_

double QcdLowPtDQM::Tracklet::deta_
protected

Definition at line 89 of file QcdLowPtDQM.h.

Referenced by deta().

◆ dphi_

double QcdLowPtDQM::Tracklet::dphi_
protected

Definition at line 89 of file QcdLowPtDQM.h.

Referenced by dphi().

◆ i1_

int QcdLowPtDQM::Tracklet::i1_
protected

Definition at line 88 of file QcdLowPtDQM.h.

Referenced by i1(), and seti1().

◆ i2_

int QcdLowPtDQM::Tracklet::i2_
protected

Definition at line 88 of file QcdLowPtDQM.h.

Referenced by i2(), and seti2().

◆ p1_

Pixel QcdLowPtDQM::Tracklet::p1_
protected

Definition at line 87 of file QcdLowPtDQM.h.

Referenced by eta(), and p1().

◆ p2_

Pixel QcdLowPtDQM::Tracklet::p2_
protected

Definition at line 87 of file QcdLowPtDQM.h.

Referenced by p2().

QcdLowPtDQM::Tracklet::i1_
int i1_
Definition: QcdLowPtDQM.h:88
QcdLowPtDQM::Tracklet::p2
const Pixel & p2() const
Definition: QcdLowPtDQM.h:82
QcdLowPtDQM::Pixel::eta
double eta() const
Definition: QcdLowPtDQM.h:58
QcdLowPtDQM::Tracklet::i2_
int i2_
Definition: QcdLowPtDQM.h:88
QcdLowPtDQM::Tracklet::p1
const Pixel & p1() const
Definition: QcdLowPtDQM.h:81
SiPixelRawToDigiRegional_cfi.deltaPhi
deltaPhi
Definition: SiPixelRawToDigiRegional_cfi.py:9
QcdLowPtDQM::Tracklet::i2
int i2() const
Definition: QcdLowPtDQM.h:79
QcdLowPtDQM::Tracklet::p2_
Pixel p2_
Definition: QcdLowPtDQM.h:87
QcdLowPtDQM::Tracklet::deta_
double deta_
Definition: QcdLowPtDQM.h:89
QcdLowPtDQM::Tracklet::i1
int i1() const
Definition: QcdLowPtDQM.h:78
QcdLowPtDQM::Tracklet::p1_
Pixel p1_
Definition: QcdLowPtDQM.h:87
QcdLowPtDQM::Pixel::phi
double phi() const
Definition: QcdLowPtDQM.h:60
QcdLowPtDQM::Tracklet::dphi_
double dphi_
Definition: QcdLowPtDQM.h:89