CMS 3D CMS Logo

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)
 
 PFRecTrack (double charge, AlgoType_t algoType, int trackId, const reco::TrackRef &trackref)
 
auto phi () const
 
void setSTIP (float STIP)
 \set 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 (const PFTrack &other)
 
 PFTrack (double charge)
 
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::PFTrajectoryPointtrajectoryPoints_
 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

◆ AlgoType_t

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() [1/3]

PFRecTrack::PFRecTrack ( )

Definition at line 8 of file PFRecTrack.cc.

◆ ~PFRecTrack()

reco::PFRecTrack::~PFRecTrack ( )
inline

Definition at line 31 of file PFRecTrack.h.

31 {};

◆ PFRecTrack() [2/3]

PFRecTrack::PFRecTrack ( double  charge,
AlgoType_t  algoType,
int  trackId,
const reco::TrackRef trackref 
)

Definition at line 10 of file PFRecTrack.cc.

◆ PFRecTrack() [3/3]

PFRecTrack::PFRecTrack ( double  charge,
AlgoType_t  algoType 
)

Definition at line 13 of file PFRecTrack.cc.

14  : PFTrack(charge), algoType_(algoType), trackId_(-1), STIP_(-99.) {}

Member Function Documentation

◆ algoType()

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

Definition at line 39 of file PFRecTrack.h.

39 { return algoType_; }

References algoType_.

Referenced by PFTrackTransformer::addPoints().

◆ eta()

auto reco::PFRecTrack::eta ( ) const
inline
Returns
eta

Definition at line 54 of file PFRecTrack.h.

54 { return trackRef_->eta(); }

References trackRef_.

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

◆ phi()

auto reco::PFRecTrack::phi ( ) const
inline
Returns
phi

Definition at line 57 of file PFRecTrack.h.

57 { return trackRef_->phi(); }

References trackRef_.

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

◆ setSTIP()

void reco::PFRecTrack::setSTIP ( float  STIP)
inline

\set the significance of the signed transverse impact parameter

Definition at line 48 of file PFRecTrack.h.

48 { STIP_ = STIP; }

References STIP(), and STIP_.

◆ STIP()

const float reco::PFRecTrack::STIP ( ) const
inline
Returns
the significance of the signed transverse impact parameter

Definition at line 51 of file PFRecTrack.h.

51 { return STIP_; }

References STIP_.

Referenced by setSTIP().

◆ trackId()

int reco::PFRecTrack::trackId ( ) const
inline
Returns
id

Definition at line 42 of file PFRecTrack.h.

42 { return trackId_; }

References trackId_.

◆ trackRef()

const reco::TrackRef& reco::PFRecTrack::trackRef ( ) const
inline
Returns
reference to corresponding track

Definition at line 45 of file PFRecTrack.h.

45 { return trackRef_; }

References trackRef_.

Member Data Documentation

◆ algoType_

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().

◆ STIP_

float reco::PFRecTrack::STIP_
private

Definition at line 68 of file PFRecTrack.h.

Referenced by setSTIP(), and STIP().

◆ trackId_

int reco::PFRecTrack::trackId_
private

track id

Definition at line 64 of file PFRecTrack.h.

Referenced by trackId().

◆ trackRef_

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

reference to corresponding track

Definition at line 67 of file PFRecTrack.h.

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

reco::PFRecTrack::STIP
const float STIP() const
Definition: PFRecTrack.h:51
reco::PFRecTrack::KF
Definition: PFRecTrack.h:25
reco::PFRecTrack::STIP_
float STIP_
Definition: PFRecTrack.h:68
reco::PFRecTrack::Unknown
Definition: PFRecTrack.h:24
reco::PFRecTrack::KF_ELCAND
Definition: PFRecTrack.h:27
reco::PFRecTrack::algoType
unsigned int algoType() const
Definition: PFRecTrack.h:39
reco::PFTrack::PFTrack
PFTrack()
Definition: PFTrack.cc:12
reco::PFRecTrack::trackRef_
reco::TrackRef trackRef_
reference to corresponding track
Definition: PFRecTrack.h:67
reco::PFTrack::charge
double charge() const
Definition: PFTrack.h:81
reco::PFRecTrack::GSF
Definition: PFRecTrack.h:26
reco::PFRecTrack::trackRef
const reco::TrackRef & trackRef() const
Definition: PFRecTrack.h:45
reco::PFRecTrack::algoType_
AlgoType_t algoType_
type of fitting algorithm used to reconstruct the track
Definition: PFRecTrack.h:61
reco::PFRecTrack::trackId_
int trackId_
track id
Definition: PFRecTrack.h:64
reco::PFRecTrack::trackId
int trackId() const
Definition: PFRecTrack.h:42