CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Private Attributes
reco::GsfPFRecTrack Class Reference

#include <GsfPFRecTrack.h>

Inheritance diagram for reco::GsfPFRecTrack:
reco::PFRecTrack reco::PFTrack

Public Member Functions

void addBrem (const reco::PFBrem &brem)
 add a Bremsstrahlung photon More...
 
void addConvBremGsfPFRecTrackRef (const reco::GsfPFRecTrackRef &gsfpfrectracksref)
 GsfPFRecTrackRef from duplicates More...
 
void addConvBremPFRecTrackRef (const reco::PFRecTrackRef &pfrectracksref)
 PFRecTrackRef from conv Brems More...
 
void calculateBremPositionREP ()
 calculate posrep_ once and for all for each brem More...
 
const std::vector
< reco::GsfPFRecTrackRef > & 
convBremGsfPFRecTrackRef () const
 
const std::vector
< reco::PFRecTrackRef > & 
convBremPFRecTrackRef () const
 
 GsfPFRecTrack ()
 
 GsfPFRecTrack (double charge, AlgoType_t algoType, int trackId, const reco::GsfTrackRef &gtrackref, const edm::Ref< std::vector< PFRecTrack > > &kfpfrectrackref)
 
const reco::GsfTrackRefgsfTrackRef () const
 
const edm::Ref< std::vector
< PFRecTrack > > & 
kfPFRecTrackRef () const
 
const std::vector< reco::PFBrem > & PFRecBrem () const
 
int trackId () const
 
- Public Member Functions inherited from reco::PFRecTrack
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
 
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

std::vector
< reco::GsfPFRecTrackRef
assoGsfPFRecTrack_
 vector of GsfPFRecTrackRef from duplicates More...
 
std::vector< reco::PFRecTrackRefassoPFRecTrack_
 vector of PFRecTrackRef from conv Brems More...
 
reco::GsfTrackRef gsfTrackRef_
 reference to corresponding gsf track More...
 
reco::PFRecTrackRef kfPFRecTrackRef_
 ref to the corresponfing PfRecTrack with KF algo (only for PFRecTrack built from GSF track) More...
 
std::vector< reco::PFBrempfBremVec_
 vector of PFBrem (empty for KF tracks) More...
 
int trackId_
 track id More...
 

Additional Inherited Members

- Public Types inherited from reco::PFRecTrack
enum  AlgoType_t { Unknown = 0, KF = 1, GSF = 2, KF_ELCAND = 3 }
 different types of fitting algorithms More...
 
- 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::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

Definition at line 24 of file GsfPFRecTrack.h.

Constructor & Destructor Documentation

reco::GsfPFRecTrack::GsfPFRecTrack ( )
inline

Definition at line 26 of file GsfPFRecTrack.h.

26 {};
GsfPFRecTrack::GsfPFRecTrack ( double  charge,
AlgoType_t  algoType,
int  trackId,
const reco::GsfTrackRef gtrackref,
const edm::Ref< std::vector< PFRecTrack > > &  kfpfrectrackref 
)

Definition at line 7 of file GsfPFRecTrack.cc.

References trackId(), and trackId_.

12  : PFRecTrack(charge, algoType), gsfTrackRef_(gsftrackRef), kfPFRecTrackRef_(kfpfrectrackref), pfBremVec_(0) {
13  trackId_ = trackId;
14 }
reco::GsfTrackRef gsfTrackRef_
reference to corresponding gsf track
Definition: GsfPFRecTrack.h:64
int trackId_
track id
Definition: GsfPFRecTrack.h:79
int trackId() const
Definition: GsfPFRecTrack.h:48
unsigned int algoType() const
Definition: PFRecTrack.h:39
std::vector< reco::PFBrem > pfBremVec_
vector of PFBrem (empty for KF tracks)
Definition: GsfPFRecTrack.h:70
reco::PFRecTrackRef kfPFRecTrackRef_
ref to the corresponfing PfRecTrack with KF algo (only for PFRecTrack built from GSF track) ...
Definition: GsfPFRecTrack.h:67
double charge() const
Definition: PFTrack.h:81

Member Function Documentation

void GsfPFRecTrack::addBrem ( const reco::PFBrem brem)

add a Bremsstrahlung photon

Definition at line 16 of file GsfPFRecTrack.cc.

References pfBremVec_.

Referenced by PFTrackTransformer::addPointsAndBrems().

16 { pfBremVec_.push_back(brem); }
std::vector< reco::PFBrem > pfBremVec_
vector of PFBrem (empty for KF tracks)
Definition: GsfPFRecTrack.h:70
void GsfPFRecTrack::addConvBremGsfPFRecTrackRef ( const reco::GsfPFRecTrackRef gsfpfrectracksref)

GsfPFRecTrackRef from duplicates

Definition at line 22 of file GsfPFRecTrack.cc.

References assoGsfPFRecTrack_.

22  {
23  assoGsfPFRecTrack_.push_back(gsfpfrectracksref);
24 }
std::vector< reco::GsfPFRecTrackRef > assoGsfPFRecTrack_
vector of GsfPFRecTrackRef from duplicates
Definition: GsfPFRecTrack.h:76
void GsfPFRecTrack::addConvBremPFRecTrackRef ( const reco::PFRecTrackRef pfrectracksref)

PFRecTrackRef from conv Brems

Definition at line 18 of file GsfPFRecTrack.cc.

References assoPFRecTrack_.

18  {
19  assoPFRecTrack_.push_back(pfrectracksref);
20 }
std::vector< reco::PFRecTrackRef > assoPFRecTrack_
vector of PFRecTrackRef from conv Brems
Definition: GsfPFRecTrack.h:73
void reco::GsfPFRecTrack::calculateBremPositionREP ( )

calculate posrep_ once and for all for each brem

const std::vector<reco::GsfPFRecTrackRef>& reco::GsfPFRecTrack::convBremGsfPFRecTrackRef ( ) const
inline
Returns
vector of GsfPFRecTrackRef from duplicates

Definition at line 60 of file GsfPFRecTrack.h.

References assoGsfPFRecTrack_.

60 { return assoGsfPFRecTrack_; }
std::vector< reco::GsfPFRecTrackRef > assoGsfPFRecTrack_
vector of GsfPFRecTrackRef from duplicates
Definition: GsfPFRecTrack.h:76
const std::vector<reco::PFRecTrackRef>& reco::GsfPFRecTrack::convBremPFRecTrackRef ( ) const
inline
Returns
vector of PFRecTrackRef from Conv Brem

Definition at line 54 of file GsfPFRecTrack.h.

References assoPFRecTrack_.

54 { return assoPFRecTrack_; }
std::vector< reco::PFRecTrackRef > assoPFRecTrack_
vector of PFRecTrackRef from conv Brems
Definition: GsfPFRecTrack.h:73
const reco::GsfTrackRef& reco::GsfPFRecTrack::gsfTrackRef ( ) const
inline
Returns
reference to corresponding gsftrack

Definition at line 34 of file GsfPFRecTrack.h.

References gsfTrackRef_.

Referenced by PFElecTkProducer::isSharingEcalEnergyWithEgSC(), and ConvBremPFTrackFinder::runConvBremFinder().

34 { return gsfTrackRef_; }
reco::GsfTrackRef gsfTrackRef_
reference to corresponding gsf track
Definition: GsfPFRecTrack.h:64
const edm::Ref<std::vector<PFRecTrack> >& reco::GsfPFRecTrack::kfPFRecTrackRef ( ) const
inline
Returns
reference to corresponding KF PFRecTrack (only for GSF PFRecTrack)

Definition at line 37 of file GsfPFRecTrack.h.

References kfPFRecTrackRef_.

Referenced by ConvBremPFTrackFinder::runConvBremFinder().

37 { return kfPFRecTrackRef_; }
reco::PFRecTrackRef kfPFRecTrackRef_
ref to the corresponfing PfRecTrack with KF algo (only for PFRecTrack built from GSF track) ...
Definition: GsfPFRecTrack.h:67
const std::vector<reco::PFBrem>& reco::GsfPFRecTrack::PFRecBrem ( ) const
inline
Returns
the vector of PFBrem

Definition at line 45 of file GsfPFRecTrack.h.

References pfBremVec_.

Referenced by PFElecTkProducer::isSharingEcalEnergyWithEgSC(), PFElecTkProducer::minTangDist(), and ConvBremPFTrackFinder::runConvBremFinder().

45 { return pfBremVec_; }
std::vector< reco::PFBrem > pfBremVec_
vector of PFBrem (empty for KF tracks)
Definition: GsfPFRecTrack.h:70
int reco::GsfPFRecTrack::trackId ( ) const
inline
Returns
id

Definition at line 48 of file GsfPFRecTrack.h.

References trackId_.

Referenced by GsfPFRecTrack().

48 { return trackId_; }
int trackId_
track id
Definition: GsfPFRecTrack.h:79

Member Data Documentation

std::vector<reco::GsfPFRecTrackRef> reco::GsfPFRecTrack::assoGsfPFRecTrack_
private

vector of GsfPFRecTrackRef from duplicates

Definition at line 76 of file GsfPFRecTrack.h.

Referenced by addConvBremGsfPFRecTrackRef(), and convBremGsfPFRecTrackRef().

std::vector<reco::PFRecTrackRef> reco::GsfPFRecTrack::assoPFRecTrack_
private

vector of PFRecTrackRef from conv Brems

Definition at line 73 of file GsfPFRecTrack.h.

Referenced by addConvBremPFRecTrackRef(), and convBremPFRecTrackRef().

reco::GsfTrackRef reco::GsfPFRecTrack::gsfTrackRef_
private

reference to corresponding gsf track

Definition at line 64 of file GsfPFRecTrack.h.

Referenced by gsfTrackRef().

reco::PFRecTrackRef reco::GsfPFRecTrack::kfPFRecTrackRef_
private

ref to the corresponfing PfRecTrack with KF algo (only for PFRecTrack built from GSF track)

Definition at line 67 of file GsfPFRecTrack.h.

Referenced by kfPFRecTrackRef().

std::vector<reco::PFBrem> reco::GsfPFRecTrack::pfBremVec_
private

vector of PFBrem (empty for KF tracks)

Definition at line 70 of file GsfPFRecTrack.h.

Referenced by addBrem(), and PFRecBrem().

int reco::GsfPFRecTrack::trackId_
private

track id

Definition at line 79 of file GsfPFRecTrack.h.

Referenced by GsfPFRecTrack(), and trackId().