CMS 3D CMS Logo

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

List of all members.

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)
int trackId () const
const reco::TrackReftrackRef () const
 ~PFRecTrack ()

Private Attributes

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

Friends

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

Detailed Description

reconstructed track used as an input to particle flow

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.

                    {
      Unknown = 0,
      KF = 1, // Kalman filter 
      GSF = 2,
      KF_ELCAND=3// Gaussian sum filter
    };

Constructor & Destructor Documentation

PFRecTrack::PFRecTrack ( )

Definition at line 9 of file PFRecTrack.cc.

reco::PFRecTrack::~PFRecTrack ( ) [inline]

Definition at line 35 of file PFRecTrack.h.

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

Definition at line 29 of file PFRecTrack.cc.


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(), and PFTrackTransformer::addPointsAndBrems().

{ return algoType_; }
int reco::PFRecTrack::trackId ( ) const [inline]
Returns:
id

Reimplemented in reco::GsfPFRecTrack.

Definition at line 50 of file PFRecTrack.h.

References trackId_.

{return trackId_;}
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().

{return trackRef_;}

Friends And Related Function Documentation

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

Member Data Documentation

type of fitting algorithm used to reconstruct the track

Definition at line 64 of file PFRecTrack.h.

Referenced by algoType().

track id

Reimplemented in reco::GsfPFRecTrack.

Definition at line 67 of file PFRecTrack.h.

Referenced by trackId().

reference to corresponding track

Definition at line 70 of file PFRecTrack.h.

Referenced by trackRef().