CMS 3D CMS Logo

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)
 \add GsfPFRecTrackRef from duplicates More...
 
void addConvBremPFRecTrackRef (const reco::PFRecTrackRef &pfrectracksref)
 \add 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)
 
 PFRecTrack (double charge, AlgoType_t algoType, int trackId, const reco::TrackRef &trackref)
 
auto phi () const
 
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)
 
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 (const PFTrack &other)
 
 PFTrack (double charge)
 
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::GsfPFRecTrackRefassoGsfPFRecTrack_
 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::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

Definition at line 24 of file GsfPFRecTrack.h.

Constructor & Destructor Documentation

◆ GsfPFRecTrack() [1/2]

reco::GsfPFRecTrack::GsfPFRecTrack ( )
inline

Definition at line 26 of file GsfPFRecTrack.h.

26 {};

◆ GsfPFRecTrack() [2/2]

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.

12  : PFRecTrack(charge, algoType), gsfTrackRef_(gsftrackRef), kfPFRecTrackRef_(kfpfrectrackref), pfBremVec_(0) {
13  trackId_ = trackId;
14 }

References trackId(), and trackId_.

Member Function Documentation

◆ addBrem()

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

add a Bremsstrahlung photon

Definition at line 16 of file GsfPFRecTrack.cc.

16 { pfBremVec_.push_back(brem); }

References pfBremVec_.

Referenced by PFTrackTransformer::addPointsAndBrems().

◆ addConvBremGsfPFRecTrackRef()

void GsfPFRecTrack::addConvBremGsfPFRecTrackRef ( const reco::GsfPFRecTrackRef gsfpfrectracksref)

\add GsfPFRecTrackRef from duplicates

Definition at line 22 of file GsfPFRecTrack.cc.

22  {
23  assoGsfPFRecTrack_.push_back(gsfpfrectracksref);
24 }

References assoGsfPFRecTrack_.

◆ addConvBremPFRecTrackRef()

void GsfPFRecTrack::addConvBremPFRecTrackRef ( const reco::PFRecTrackRef pfrectracksref)

\add PFRecTrackRef from conv Brems

Definition at line 18 of file GsfPFRecTrack.cc.

18  {
19  assoPFRecTrack_.push_back(pfrectracksref);
20 }

References assoPFRecTrack_.

◆ calculateBremPositionREP()

void reco::GsfPFRecTrack::calculateBremPositionREP ( )

calculate posrep_ once and for all for each brem

◆ convBremGsfPFRecTrackRef()

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

Definition at line 60 of file GsfPFRecTrack.h.

60 { return assoGsfPFRecTrack_; }

References assoGsfPFRecTrack_.

◆ convBremPFRecTrackRef()

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.

54 { return assoPFRecTrack_; }

References assoPFRecTrack_.

◆ gsfTrackRef()

const reco::GsfTrackRef& reco::GsfPFRecTrack::gsfTrackRef ( ) const
inline
Returns
reference to corresponding gsftrack

Definition at line 34 of file GsfPFRecTrack.h.

34 { return gsfTrackRef_; }

References gsfTrackRef_.

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

◆ kfPFRecTrackRef()

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.

37 { return kfPFRecTrackRef_; }

References kfPFRecTrackRef_.

Referenced by ConvBremPFTrackFinder::runConvBremFinder().

◆ PFRecBrem()

const std::vector<reco::PFBrem>& reco::GsfPFRecTrack::PFRecBrem ( ) const
inline

◆ trackId()

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

Definition at line 48 of file GsfPFRecTrack.h.

48 { return trackId_; }

References trackId_.

Referenced by GsfPFRecTrack().

Member Data Documentation

◆ assoGsfPFRecTrack_

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

◆ assoPFRecTrack_

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

◆ gsfTrackRef_

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

reference to corresponding gsf track

Definition at line 64 of file GsfPFRecTrack.h.

Referenced by gsfTrackRef().

◆ kfPFRecTrackRef_

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

◆ pfBremVec_

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

◆ trackId_

int reco::GsfPFRecTrack::trackId_
private

track id

Definition at line 79 of file GsfPFRecTrack.h.

Referenced by GsfPFRecTrack(), and trackId().

reco::GsfPFRecTrack::assoGsfPFRecTrack_
std::vector< reco::GsfPFRecTrackRef > assoGsfPFRecTrack_
vector of GsfPFRecTrackRef from duplicates
Definition: GsfPFRecTrack.h:76
reco::GsfPFRecTrack::trackId_
int trackId_
track id
Definition: GsfPFRecTrack.h:79
reco::GsfPFRecTrack::trackId
int trackId() const
Definition: GsfPFRecTrack.h:48
reco::GsfPFRecTrack::assoPFRecTrack_
std::vector< reco::PFRecTrackRef > assoPFRecTrack_
vector of PFRecTrackRef from conv Brems
Definition: GsfPFRecTrack.h:73
reco::PFRecTrack::algoType
unsigned int algoType() const
Definition: PFRecTrack.h:39
reco::PFRecTrack::PFRecTrack
PFRecTrack()
Definition: PFRecTrack.cc:8
reco::PFTrack::charge
double charge() const
Definition: PFTrack.h:81
reco::GsfPFRecTrack::gsfTrackRef_
reco::GsfTrackRef gsfTrackRef_
reference to corresponding gsf track
Definition: GsfPFRecTrack.h:64
reco::GsfPFRecTrack::pfBremVec_
std::vector< reco::PFBrem > pfBremVec_
vector of PFBrem (empty for KF tracks)
Definition: GsfPFRecTrack.h:70
reco::GsfPFRecTrack::kfPFRecTrackRef_
reco::PFRecTrackRef kfPFRecTrackRef_
ref to the corresponfing PfRecTrack with KF algo (only for PFRecTrack built from GSF track)
Definition: GsfPFRecTrack.h:67