CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 74 of file QcdLowPtDQM.h.

Constructor & Destructor Documentation

QcdLowPtDQM::Tracklet::Tracklet ( )
inline

Definition at line 76 of file QcdLowPtDQM.h.

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

Definition at line 77 of file QcdLowPtDQM.h.

78  : p1_(p1), p2_(p2), i1_(-1), i2_(-1), deta_(p1.eta() - p2.eta()), dphi_(Geom::deltaPhi(p1.phi(), p2.phi())) {}
const Pixel & p1() const
Definition: QcdLowPtDQM.h:84
double phi() const
Definition: QcdLowPtDQM.h:63
const Pixel & p2() const
Definition: QcdLowPtDQM.h:85
double eta() const
Definition: QcdLowPtDQM.h:61

Member Function Documentation

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

Definition at line 79 of file QcdLowPtDQM.h.

References deta_.

Referenced by compareTracklets().

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

Definition at line 80 of file QcdLowPtDQM.h.

References dphi_.

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

Definition at line 83 of file QcdLowPtDQM.h.

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

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

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

Definition at line 81 of file QcdLowPtDQM.h.

References i1_.

Referenced by seti1().

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

Definition at line 82 of file QcdLowPtDQM.h.

References i2_.

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

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

Definition at line 84 of file QcdLowPtDQM.h.

References p1_.

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

Definition at line 85 of file QcdLowPtDQM.h.

References p2_.

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

Definition at line 86 of file QcdLowPtDQM.h.

References i1(), and i1_.

Referenced by QcdLowPtDQM::fillTracklets().

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

Definition at line 87 of file QcdLowPtDQM.h.

References i2(), and i2_.

Referenced by QcdLowPtDQM::fillTracklets().

87 { i2_ = i2; }

Member Data Documentation

double QcdLowPtDQM::Tracklet::deta_
protected

Definition at line 92 of file QcdLowPtDQM.h.

Referenced by deta().

double QcdLowPtDQM::Tracklet::dphi_
protected

Definition at line 92 of file QcdLowPtDQM.h.

Referenced by dphi().

int QcdLowPtDQM::Tracklet::i1_
protected

Definition at line 91 of file QcdLowPtDQM.h.

Referenced by i1(), and seti1().

int QcdLowPtDQM::Tracklet::i2_
protected

Definition at line 91 of file QcdLowPtDQM.h.

Referenced by i2(), and seti2().

Pixel QcdLowPtDQM::Tracklet::p1_
protected

Definition at line 90 of file QcdLowPtDQM.h.

Referenced by eta(), and p1().

Pixel QcdLowPtDQM::Tracklet::p2_
protected

Definition at line 90 of file QcdLowPtDQM.h.

Referenced by p2().