#include <GsfPFRecTrack.h>
Public Member Functions | |
void | addBrem (const reco::PFBrem &brem) |
add a Bremsstrahlung photon | |
void | addConvBremGsfPFRecTrackRef (const reco::GsfPFRecTrackRef &gsfpfrectracksref) |
GsfPFRecTrackRef from duplicates | |
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::GsfPFRecTrackRef > & | convBremGsfPFRecTrackRef () const |
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::GsfPFRecTrackRef > | assoGsfPFRecTrack_ |
vector of GsfPFRecTrackRef from duplicates | |
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 24 of file GsfPFRecTrack.h.
reco::GsfPFRecTrack::GsfPFRecTrack | ( | ) | [inline] |
Definition at line 28 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 22 of file GsfPFRecTrack.cc.
References pfBremVec_.
Referenced by PFTrackTransformer::addPointsAndBrems().
{ pfBremVec_.push_back(brem); }
void GsfPFRecTrack::addConvBremGsfPFRecTrackRef | ( | const reco::GsfPFRecTrackRef & | gsfpfrectracksref | ) |
GsfPFRecTrackRef from duplicates
Definition at line 38 of file GsfPFRecTrack.cc.
References assoGsfPFRecTrack_.
{ assoGsfPFRecTrack_.push_back(gsfpfrectracksref); }
void GsfPFRecTrack::addConvBremPFRecTrackRef | ( | const reco::PFRecTrackRef & | pfrectracksref | ) |
PFRecTrackRef from conv Brems
Definition at line 33 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 27 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::GsfPFRecTrackRef>& reco::GsfPFRecTrack::convBremGsfPFRecTrackRef | ( | ) | const [inline] |
Definition at line 67 of file GsfPFRecTrack.h.
References assoGsfPFRecTrack_.
{return assoGsfPFRecTrack_;}
const std::vector<reco::PFRecTrackRef>& reco::GsfPFRecTrack::convBremPFRecTrackRef | ( | ) | const [inline] |
Definition at line 61 of file GsfPFRecTrack.h.
References assoPFRecTrack_.
{return assoPFRecTrack_;}
const reco::GsfTrackRef& reco::GsfPFRecTrack::gsfTrackRef | ( | ) | const [inline] |
Definition at line 39 of file GsfPFRecTrack.h.
References gsfTrackRef_.
Referenced by PFElecTkProducer::isSharingEcalEnergyWithEgSC(), and ConvBremPFTrackFinder::runConvBremFinder().
{return gsfTrackRef_;}
const edm::Ref<std::vector<PFRecTrack> >& reco::GsfPFRecTrack::kfPFRecTrackRef | ( | ) | const [inline] |
Definition at line 43 of file GsfPFRecTrack.h.
References kfPFRecTrackRef_.
Referenced by ConvBremPFTrackFinder::runConvBremFinder().
{return kfPFRecTrackRef_;}
const std::vector<reco::PFBrem>& reco::GsfPFRecTrack::PFRecBrem | ( | ) | const [inline] |
Definition at line 51 of file GsfPFRecTrack.h.
References pfBremVec_.
Referenced by PFElecTkProducer::isSharingEcalEnergyWithEgSC(), PFElecTkProducer::minTangDist(), and ConvBremPFTrackFinder::runConvBremFinder().
{return pfBremVec_;}
int reco::GsfPFRecTrack::trackId | ( | ) | const [inline] |
Reimplemented from reco::PFRecTrack.
Definition at line 54 of file GsfPFRecTrack.h.
References trackId_.
Referenced by GsfPFRecTrack().
{return trackId_;}
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().
reference to corresponding gsf track
Definition at line 71 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 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
Reimplemented from reco::PFRecTrack.
Definition at line 86 of file GsfPFRecTrack.h.
Referenced by GsfPFRecTrack(), and trackId().