Abstract. More...
#include <PFElecTkProducer.h>
Private Member Functions | |
bool | applySelection (const reco::GsfTrack &) |
virtual void | beginRun (const edm::Run &, const edm::EventSetup &) override |
void | createGsfPFRecTrackRef (const edm::OrphanHandle< reco::GsfPFRecTrackCollection > &gsfPfHandle, std::vector< reco::GsfPFRecTrack > &gsfPFRecTrackPrimary, const std::map< unsigned int, std::vector< reco::GsfPFRecTrack > > &MapPrimSec) |
virtual void | endRun (const edm::Run &, const edm::EventSetup &) override |
int | FindPfRef (const reco::PFRecTrackCollection &PfRTkColl, const reco::GsfTrack &, bool) |
bool | isFifthStep (reco::PFRecTrackRef pfKfTrack) |
bool | isInnerMost (const reco::GsfTrackRef &nGsfTrack, const reco::GsfTrackRef &iGsfTrack, bool &sameLayer) |
bool | isInnerMostWithLostHits (const reco::GsfTrackRef &nGsfTrack, const reco::GsfTrackRef &iGsfTrack, bool &sameLayer) |
bool | isSameEgSC (const reco::ElectronSeedRef &nSeedRef, const reco::ElectronSeedRef &iSeedRef, bool &bothGsfEcalDriven, float &SCEnergy) |
bool | isSharingEcalEnergyWithEgSC (const reco::GsfPFRecTrack &nGsfPFRecTrack, const reco::GsfPFRecTrack &iGsfPFRecTrack, const reco::ElectronSeedRef &nSeedRef, const reco::ElectronSeedRef &iSeedRef, const reco::PFClusterCollection &theEClus, bool &bothGsfTrackerDriven, bool &nEcalDriven, bool &iEcalDriven, float &nEnergy, float &iEnergy) |
float | minTangDist (const reco::GsfPFRecTrack &primGsf, const reco::GsfPFRecTrack &secGsf) |
virtual void | produce (edm::Event &, const edm::EventSetup &) override |
Produce the PFRecTrack collection. More... | |
bool | resolveGsfTracks (const std::vector< reco::GsfPFRecTrack > &GsfPFVec, unsigned int ngsf, std::vector< unsigned int > &secondaries, const reco::PFClusterCollection &theEClus) |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Abstract.
PFElecTkProducer reads the merged GsfTracks collection built with the TrackerDriven and EcalDriven seeds and transform them in PFGsfRecTracks.
Definition at line 35 of file PFElecTkProducer.h.
|
explicit |
Constructor.
Definition at line 50 of file PFElecTkProducer.cc.
References applyAngularGsfClean_, applyGsfClean_, applySel_, debugGsfCleaning_, detaCutGsfClean_, detaGsfSC_, dphiCutGsfClean_, dphiGsfSC_, edm::ParameterSet::getParameter(), gsfTrackLabel_, maxPtConvReco_, modemomentum_, mvaConvBremFinderIDBarrelHighPt_, mvaConvBremFinderIDBarrelLowPt_, mvaConvBremFinderIDEndcapsHighPt_, mvaConvBremFinderIDEndcapsLowPt_, path_mvaWeightFileConvBremBarrelHighPt_, path_mvaWeightFileConvBremBarrelLowPt_, path_mvaWeightFileConvBremEndcapsHighPt_, path_mvaWeightFileConvBremEndcapsLowPt_, pfConv_, pfEcalClusters_, pfNuclear_, pfTrackLabel_, pfV0_, primVtxLabel_, SCEne_, trajinev_, useConvBremFinder_, useConversions_, useFifthStepForEcalDriven_, useFifthStepForTrackDriven_, useNuclear_, and useV0_.
PFElecTkProducer::~PFElecTkProducer | ( | ) |
Destructor.
Definition at line 123 of file PFElecTkProducer.cc.
References convBremFinder_, and pfTransformer_.
|
private |
Definition at line 560 of file PFElecTkProducer.cc.
References detaGsfSC_, dphiGsfSC_, reco::GsfTrack::etaMode(), reco::Track::extra(), edm::Ref< C, T, F >::isNonnull(), edm::Ref< C, T, F >::isNull(), reco::GsfTrack::phiMode(), Pi, SCEne_, reco::Track::seedRef(), and TwoPi.
Referenced by produce().
|
overrideprivatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 1182 of file PFElecTkProducer.cc.
References convBremFinder_, edm::EventSetup::get(), mtsTransform_, mvaConvBremFinderIDBarrelHighPt_, mvaConvBremFinderIDBarrelLowPt_, mvaConvBremFinderIDEndcapsHighPt_, mvaConvBremFinderIDEndcapsLowPt_, path_mvaWeightFileConvBremBarrelHighPt_, path_mvaWeightFileConvBremBarrelLowPt_, path_mvaWeightFileConvBremEndcapsHighPt_, path_mvaWeightFileConvBremEndcapsLowPt_, pfTransformer_, edm::ESHandle< class >::product(), patCandidatesForDimuonsSequences_cff::tracker, and useConvBremFinder_.
|
private |
Definition at line 420 of file PFElecTkProducer.cc.
References python.multivaluedict::map().
Referenced by produce().
|
overrideprivatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 1237 of file PFElecTkProducer.cc.
References convBremFinder_, and pfTransformer_.
|
private |
Definition at line 439 of file PFElecTkProducer.cc.
References TrackingRecHit::all, reco::TrackBase::eta(), reco::Track::extra(), edm::Ref< C, T, F >::isNull(), reco::TrackBase::phi(), Pi, TrajectorySeed::recHits(), reco::Track::seedRef(), mathSSE::sqrt(), and TwoPi.
Referenced by produce().
|
private |
Definition at line 521 of file PFElecTkProducer.cc.
Referenced by produce().
|
private |
Definition at line 1116 of file PFElecTkProducer.cc.
References reco::HitPattern::getHitPattern(), reco::HitPattern::getLayer(), and reco::HitPattern::getSubStructure().
|
private |
|
private |
Definition at line 899 of file PFElecTkProducer.cc.
References edm::Ref< C, T, F >::isNonnull().
Referenced by resolveGsfTracks().
|
private |
Definition at line 922 of file PFElecTkProducer.cc.
References reco::PFCluster::calculatePositionREP(), reco::PFTrajectoryPoint::ECALShowerMax, reco::PFCluster::energy(), reco::PFTrack::extrapolatedPoint(), reco::GsfPFRecTrack::gsfTrackRef(), edm::Ref< C, T, F >::isNonnull(), reco::PFTrajectoryPoint::isValid(), ClusterClusterMapping::overlap(), reco::GsfPFRecTrack::PFRecBrem(), Pi, reco::CaloCluster::position(), LinkByRecHit::testTrackAndClusterByRecHit(), and TwoPi.
Referenced by resolveGsfTracks().
|
private |
Definition at line 855 of file PFElecTkProducer.cc.
References reco::PFTrajectoryPoint::ECALEntrance, reco::PFTrajectoryPoint::isValid(), reco::GsfPFRecTrack::PFRecBrem(), Pi, reco::PFTrajectoryPoint::positionREP(), and TwoPi.
Referenced by resolveGsfTracks().
|
overrideprivatevirtual |
Produce the PFRecTrack collection.
Implements edm::EDProducer.
Definition at line 137 of file PFElecTkProducer.cc.
References PFTrackTransformer::addPointsAndBrems(), applyGsfClean_, applySel_, applySelection(), DeDxDiscriminatorTools::charge(), convBremFinder_, createGsfPFRecTrackRef(), edm::EventID::event(), FindPfRef(), newFWLiteAna::found, ConvBremPFTrackFinder::foundConvBremPFRecTrack(), edm::Event::getByLabel(), ConvBremPFTrackFinder::getConvBremPFRecTracks(), reco::PFRecTrack::GSF, gsfTrackLabel_, edm::EventBase::id(), cuy::ii, isFifthStep(), edm::Ref< C, T, F >::isNonnull(), edm::Ref< C, T, F >::isNull(), LogDebug, modemomentum_, mtsTransform_, pfConv_, pfConversions_cfi::pfConversions, pfEcalClusters_, pfNuclear_, pftrack_, pfTrackLabel_, pfTransformer_, pfV0_cfi::pfV0, pfV0_, primVtxLabel_, edm::Handle< T >::product(), edm::Event::put(), resolveGsfTracks(), edm::EventID::run(), secpftrack_, trajinev_, useConversions_, useFifthStepForEcalDriven_, useFifthStepForTrackDriven_, useNuclear_, and useV0_.
|
private |
Definition at line 585 of file PFElecTkProducer.cc.
References applyAngularGsfClean_, gather_cfg::cout, debugGsfCleaning_, detaCutGsfClean_, dphiCutGsfClean_, MultiTrajectoryStateTransform::innerStateOnSurface(), isInnerMostWithLostHits(), isSameEgSC(), isSharingEcalEnergyWithEgSC(), TrajectoryStateOnSurface::isValid(), PV3DBase< T, PVType, FrameType >::mag(), minTangDist(), MultiTrajectoryStateMode::momentumFromModeCartesian(), mtsMode_, mtsTransform_, Pi, and TwoPi.
Referenced by produce().
|
private |
Definition at line 109 of file PFElecTkProducer.h.
Referenced by PFElecTkProducer(), and resolveGsfTracks().
|
private |
Definition at line 124 of file PFElecTkProducer.h.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 123 of file PFElecTkProducer.h.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 98 of file PFElecTkProducer.h.
|
private |
Definition at line 117 of file PFElecTkProducer.h.
Referenced by beginRun(), endRun(), produce(), and ~PFElecTkProducer().
|
private |
Definition at line 129 of file PFElecTkProducer.h.
Referenced by PFElecTkProducer(), and resolveGsfTracks().
|
private |
Definition at line 110 of file PFElecTkProducer.h.
Referenced by PFElecTkProducer(), and resolveGsfTracks().
|
private |
Definition at line 131 of file PFElecTkProducer.h.
Referenced by applySelection(), and PFElecTkProducer().
|
private |
Definition at line 111 of file PFElecTkProducer.h.
Referenced by PFElecTkProducer(), and resolveGsfTracks().
|
private |
Definition at line 132 of file PFElecTkProducer.h.
Referenced by applySelection(), and PFElecTkProducer().
|
private |
Definition at line 99 of file PFElecTkProducer.h.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 133 of file PFElecTkProducer.h.
Referenced by PFElecTkProducer().
|
private |
Definition at line 122 of file PFElecTkProducer.h.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 115 of file PFElecTkProducer.h.
Referenced by resolveGsfTracks().
|
private |
Definition at line 116 of file PFElecTkProducer.h.
Referenced by beginRun(), produce(), and resolveGsfTracks().
|
private |
Definition at line 139 of file PFElecTkProducer.h.
Referenced by beginRun(), and PFElecTkProducer().
|
private |
Definition at line 138 of file PFElecTkProducer.h.
Referenced by beginRun(), and PFElecTkProducer().
|
private |
Definition at line 141 of file PFElecTkProducer.h.
Referenced by beginRun(), and PFElecTkProducer().
|
private |
Definition at line 140 of file PFElecTkProducer.h.
Referenced by beginRun(), and PFElecTkProducer().
|
private |
Definition at line 143 of file PFElecTkProducer.h.
Referenced by beginRun(), and PFElecTkProducer().
|
private |
Definition at line 142 of file PFElecTkProducer.h.
Referenced by beginRun(), and PFElecTkProducer().
|
private |
Definition at line 145 of file PFElecTkProducer.h.
Referenced by beginRun(), and PFElecTkProducer().
|
private |
Definition at line 144 of file PFElecTkProducer.h.
Referenced by beginRun(), and PFElecTkProducer().
|
private |
Definition at line 104 of file PFElecTkProducer.h.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 102 of file PFElecTkProducer.h.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 103 of file PFElecTkProducer.h.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 96 of file PFElecTkProducer.h.
Referenced by produce().
|
private |
Definition at line 100 of file PFElecTkProducer.h.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 114 of file PFElecTkProducer.h.
Referenced by beginRun(), endRun(), produce(), and ~PFElecTkProducer().
|
private |
Definition at line 105 of file PFElecTkProducer.h.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 101 of file PFElecTkProducer.h.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 130 of file PFElecTkProducer.h.
Referenced by applySelection(), and PFElecTkProducer().
|
private |
Definition at line 97 of file PFElecTkProducer.h.
Referenced by produce().
|
private |
Trajectory of GSfTracks in the event?
Definition at line 121 of file PFElecTkProducer.h.
Referenced by PFElecTkProducer(), and produce().
|
private |
Conv Brem Finder.
Definition at line 136 of file PFElecTkProducer.h.
Referenced by beginRun(), and PFElecTkProducer().
|
private |
Definition at line 107 of file PFElecTkProducer.h.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 125 of file PFElecTkProducer.h.
|
private |
Definition at line 126 of file PFElecTkProducer.h.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 127 of file PFElecTkProducer.h.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 106 of file PFElecTkProducer.h.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 108 of file PFElecTkProducer.h.
Referenced by PFElecTkProducer(), and produce().