test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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
 
 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

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

Definition at line 24 of file GsfPFRecTrack.h.

Constructor & Destructor Documentation

reco::GsfPFRecTrack::GsfPFRecTrack ( )
inline

Definition at line 28 of file GsfPFRecTrack.h.

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

Definition at line 8 of file GsfPFRecTrack.cc.

References trackId(), and trackId_.

12  :
14  gsfTrackRef_(gsftrackRef),
15  kfPFRecTrackRef_(kfpfrectrackref),
16  pfBremVec_(0)
17 {
19 }
reco::GsfTrackRef gsfTrackRef_
reference to corresponding gsf track
Definition: GsfPFRecTrack.h:71
int trackId_
track id
Definition: GsfPFRecTrack.h:86
int trackId() const
Definition: GsfPFRecTrack.h:54
unsigned int algoType() const
Definition: PFRecTrack.h:47
std::vector< reco::PFBrem > pfBremVec_
vector of PFBrem (empty for KF tracks)
Definition: GsfPFRecTrack.h:77
reco::PFRecTrackRef kfPFRecTrackRef_
ref to the corresponfing PfRecTrack with KF algo (only for PFRecTrack built from GSF track) ...
Definition: GsfPFRecTrack.h:74
double charge() const
Definition: PFTrack.h:87

Member Function Documentation

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

add a Bremsstrahlung photon

Definition at line 22 of file GsfPFRecTrack.cc.

References pfBremVec_.

Referenced by PFTrackTransformer::addPointsAndBrems().

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

GsfPFRecTrackRef from duplicates

Definition at line 38 of file GsfPFRecTrack.cc.

References assoGsfPFRecTrack_.

38  {
39  assoGsfPFRecTrack_.push_back(gsfpfrectracksref);
40 }
std::vector< reco::GsfPFRecTrackRef > assoGsfPFRecTrack_
vector of GsfPFRecTrackRef from duplicates
Definition: GsfPFRecTrack.h:83
void GsfPFRecTrack::addConvBremPFRecTrackRef ( const reco::PFRecTrackRef pfrectracksref)

PFRecTrackRef from conv Brems

Definition at line 33 of file GsfPFRecTrack.cc.

References assoPFRecTrack_.

33  {
34  assoPFRecTrack_.push_back(pfrectracksref);
35 }
std::vector< reco::PFRecTrackRef > assoPFRecTrack_
vector of PFRecTrackRef from conv Brems
Definition: GsfPFRecTrack.h:80
void GsfPFRecTrack::calculateBremPositionREP ( )

calculate posrep_ once and for all for each brem

Definition at line 27 of file GsfPFRecTrack.cc.

References reco::PFTrack::calculatePositionREP(), j, and pfBremVec_.

27  {
28  for ( unsigned j=0; j<pfBremVec_.size(); ++j )
30 }
int j
Definition: DBlmapReader.cc:9
void calculatePositionREP()
Definition: PFTrack.cc:68
std::vector< reco::PFBrem > pfBremVec_
vector of PFBrem (empty for KF tracks)
Definition: GsfPFRecTrack.h:77
const std::vector<reco::GsfPFRecTrackRef>& reco::GsfPFRecTrack::convBremGsfPFRecTrackRef ( ) const
inline
Returns
vector of GsfPFRecTrackRef from duplicates

Definition at line 67 of file GsfPFRecTrack.h.

References assoGsfPFRecTrack_.

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

Definition at line 61 of file GsfPFRecTrack.h.

References assoPFRecTrack_.

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

Definition at line 39 of file GsfPFRecTrack.h.

References gsfTrackRef_.

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

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

Definition at line 43 of file GsfPFRecTrack.h.

References kfPFRecTrackRef_.

Referenced by ConvBremPFTrackFinder::runConvBremFinder().

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

Definition at line 51 of file GsfPFRecTrack.h.

References pfBremVec_.

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

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

Definition at line 54 of file GsfPFRecTrack.h.

References trackId_.

Referenced by GsfPFRecTrack().

54 {return trackId_;}
int trackId_
track id
Definition: GsfPFRecTrack.h:86

Member Data Documentation

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

vector of GsfPFRecTrackRef from duplicates

Definition at line 83 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 80 of file GsfPFRecTrack.h.

Referenced by addConvBremPFRecTrackRef(), and convBremPFRecTrackRef().

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

reference to corresponding gsf track

Definition at line 71 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 74 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 77 of file GsfPFRecTrack.h.

Referenced by addBrem(), calculateBremPositionREP(), and PFRecBrem().

int reco::GsfPFRecTrack::trackId_
private

track id

Definition at line 86 of file GsfPFRecTrack.h.

Referenced by GsfPFRecTrack(), and trackId().