Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:04:52

0001 #include "DataFormats/ParticleFlowReco/interface/GsfPFRecTrack.h"
0002 #include "DataFormats/TrackReco/interface/TrackFwd.h"
0003 #include "Math/GenVector/PositionVector3D.h"
0004 #include "DataFormats/Math/interface/Point3D.h"
0005 
0006 using namespace reco;
0007 GsfPFRecTrack::GsfPFRecTrack(double charge,
0008                              AlgoType_t algoType,
0009                              int trackId,
0010                              const reco::GsfTrackRef& gsftrackRef,
0011                              const edm::Ref<std::vector<PFRecTrack> >& kfpfrectrackref)
0012     : PFRecTrack(charge, algoType), gsfTrackRef_(gsftrackRef), kfPFRecTrackRef_(kfpfrectrackref), pfBremVec_(0) {
0013   trackId_ = trackId;
0014 }
0015 
0016 void GsfPFRecTrack::addBrem(const reco::PFBrem& brem) { pfBremVec_.push_back(brem); }
0017 
0018 void GsfPFRecTrack::addConvBremPFRecTrackRef(const reco::PFRecTrackRef& pfrectracksref) {
0019   assoPFRecTrack_.push_back(pfrectracksref);
0020 }
0021 
0022 void GsfPFRecTrack::addConvBremGsfPFRecTrackRef(const reco::GsfPFRecTrackRef& gsfpfrectracksref) {
0023   assoGsfPFRecTrack_.push_back(gsfpfrectracksref);
0024 }