CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Private Attributes
reco::PFRecTrack Class Reference

reconstructed track used as an input to particle flow More...

#include <PFRecTrack.h>

Inheritance diagram for reco::PFRecTrack:
reco::PFTrack reco::GsfPFRecTrack reco::PFBrem

Public Types

enum  AlgoType_t { Unknown = 0, KF = 1, GSF = 2, KF_ELCAND = 3 }
 different types of fitting algorithms More...
 

Public Member Functions

unsigned int algoType () const
 
auto eta () const
 
 PFRecTrack ()
 
 PFRecTrack (double charge, AlgoType_t algoType, int trackId, const reco::TrackRef &trackref)
 
 PFRecTrack (double charge, AlgoType_t algoType)
 
auto phi () const
 
void setSTIP (float STIP)
 the significance of the signed transverse impact parameter More...
 
const float STIP () const
 
int trackId () const
 
const reco::TrackReftrackRef () const
 
 ~PFRecTrack ()
 
- Public Member Functions inherited from reco::PFTrack
void addPoint (const reco::PFTrajectoryPoint &trajPt)
 
double charge () const
 
const reco::PFTrajectoryPointextrapolatedPoint (unsigned layerid) const
 
std::vector
< reco::PFTrajectoryPoint >
::const_iterator 
innermostMeasurement () const
 iterator on innermost tracker measurement More...
 
unsigned int nTrajectoryMeasurements () const
 
unsigned int nTrajectoryPoints () const
 
std::vector
< reco::PFTrajectoryPoint >
::const_iterator 
outermostMeasurement () const
 iterator on outermost tracker measurement More...
 
 PFTrack ()
 
 PFTrack (double charge)
 
 PFTrack (const PFTrack &other)
 
void setPoint (unsigned int index, const reco::PFTrajectoryPoint &measurement)
 set a trajectory point More...
 
const reco::PFTrajectoryPointtrajectoryPoint (unsigned index) const
 
const std::vector
< reco::PFTrajectoryPoint > & 
trajectoryPoints () const
 

Private Attributes

AlgoType_t algoType_
 type of fitting algorithm used to reconstruct the track More...
 
float STIP_
 
int trackId_
 track id More...
 
reco::TrackRef trackRef_
 reference to corresponding track More...
 

Additional Inherited Members

- Protected Attributes inherited from reco::PFTrack
double charge_
 charge More...
 
unsigned int indexInnermost_
 index innermost tracker measurement More...
 
unsigned int indexOutermost_
 index outermost tracker measurement More...
 
std::vector
< reco::PFTrajectoryPoint
trajectoryPoints_
 vector of trajectory points More...
 
- Static Protected Attributes inherited from reco::PFTrack
static const unsigned int nMaxTrackingLayers_ = 17
 maximal number of tracking layers More...
 

Detailed Description

reconstructed track used as an input to particle flow

Additional information w/r to PFTrack:

Author
Renaud Bruneliere, Michele Pioppi, Daniele Benedetti
Date
July 2006

Additional information w/r to PFTrack:

Author
Renaud Bruneliere, Michele Pioppi
Date
July 2006

Definition at line 20 of file PFRecTrack.h.

Member Enumeration Documentation

different types of fitting algorithms

Enumerator
Unknown 
KF 
GSF 
KF_ELCAND 

Definition at line 23 of file PFRecTrack.h.

23  {
24  Unknown = 0,
25  KF = 1, // Kalman filter
26  GSF = 2,
27  KF_ELCAND = 3 // Gaussian sum filter
28  };

Constructor & Destructor Documentation

PFRecTrack::PFRecTrack ( )

Definition at line 8 of file PFRecTrack.cc.

int trackId_
track id
Definition: PFRecTrack.h:64
AlgoType_t algoType_
type of fitting algorithm used to reconstruct the track
Definition: PFRecTrack.h:61
reco::PFRecTrack::~PFRecTrack ( )
inline

Definition at line 31 of file PFRecTrack.h.

31 {};
PFRecTrack::PFRecTrack ( double  charge,
AlgoType_t  algoType,
int  trackId,
const reco::TrackRef trackref 
)

Definition at line 10 of file PFRecTrack.cc.

reco::TrackRef trackRef_
reference to corresponding track
Definition: PFRecTrack.h:67
const reco::TrackRef & trackRef() const
Definition: PFRecTrack.h:45
int trackId_
track id
Definition: PFRecTrack.h:64
int trackId() const
Definition: PFRecTrack.h:42
unsigned int algoType() const
Definition: PFRecTrack.h:39
AlgoType_t algoType_
type of fitting algorithm used to reconstruct the track
Definition: PFRecTrack.h:61
double charge() const
Definition: PFTrack.h:81
PFRecTrack::PFRecTrack ( double  charge,
AlgoType_t  algoType 
)

Definition at line 13 of file PFRecTrack.cc.

14  : PFTrack(charge), algoType_(algoType), trackId_(-1), STIP_(-99.) {}
int trackId_
track id
Definition: PFRecTrack.h:64
unsigned int algoType() const
Definition: PFRecTrack.h:39
AlgoType_t algoType_
type of fitting algorithm used to reconstruct the track
Definition: PFRecTrack.h:61
double charge() const
Definition: PFTrack.h:81

Member Function Documentation

unsigned int reco::PFRecTrack::algoType ( ) const
inline
Returns
type of algorithm

Definition at line 39 of file PFRecTrack.h.

References algoType_.

Referenced by PFTrackTransformer::addPoints(), and reco::operator<<().

39 { return algoType_; }
AlgoType_t algoType_
type of fitting algorithm used to reconstruct the track
Definition: PFRecTrack.h:61
auto reco::PFRecTrack::eta ( ) const
inline
Returns
eta

Definition at line 54 of file PFRecTrack.h.

References trackRef_.

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

54 { return trackRef_->eta(); }
reco::TrackRef trackRef_
reference to corresponding track
Definition: PFRecTrack.h:67
auto reco::PFRecTrack::phi ( ) const
inline
Returns
phi

Definition at line 57 of file PFRecTrack.h.

References trackRef_.

Referenced by Particle.Particle::__str__(), and ntupleDataFormat.Track::phiPull().

57 { return trackRef_->phi(); }
reco::TrackRef trackRef_
reference to corresponding track
Definition: PFRecTrack.h:67
void reco::PFRecTrack::setSTIP ( float  STIP)
inline

the significance of the signed transverse impact parameter

Definition at line 48 of file PFRecTrack.h.

References STIP(), and STIP_.

48 { STIP_ = STIP; }
const float STIP() const
Definition: PFRecTrack.h:51
const float reco::PFRecTrack::STIP ( ) const
inline
Returns
the significance of the signed transverse impact parameter

Definition at line 51 of file PFRecTrack.h.

References STIP_.

Referenced by setSTIP().

51 { return STIP_; }
int reco::PFRecTrack::trackId ( ) const
inline
Returns
id

Definition at line 42 of file PFRecTrack.h.

References trackId_.

42 { return trackId_; }
int trackId_
track id
Definition: PFRecTrack.h:64
const reco::TrackRef& reco::PFRecTrack::trackRef ( ) const
inline
Returns
reference to corresponding track

Definition at line 45 of file PFRecTrack.h.

References trackRef_.

45 { return trackRef_; }
reco::TrackRef trackRef_
reference to corresponding track
Definition: PFRecTrack.h:67

Member Data Documentation

AlgoType_t reco::PFRecTrack::algoType_
private

type of fitting algorithm used to reconstruct the track

Definition at line 61 of file PFRecTrack.h.

Referenced by algoType().

float reco::PFRecTrack::STIP_
private

Definition at line 68 of file PFRecTrack.h.

Referenced by setSTIP(), and STIP().

int reco::PFRecTrack::trackId_
private

track id

Definition at line 64 of file PFRecTrack.h.

Referenced by trackId().

reco::TrackRef reco::PFRecTrack::trackRef_
private

reference to corresponding track

Definition at line 67 of file PFRecTrack.h.

Referenced by eta(), phi(), and trackRef().