CMS 3D CMS Logo

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 66 of file QcdLowPtDQM.h.

Constructor & Destructor Documentation

QcdLowPtDQM::Tracklet::Tracklet ( )
inline

Definition at line 68 of file QcdLowPtDQM.h.

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

Definition at line 69 of file QcdLowPtDQM.h.

70  : p1_(p1),
71  p2_(p2),
72  i1_(-1),
73  i2_(-1),
74  deta_(p1.eta() - p2.eta()),
75  dphi_(Geom::deltaPhi(p1.phi(), p2.phi())) {}
const Pixel & p1() const
Definition: QcdLowPtDQM.h:81
double phi() const
Definition: QcdLowPtDQM.h:55
const Pixel & p2() const
Definition: QcdLowPtDQM.h:82
double eta() const
Definition: QcdLowPtDQM.h:53

Member Function Documentation

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

Definition at line 76 of file QcdLowPtDQM.h.

Referenced by compareTracklets().

76 { return deta_; }
double QcdLowPtDQM::Tracklet::dphi ( ) const
inline

Definition at line 77 of file QcdLowPtDQM.h.

77 { return dphi_; }
double QcdLowPtDQM::Tracklet::eta ( ) const
inline

Definition at line 80 of file QcdLowPtDQM.h.

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

80 { return p1_.eta(); }
double eta() const
Definition: QcdLowPtDQM.h:53
int QcdLowPtDQM::Tracklet::i1 ( ) const
inline

Definition at line 78 of file QcdLowPtDQM.h.

78 { return i1_; }
int QcdLowPtDQM::Tracklet::i2 ( ) const
inline

Definition at line 79 of file QcdLowPtDQM.h.

Referenced by QcdLowPtDQM::fillTracklets().

79 { return i2_; }
const Pixel& QcdLowPtDQM::Tracklet::p1 ( ) const
inline

Definition at line 81 of file QcdLowPtDQM.h.

81 { return p1_; }
const Pixel& QcdLowPtDQM::Tracklet::p2 ( ) const
inline

Definition at line 82 of file QcdLowPtDQM.h.

82 { return p2_; }
void QcdLowPtDQM::Tracklet::seti1 ( int  i1)
inline

Definition at line 83 of file QcdLowPtDQM.h.

Referenced by QcdLowPtDQM::fillTracklets().

83 { i1_ = i1; }
void QcdLowPtDQM::Tracklet::seti2 ( int  i2)
inline

Definition at line 84 of file QcdLowPtDQM.h.

Referenced by QcdLowPtDQM::fillTracklets().

84 { i2_ = i2; }

Member Data Documentation

double QcdLowPtDQM::Tracklet::deta_
protected

Definition at line 89 of file QcdLowPtDQM.h.

double QcdLowPtDQM::Tracklet::dphi_
protected

Definition at line 89 of file QcdLowPtDQM.h.

int QcdLowPtDQM::Tracklet::i1_
protected

Definition at line 88 of file QcdLowPtDQM.h.

int QcdLowPtDQM::Tracklet::i2_
protected

Definition at line 88 of file QcdLowPtDQM.h.

Pixel QcdLowPtDQM::Tracklet::p1_
protected

Definition at line 87 of file QcdLowPtDQM.h.

Pixel QcdLowPtDQM::Tracklet::p2_
protected

Definition at line 87 of file QcdLowPtDQM.h.