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 }
reconstructed track used as an input to particle flow
Definition: PFRecTrack.h:20
void addConvBremPFRecTrackRef(const reco::PFRecTrackRef &pfrectracksref)
PFRecTrackRef from conv Brems
void addBrem(const reco::PFBrem &brem)
add a Bremsstrahlung photon
int trackId() const
Definition: GsfPFRecTrack.h:48
std::vector< reco::PFRecTrackRef > assoPFRecTrack_
vector of PFRecTrackRef from conv Brems
Definition: GsfPFRecTrack.h:73
int trackId_
track id
Definition: GsfPFRecTrack.h:79
std::vector< reco::GsfPFRecTrackRef > assoGsfPFRecTrack_
vector of GsfPFRecTrackRef from duplicates
Definition: GsfPFRecTrack.h:76
void addConvBremGsfPFRecTrackRef(const reco::GsfPFRecTrackRef &gsfpfrectracksref)
GsfPFRecTrackRef from duplicates
fixed size matrix
AlgoType_t
different types of fitting algorithms
Definition: PFRecTrack.h:23
std::vector< reco::PFBrem > pfBremVec_
vector of PFBrem (empty for KF tracks)
Definition: GsfPFRecTrack.h:70