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, 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
 
PFTrackoperator= (const PFTrack &other)=default
 
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::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.

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

◆ ~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.

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

◆ 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.) {}
unsigned int algoType() const
Definition: PFRecTrack.h:39
double charge() const
Definition: PFTrack.h:83
int trackId_
track id
Definition: PFRecTrack.h:64
AlgoType_t algoType_
type of fitting algorithm used to reconstruct the track
Definition: PFRecTrack.h:61

Member Function Documentation

◆ algoType()

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

39 { return algoType_; }
AlgoType_t algoType_
type of fitting algorithm used to reconstruct the track
Definition: PFRecTrack.h:61

◆ eta()

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(), datamodel.Object::DeltaR(), Jet.Jet::jetID(), datamodel.Object::p4(), and Jet.Jet::puJetId().

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

◆ phi()

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

Definition at line 57 of file PFRecTrack.h.

References trackRef_.

Referenced by Particle.Particle::__str__(), datamodel.Object::DeltaR(), datamodel.Object::p4(), and ntupleDataFormat.Track::phiPull().

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

◆ setSTIP()

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

◆ 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.

References STIP_.

Referenced by setSTIP().

51 { return STIP_; }

◆ trackId()

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

◆ trackRef()

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_

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