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
 
 PFRecTrack ()
 
 PFRecTrack (double charge, AlgoType_t algoType)
 
 PFRecTrack (double charge, AlgoType_t algoType, int trackId, const reco::TrackRef &trackref)
 
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)
 
void calculatePositionREP ()
 
double charge () const
 
int color () 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 setColor (int color)
 
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...
 
int color_
 color (transient) 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 22 of file PFRecTrack.h.

Member Enumeration Documentation

◆ AlgoType_t

different types of fitting algorithms

Enumerator
Unknown 
KF 
GSF 
KF_ELCAND 

Definition at line 25 of file PFRecTrack.h.

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

Constructor & Destructor Documentation

◆ PFRecTrack() [1/3]

PFRecTrack::PFRecTrack ( )

Definition at line 8 of file PFRecTrack.cc.

◆ ~PFRecTrack()

reco::PFRecTrack::~PFRecTrack ( )
inline

Definition at line 33 of file PFRecTrack.h.

33 {};

◆ 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 41 of file PFRecTrack.h.

41 { return algoType_; }

References algoType_.

Referenced by PFTrackTransformer::addPoints().

◆ setSTIP()

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

\set the significance of the signed transverse impact parameter

Definition at line 50 of file PFRecTrack.h.

50 { 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 53 of file PFRecTrack.h.

53 { return STIP_; }

References STIP_.

Referenced by setSTIP().

◆ trackId()

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

Definition at line 44 of file PFRecTrack.h.

44 { return trackId_; }

References trackId_.

◆ trackRef()

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

Definition at line 47 of file PFRecTrack.h.

47 { 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 57 of file PFRecTrack.h.

Referenced by algoType().

◆ STIP_

float reco::PFRecTrack::STIP_
private

Definition at line 64 of file PFRecTrack.h.

Referenced by setSTIP(), and STIP().

◆ trackId_

int reco::PFRecTrack::trackId_
private

track id

Definition at line 60 of file PFRecTrack.h.

Referenced by trackId().

◆ trackRef_

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

reference to corresponding track

Definition at line 63 of file PFRecTrack.h.

Referenced by trackRef().

reco::PFRecTrack::STIP
const float STIP() const
Definition: PFRecTrack.h:53
reco::PFRecTrack::KF
Definition: PFRecTrack.h:27
reco::PFRecTrack::STIP_
float STIP_
Definition: PFRecTrack.h:64
reco::PFRecTrack::Unknown
Definition: PFRecTrack.h:26
reco::PFRecTrack::KF_ELCAND
Definition: PFRecTrack.h:29
reco::PFRecTrack::algoType
unsigned int algoType() const
Definition: PFRecTrack.h:41
reco::PFTrack::PFTrack
PFTrack()
Definition: PFTrack.cc:11
reco::PFRecTrack::trackRef_
reco::TrackRef trackRef_
reference to corresponding track
Definition: PFRecTrack.h:63
reco::PFTrack::charge
double charge() const
Definition: PFTrack.h:85
reco::PFRecTrack::GSF
Definition: PFRecTrack.h:28
reco::PFRecTrack::trackRef
const reco::TrackRef & trackRef() const
Definition: PFRecTrack.h:47
reco::PFRecTrack::algoType_
AlgoType_t algoType_
type of fitting algorithm used to reconstruct the track
Definition: PFRecTrack.h:57
reco::PFRecTrack::trackId_
int trackId_
track id
Definition: PFRecTrack.h:60
reco::PFRecTrack::trackId
int trackId() const
Definition: PFRecTrack.h:44