CMS 3D CMS Logo

Public Member Functions | Protected Attributes

QcdLowPtDQM::Tracklet Class Reference

#include <QcdLowPtDQM.h>

List of all members.

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 (const Pixel &p1, const Pixel &p2)
 Tracklet ()

Protected Attributes

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

Detailed Description

Definition at line 49 of file QcdLowPtDQM.h.


Constructor & Destructor Documentation

QcdLowPtDQM::Tracklet::Tracklet ( ) [inline]

Definition at line 51 of file QcdLowPtDQM.h.

: i1_(-1), i2_(-2), deta_(0), dphi_(0) {}
QcdLowPtDQM::Tracklet::Tracklet ( const Pixel p1,
const Pixel p2 
) [inline]

Definition at line 52 of file QcdLowPtDQM.h.

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

Member Function Documentation

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

Definition at line 55 of file QcdLowPtDQM.h.

References deta_.

Referenced by compareTracklets().

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

Definition at line 56 of file QcdLowPtDQM.h.

References dphi_.

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

Definition at line 59 of file QcdLowPtDQM.h.

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

{ return p1_.eta(); }
int QcdLowPtDQM::Tracklet::i1 ( ) const [inline]

Definition at line 57 of file QcdLowPtDQM.h.

References i1_.

Referenced by seti1().

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

Definition at line 58 of file QcdLowPtDQM.h.

References i2_.

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

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

Definition at line 60 of file QcdLowPtDQM.h.

References p1_.

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

Definition at line 61 of file QcdLowPtDQM.h.

References p2_.

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

Definition at line 62 of file QcdLowPtDQM.h.

References i1(), and i1_.

Referenced by QcdLowPtDQM::fillTracklets().

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

Definition at line 63 of file QcdLowPtDQM.h.

References i2(), and i2_.

Referenced by QcdLowPtDQM::fillTracklets().

{ i2_ = i2;         }      

Member Data Documentation

double QcdLowPtDQM::Tracklet::deta_ [protected]

Definition at line 67 of file QcdLowPtDQM.h.

Referenced by deta().

double QcdLowPtDQM::Tracklet::dphi_ [protected]

Definition at line 67 of file QcdLowPtDQM.h.

Referenced by dphi().

int QcdLowPtDQM::Tracklet::i1_ [protected]

Definition at line 66 of file QcdLowPtDQM.h.

Referenced by i1(), and seti1().

int QcdLowPtDQM::Tracklet::i2_ [protected]

Definition at line 66 of file QcdLowPtDQM.h.

Referenced by i2(), and seti2().

Definition at line 65 of file QcdLowPtDQM.h.

Referenced by eta(), and p1().

Definition at line 65 of file QcdLowPtDQM.h.

Referenced by p2().