CMS 3D CMS Logo

GsfPFRecTrack.cc
Go to the documentation of this file.
3 #include "Math/GenVector/PositionVector3D.h"
5 
6 using namespace reco;
8  AlgoType_t algoType,
9  int trackId,
10  const reco::GsfTrackRef& gsftrackRef,
11  const edm::Ref<std::vector<PFRecTrack> >& kfpfrectrackref)
12  : PFRecTrack(charge, algoType), gsfTrackRef_(gsftrackRef), kfPFRecTrackRef_(kfpfrectrackref), pfBremVec_(0) {
13  trackId_ = trackId;
14 }
15 
16 void GsfPFRecTrack::addBrem(const reco::PFBrem& brem) { pfBremVec_.push_back(brem); }
17 
19  assoPFRecTrack_.push_back(pfrectracksref);
20 }
21 
23  assoGsfPFRecTrack_.push_back(gsfpfrectracksref);
24 }
reco::GsfPFRecTrack::assoGsfPFRecTrack_
std::vector< reco::GsfPFRecTrackRef > assoGsfPFRecTrack_
vector of GsfPFRecTrackRef from duplicates
Definition: GsfPFRecTrack.h:76
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:45
reco::GsfPFRecTrack::trackId_
int trackId_
track id
Definition: GsfPFRecTrack.h:79
reco::PFBrem
Definition: PFBrem.h:10
reco::GsfPFRecTrack::trackId
int trackId() const
Definition: GsfPFRecTrack.h:48
edm::Ref< GsfTrackCollection >
reco::GsfPFRecTrack::assoPFRecTrack_
std::vector< reco::PFRecTrackRef > assoPFRecTrack_
vector of PFRecTrackRef from conv Brems
Definition: GsfPFRecTrack.h:73
TrackFwd.h
reco::GsfPFRecTrack::addConvBremGsfPFRecTrackRef
void addConvBremGsfPFRecTrackRef(const reco::GsfPFRecTrackRef &gsfpfrectracksref)
\add GsfPFRecTrackRef from duplicates
Definition: GsfPFRecTrack.cc:22
reco::GsfPFRecTrack::addConvBremPFRecTrackRef
void addConvBremPFRecTrackRef(const reco::PFRecTrackRef &pfrectracksref)
\add PFRecTrackRef from conv Brems
Definition: GsfPFRecTrack.cc:18
ALCARECOTkAlJpsiMuMu_cff.charge
charge
Definition: ALCARECOTkAlJpsiMuMu_cff.py:47
reco::PFRecTrack::AlgoType_t
AlgoType_t
different types of fitting algorithms
Definition: PFRecTrack.h:23
reco::GsfPFRecTrack::addBrem
void addBrem(const reco::PFBrem &brem)
add a Bremsstrahlung photon
Definition: GsfPFRecTrack.cc:16
reco::PFRecTrack
reconstructed track used as an input to particle flow
Definition: PFRecTrack.h:20
reco::GsfPFRecTrack::GsfPFRecTrack
GsfPFRecTrack()
Definition: GsfPFRecTrack.h:26
Point3D.h
reco::GsfPFRecTrack::pfBremVec_
std::vector< reco::PFBrem > pfBremVec_
vector of PFBrem (empty for KF tracks)
Definition: GsfPFRecTrack.h:70
GsfPFRecTrack.h