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

Constructor & Destructor Documentation

QcdLowPtDQM::Tracklet::Tracklet ( )
inline

Definition at line 50 of file QcdLowPtDQM.h.

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

Definition at line 51 of file QcdLowPtDQM.h.

51  :
52  p1_(p1), p2_(p2), i1_(-1), i2_(-1),
53  deta_(p1.eta()-p2.eta()), dphi_(Geom::deltaPhi(p1.phi(),p2.phi())) {}
const Pixel & p1() const
Definition: QcdLowPtDQM.h:59
double phi() const
Definition: QcdLowPtDQM.h:38
const Pixel & p2() const
Definition: QcdLowPtDQM.h:60
double eta() const
Definition: QcdLowPtDQM.h:36

Member Function Documentation

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

Definition at line 54 of file QcdLowPtDQM.h.

References deta_.

Referenced by compareTracklets().

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

Definition at line 55 of file QcdLowPtDQM.h.

References dphi_.

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

Definition at line 58 of file QcdLowPtDQM.h.

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

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

Definition at line 56 of file QcdLowPtDQM.h.

References i1_.

Referenced by seti1().

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

Definition at line 57 of file QcdLowPtDQM.h.

References i2_.

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

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

Definition at line 59 of file QcdLowPtDQM.h.

References p1_.

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

Definition at line 60 of file QcdLowPtDQM.h.

References p2_.

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

Definition at line 61 of file QcdLowPtDQM.h.

References i1(), and i1_.

Referenced by QcdLowPtDQM::fillTracklets().

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

Definition at line 62 of file QcdLowPtDQM.h.

References i2(), and i2_.

Referenced by QcdLowPtDQM::fillTracklets().

62 { i2_ = i2; }

Member Data Documentation

double QcdLowPtDQM::Tracklet::deta_
protected

Definition at line 66 of file QcdLowPtDQM.h.

Referenced by deta().

double QcdLowPtDQM::Tracklet::dphi_
protected

Definition at line 66 of file QcdLowPtDQM.h.

Referenced by dphi().

int QcdLowPtDQM::Tracklet::i1_
protected

Definition at line 65 of file QcdLowPtDQM.h.

Referenced by i1(), and seti1().

int QcdLowPtDQM::Tracklet::i2_
protected

Definition at line 65 of file QcdLowPtDQM.h.

Referenced by i2(), and seti2().

Pixel QcdLowPtDQM::Tracklet::p1_
protected

Definition at line 64 of file QcdLowPtDQM.h.

Referenced by eta(), and p1().

Pixel QcdLowPtDQM::Tracklet::p2_
protected

Definition at line 64 of file QcdLowPtDQM.h.

Referenced by p2().