CMS 3D CMS Logo

GsfPFRecTrack.cc
Go to the documentation of this file.
3 #include "Math/GenVector/PositionVector3D.h"
5 // #include "FWCore/MessageLogger/interface/MessageLogger.h"
6 
7 using namespace reco;
9  AlgoType_t algoType,
10  int trackId,
11  const reco::GsfTrackRef& gsftrackRef,
12  const edm::Ref<std::vector<PFRecTrack> >& kfpfrectrackref)
13  : PFRecTrack(charge, algoType), gsfTrackRef_(gsftrackRef), kfPFRecTrackRef_(kfpfrectrackref), pfBremVec_(0) {
14  trackId_ = trackId;
15 }
16 
17 void GsfPFRecTrack::addBrem(const reco::PFBrem& brem) { pfBremVec_.push_back(brem); }
18 
20  for (unsigned j = 0; j < pfBremVec_.size(); ++j)
22 }
23 
25  assoPFRecTrack_.push_back(pfrectracksref);
26 }
27 
29  assoGsfPFRecTrack_.push_back(gsfpfrectracksref);
30 }
reco::GsfPFRecTrack::assoGsfPFRecTrack_
std::vector< reco::GsfPFRecTrackRef > assoGsfPFRecTrack_
vector of GsfPFRecTrackRef from duplicates
Definition: GsfPFRecTrack.h:76
reco::PFTrack::calculatePositionREP
void calculatePositionREP()
Definition: PFTrack.cc:52
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:28
reco::GsfPFRecTrack::addConvBremPFRecTrackRef
void addConvBremPFRecTrackRef(const reco::PFRecTrackRef &pfrectracksref)
\add PFRecTrackRef from conv Brems
Definition: GsfPFRecTrack.cc:24
ALCARECOTkAlJpsiMuMu_cff.charge
charge
Definition: ALCARECOTkAlJpsiMuMu_cff.py:47
reco::PFRecTrack::AlgoType_t
AlgoType_t
different types of fitting algorithms
Definition: PFRecTrack.h:25
reco::GsfPFRecTrack::addBrem
void addBrem(const reco::PFBrem &brem)
add a Bremsstrahlung photon
Definition: GsfPFRecTrack.cc:17
reco::PFRecTrack
reconstructed track used as an input to particle flow
Definition: PFRecTrack.h:22
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
dqmiolumiharvest.j
j
Definition: dqmiolumiharvest.py:66
reco::GsfPFRecTrack::calculateBremPositionREP
void calculateBremPositionREP()
calculate posrep_ once and for all for each brem
Definition: GsfPFRecTrack.cc:19