CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Private Attributes | Friends
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, int trackId, const reco::TrackRef &trackref)
 
 PFRecTrack (double charge, AlgoType_t algoType)
 
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)
 
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 (double charge)
 
 PFTrack (const PFTrack &other)
 
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...
 

Friends

std::ostream & operator<< (std::ostream &out, const PFRecTrack &track)
 

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::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 22 of file PFRecTrack.h.

Member Enumeration Documentation

different types of fitting algorithms

Enumerator
Unknown 
KF 
GSF 
KF_ELCAND 

Definition at line 27 of file PFRecTrack.h.

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

Constructor & Destructor Documentation

PFRecTrack::PFRecTrack ( )

Definition at line 9 of file PFRecTrack.cc.

9  :
10  PFTrack(),
12  trackId_(-1),
13  STIP_(-99.)
14 {}
int trackId_
track id
Definition: PFRecTrack.h:72
AlgoType_t algoType_
type of fitting algorithm used to reconstruct the track
Definition: PFRecTrack.h:69
reco::PFRecTrack::~PFRecTrack ( )
inline

Definition at line 35 of file PFRecTrack.h.

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

Definition at line 18 of file PFRecTrack.cc.

21  :
22  PFTrack(charge),
24  trackId_(trackId),
26  STIP_(-99.)
27 {}
reco::TrackRef trackRef_
reference to corresponding track
Definition: PFRecTrack.h:75
const reco::TrackRef & trackRef() const
Definition: PFRecTrack.h:54
int trackId_
track id
Definition: PFRecTrack.h:72
int trackId() const
Definition: PFRecTrack.h:50
unsigned int algoType() const
Definition: PFRecTrack.h:47
AlgoType_t algoType_
type of fitting algorithm used to reconstruct the track
Definition: PFRecTrack.h:69
double charge() const
Definition: PFTrack.h:87
PFRecTrack::PFRecTrack ( double  charge,
AlgoType_t  algoType 
)

Definition at line 31 of file PFRecTrack.cc.

31  :
32  PFTrack(charge),
34  trackId_(-1),
35  STIP_(-99.)
36 {}
int trackId_
track id
Definition: PFRecTrack.h:72
unsigned int algoType() const
Definition: PFRecTrack.h:47
AlgoType_t algoType_
type of fitting algorithm used to reconstruct the track
Definition: PFRecTrack.h:69
double charge() const
Definition: PFTrack.h:87

Member Function Documentation

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

Definition at line 47 of file PFRecTrack.h.

References algoType_.

Referenced by PFTrackTransformer::addPoints().

47 { return algoType_; }
AlgoType_t algoType_
type of fitting algorithm used to reconstruct the track
Definition: PFRecTrack.h:69
void reco::PFRecTrack::setSTIP ( float  STIP)
inline

the significance of the signed transverse impact parameter

Definition at line 57 of file PFRecTrack.h.

References STIP(), and STIP_.

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

Definition at line 60 of file PFRecTrack.h.

References STIP_.

Referenced by setSTIP().

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

Definition at line 50 of file PFRecTrack.h.

References trackId_.

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

Definition at line 54 of file PFRecTrack.h.

References trackRef_.

Referenced by PFSimParticleProducer::getSimIDs().

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

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  out,
const PFRecTrack track 
)
friend

Member Data Documentation

AlgoType_t reco::PFRecTrack::algoType_
private

type of fitting algorithm used to reconstruct the track

Definition at line 69 of file PFRecTrack.h.

Referenced by algoType().

float reco::PFRecTrack::STIP_
private

Definition at line 76 of file PFRecTrack.h.

Referenced by setSTIP(), and STIP().

int reco::PFRecTrack::trackId_
private

track id

Definition at line 72 of file PFRecTrack.h.

Referenced by trackId().

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

reference to corresponding track

Definition at line 75 of file PFRecTrack.h.

Referenced by trackRef().