CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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),
14  gsfTrackRef_(gsftrackRef),
15  kfPFRecTrackRef_(kfpfrectrackref),
16  pfBremVec_(0)
17 {
19 }
20 
21 void
23  pfBremVec_.push_back(brem);
24 }
25 
26 void
28  for ( unsigned j=0; j<pfBremVec_.size(); ++j )
30 }
31 
32 void
34  assoPFRecTrack_.push_back(pfrectracksref);
35 }
36 
37 void
39  assoGsfPFRecTrack_.push_back(gsfpfrectracksref);
40 }
reconstructed track used as an input to particle flow
Definition: PFRecTrack.h:22
void addConvBremPFRecTrackRef(const reco::PFRecTrackRef &pfrectracksref)
PFRecTrackRef from conv Brems
double charge(const std::vector< uint8_t > &Ampls)
void addBrem(const reco::PFBrem &brem)
add a Bremsstrahlung photon
void calculateBremPositionREP()
calculate posrep_ once and for all for each brem
std::vector< reco::PFRecTrackRef > assoPFRecTrack_
vector of PFRecTrackRef from conv Brems
Definition: GsfPFRecTrack.h:80
int trackId_
track id
Definition: GsfPFRecTrack.h:86
int j
Definition: DBlmapReader.cc:9
int trackId() const
Definition: GsfPFRecTrack.h:54
std::vector< reco::GsfPFRecTrackRef > assoGsfPFRecTrack_
vector of GsfPFRecTrackRef from duplicates
Definition: GsfPFRecTrack.h:83
void calculatePositionREP()
Definition: PFTrack.cc:68
void addConvBremGsfPFRecTrackRef(const reco::GsfPFRecTrackRef &gsfpfrectracksref)
GsfPFRecTrackRef from duplicates
AlgoType_t
different types of fitting algorithms
Definition: PFRecTrack.h:27
std::vector< reco::PFBrem > pfBremVec_
vector of PFBrem (empty for KF tracks)
Definition: GsfPFRecTrack.h:77