CMS 3D CMS Logo

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

Constructor & Destructor Documentation

QcdLowPtDQM::Tracklet::Tracklet ( )
inline

Definition at line 64 of file QcdLowPtDQM.h.

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

Definition at line 65 of file QcdLowPtDQM.h.

66  : p1_(p1),
67  p2_(p2),
68  i1_(-1),
69  i2_(-1),
70  deta_(p1.eta() - p2.eta()),
71  dphi_(Geom::deltaPhi(p1.phi(), p2.phi())) {}
const Pixel & p1() const
Definition: QcdLowPtDQM.h:77
double phi() const
Definition: QcdLowPtDQM.h:51
const Pixel & p2() const
Definition: QcdLowPtDQM.h:78
double eta() const
Definition: QcdLowPtDQM.h:49

Member Function Documentation

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

Definition at line 72 of file QcdLowPtDQM.h.

References deta_.

Referenced by compareTracklets().

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

Definition at line 73 of file QcdLowPtDQM.h.

References dphi_.

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

Definition at line 76 of file QcdLowPtDQM.h.

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

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

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

Definition at line 74 of file QcdLowPtDQM.h.

References i1_.

Referenced by seti1().

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

Definition at line 75 of file QcdLowPtDQM.h.

References i2_.

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

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

Definition at line 77 of file QcdLowPtDQM.h.

References p1_.

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

Definition at line 78 of file QcdLowPtDQM.h.

References p2_.

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

Definition at line 79 of file QcdLowPtDQM.h.

References i1(), and i1_.

Referenced by QcdLowPtDQM::fillTracklets().

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

Definition at line 80 of file QcdLowPtDQM.h.

References i2(), and i2_.

Referenced by QcdLowPtDQM::fillTracklets().

80 { i2_ = i2; }

Member Data Documentation

double QcdLowPtDQM::Tracklet::deta_
protected

Definition at line 85 of file QcdLowPtDQM.h.

Referenced by deta().

double QcdLowPtDQM::Tracklet::dphi_
protected

Definition at line 85 of file QcdLowPtDQM.h.

Referenced by dphi().

int QcdLowPtDQM::Tracklet::i1_
protected

Definition at line 84 of file QcdLowPtDQM.h.

Referenced by i1(), and seti1().

int QcdLowPtDQM::Tracklet::i2_
protected

Definition at line 84 of file QcdLowPtDQM.h.

Referenced by i2(), and seti2().

Pixel QcdLowPtDQM::Tracklet::p1_
protected

Definition at line 83 of file QcdLowPtDQM.h.

Referenced by eta(), and p1().

Pixel QcdLowPtDQM::Tracklet::p2_
protected

Definition at line 83 of file QcdLowPtDQM.h.

Referenced by p2().