#include <GsfPFRecTrack.h>
Public Member Functions | |
void | addBrem (const reco::PFBrem &brem) |
add a Bremsstrahlung photon | |
void | addConvBremPFRecTrackRef (const reco::PFRecTrackRef &pfrectracksref) |
PFRecTrackRef from conv Brems | |
void | calculateBremPositionREP () |
calculate posrep_ once and for all for each brem | |
const std::vector < reco::PFRecTrackRef > & | convBremPFRecTrackRef () const |
GsfPFRecTrack () | |
GsfPFRecTrack (double charge, AlgoType_t algoType, int trackId, const reco::GsfTrackRef >rackref, const edm::Ref< std::vector< PFRecTrack > > &kfpfrectrackref) | |
const reco::GsfTrackRef & | gsfTrackRef () const |
const edm::Ref< std::vector < PFRecTrack > > & | kfPFRecTrackRef () const |
const std::vector< reco::PFBrem > & | PFRecBrem () const |
int | trackId () const |
Private Attributes | |
std::vector< reco::PFRecTrackRef > | assoPFRecTrack_ |
vector of PFRecTrackRef from conv Brems | |
reco::GsfTrackRef | gsfTrackRef_ |
reference to corresponding gsf track | |
reco::PFRecTrackRef | kfPFRecTrackRef_ |
ref to the corresponfing PfRecTrack with KF algo (only for PFRecTrack built from GSF track) | |
std::vector< reco::PFBrem > | pfBremVec_ |
vector of PFBrem (empty for KF tracks) | |
int | trackId_ |
track id |
Definition at line 23 of file GsfPFRecTrack.h.
reco::GsfPFRecTrack::GsfPFRecTrack | ( | ) | [inline] |
Definition at line 27 of file GsfPFRecTrack.h.
{};
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_.
: PFRecTrack(charge,algoType), gsfTrackRef_(gsftrackRef), kfPFRecTrackRef_(kfpfrectrackref), pfBremVec_(0) { trackId_=trackId; }
void GsfPFRecTrack::addBrem | ( | const reco::PFBrem & | brem | ) |
add a Bremsstrahlung photon
Definition at line 24 of file GsfPFRecTrack.cc.
References pfBremVec_.
Referenced by PFTrackTransformer::addPointsAndBrems().
{ pfBremVec_.push_back(brem); }
void GsfPFRecTrack::addConvBremPFRecTrackRef | ( | const reco::PFRecTrackRef & | pfrectracksref | ) |
PFRecTrackRef from conv Brems
Definition at line 36 of file GsfPFRecTrack.cc.
References assoPFRecTrack_.
{ assoPFRecTrack_.push_back(pfrectracksref); }
void GsfPFRecTrack::calculateBremPositionREP | ( | ) |
calculate posrep_ once and for all for each brem
Definition at line 30 of file GsfPFRecTrack.cc.
References reco::PFTrack::calculatePositionREP(), j, and pfBremVec_.
{ for ( unsigned j=0; j<pfBremVec_.size(); ++j ) pfBremVec_[j].calculatePositionREP(); }
const std::vector<reco::PFRecTrackRef>& reco::GsfPFRecTrack::convBremPFRecTrackRef | ( | ) | const [inline] |
Definition at line 60 of file GsfPFRecTrack.h.
References assoPFRecTrack_.
{return assoPFRecTrack_;}
const reco::GsfTrackRef& reco::GsfPFRecTrack::gsfTrackRef | ( | ) | const [inline] |
Definition at line 38 of file GsfPFRecTrack.h.
References gsfTrackRef_.
Referenced by ConvBremPFTrackFinder::runConvBremFinder(), and PFElecTkProducer::selectSecondaries().
{return gsfTrackRef_;}
const edm::Ref<std::vector<PFRecTrack> >& reco::GsfPFRecTrack::kfPFRecTrackRef | ( | ) | const [inline] |
Definition at line 42 of file GsfPFRecTrack.h.
References kfPFRecTrackRef_.
Referenced by ConvBremPFTrackFinder::runConvBremFinder(), and PFElecTkProducer::selectSecondaries().
{return kfPFRecTrackRef_;}
const std::vector<reco::PFBrem>& reco::GsfPFRecTrack::PFRecBrem | ( | ) | const [inline] |
Definition at line 50 of file GsfPFRecTrack.h.
References pfBremVec_.
Referenced by ConvBremPFTrackFinder::runConvBremFinder(), and PFElecTkProducer::selectSecondaries().
{return pfBremVec_;}
int reco::GsfPFRecTrack::trackId | ( | ) | const [inline] |
Reimplemented from reco::PFRecTrack.
Definition at line 53 of file GsfPFRecTrack.h.
References trackId_.
Referenced by GsfPFRecTrack().
{return trackId_;}
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().
reference to corresponding gsf track
Definition at line 64 of file GsfPFRecTrack.h.
Referenced by gsfTrackRef().
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(), calculateBremPositionREP(), and PFRecBrem().
int reco::GsfPFRecTrack::trackId_ [private] |
track id
Reimplemented from reco::PFRecTrack.
Definition at line 76 of file GsfPFRecTrack.h.
Referenced by GsfPFRecTrack(), and trackId().