Abstract. More...
#include <PFElecTkProducer.h>
Static Public Member Functions | |
static void | globalEndJob (convbremhelpers::HeavyObjectCache const *) |
static std::unique_ptr < convbremhelpers::HeavyObjectCache > | initializeGlobalCache (const edm::ParameterSet &conf) |
Static Public Member Functions inherited from edm::stream::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
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::ElectronSeed &nSeed, const reco::ElectronSeed &iSeed, bool &bothGsfEcalDriven, float &SCEnergy) |
bool | isSharingEcalEnergyWithEgSC (const reco::GsfPFRecTrack &nGsfPFRecTrack, const reco::GsfPFRecTrack &iGsfPFRecTrack, const reco::ElectronSeed &nSeed, const reco::ElectronSeed &iSeed, 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::stream::EDProducer< edm::GlobalCache< convbremhelpers::HeavyObjectCache > > | |
typedef CacheContexts< T...> | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T...> | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT < LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Public Types inherited from edm::stream::EDProducerBase | |
typedef EDProducerAdaptorBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
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 48 of file PFElecTkProducer.h.
|
explicit |
Constructor.
Definition at line 40 of file PFElecTkProducer.cc.
References applyAngularGsfClean_, applyGsfClean_, applySel_, debugGsfCleaning_, detaCutGsfClean_, detaGsfSC_, dphiCutGsfClean_, dphiGsfSC_, edm::ParameterSet::getParameter(), gsfTrackLabel_, maxPtConvReco_, modemomentum_, mvaConvBremFinderIDBarrelHighPt_, mvaConvBremFinderIDBarrelLowPt_, mvaConvBremFinderIDEndcapsHighPt_, mvaConvBremFinderIDEndcapsLowPt_, pfConv_, pfEcalClusters_, pfNuclear_, pfTrackLabel_, pfV0_, primVtxLabel_, SCEne_, trajinev_, useConvBremFinder_, useConversions_, useFifthStepForEcalDriven_, useFifthStepForTrackDriven_, useNuclear_, and useV0_.
PFElecTkProducer::~PFElecTkProducer | ( | ) |
|
private |
Definition at line 512 of file PFElecTkProducer.cc.
References compareJSON::const, detaGsfSC_, dphiGsfSC_, reco::GsfTrack::etaMode(), reco::Track::extra(), reco::GsfTrack::phiMode(), Pi, SCEne_, reco::Track::seedRef(), and TwoPi.
Referenced by produce().
|
overrideprivatevirtual |
Reimplemented from edm::stream::EDProducerBase.
Definition at line 1136 of file PFElecTkProducer.cc.
References convBremFinder_, edm::EventSetup::get(), HLT_25ns14e33_v1_cff::magneticField, mtsTransform_, mvaConvBremFinderIDBarrelHighPt_, mvaConvBremFinderIDBarrelLowPt_, mvaConvBremFinderIDEndcapsHighPt_, mvaConvBremFinderIDEndcapsLowPt_, pfTransformer_, edm::ESHandle< class >::product(), and patCandidatesForDimuonsSequences_cff::tracker.
|
private |
Definition at line 369 of file PFElecTkProducer.cc.
References python.multivaluedict::map().
Referenced by produce().
|
overrideprivatevirtual |
Reimplemented from edm::stream::EDProducerBase.
Definition at line 1163 of file PFElecTkProducer.cc.
References convBremFinder_, and pfTransformer_.
|
private |
Definition at line 388 of file PFElecTkProducer.cc.
References TrackingRecHit::all, compareJSON::const, reco::TrackBase::eta(), reco::Track::extra(), reco::TrackBase::phi(), Pi, TrajectorySeed::recHits(), reco::Track::seedRef(), mathSSE::sqrt(), and TwoPi.
Referenced by produce().
|
inlinestatic |
Definition at line 60 of file PFElecTkProducer.h.
|
inlinestatic |
Definition at line 56 of file PFElecTkProducer.h.
|
private |
Definition at line 470 of file PFElecTkProducer.cc.
References DetachedTripletStep_cff::detachedTripletStep, InitialStep_cff::initialStep, JetCoreRegionalStep_cff::jetCoreRegionalStep, LowPtTripletStep_cff::lowPtTripletStep, MixedTripletStep_cff::mixedTripletStep, PixelLessStep_cff::pixelLessStep, PixelPairStep_cff::pixelPairStep, and TobTecStep_cff::tobTecStep.
Referenced by produce().
|
private |
Definition at line 1070 of file PFElecTkProducer.cc.
References reco::HitPattern::getHitPattern(), reco::HitPattern::getLayer(), and reco::HitPattern::getSubStructure().
|
private |
Definition at line 1115 of file PFElecTkProducer.cc.
Referenced by resolveGsfTracks().
|
private |
Definition at line 851 of file PFElecTkProducer.cc.
References reco::ElectronSeed::caloCluster(), compareJSON::const, edm::RefToBase< T >::get(), and edm::RefToBase< T >::isNonnull().
Referenced by resolveGsfTracks().
|
private |
Definition at line 874 of file PFElecTkProducer.cc.
References assert(), reco::PFCluster::calculatePositionREP(), reco::ElectronSeed::caloCluster(), compareJSON::const, reco::PFTrajectoryPoint::ECALShowerMax, reco::PFCluster::energy(), reco::CaloCluster::energy(), reco::PFTrack::extrapolatedPoint(), edm::RefToBase< T >::get(), reco::GsfPFRecTrack::gsfTrackRef(), edm::RefToBase< T >::isNonnull(), reco::PFTrajectoryPoint::isValid(), ClusterClusterMapping::overlap(), reco::GsfPFRecTrack::PFRecBrem(), Pi, reco::CaloCluster::position(), LinkByRecHit::testTrackAndClusterByRecHit(), and TwoPi.
Referenced by resolveGsfTracks().
|
private |
Definition at line 807 of file PFElecTkProducer.cc.
References reco::PFTrajectoryPoint::ECALEntrance, reco::PFTrajectoryPoint::isValid(), HLT_25ns14e33_v1_cff::minDphi, reco::GsfPFRecTrack::PFRecBrem(), Pi, reco::PFTrajectoryPoint::positionREP(), and TwoPi.
Referenced by resolveGsfTracks().
|
overrideprivatevirtual |
Produce the PFRecTrack collection.
Implements edm::stream::EDProducerBase.
Definition at line 110 of file PFElecTkProducer.cc.
References applyGsfClean_, applySel_, applySelection(), RecoTauCleanerPlugins::charge, compareJSON::const, convBremFinder_, createGsfPFRecTrackRef(), FindPfRef(), edm::Event::getByToken(), reco::PFRecTrack::GSF, gsfTrackLabel_, cuy::ii, isFifthStep(), edm::Ref< C, T, F >::isNonnull(), modemomentum_, mtsTransform_, pfConv_, pfConversions_cfi::pfConversions, pfEcalClusters_, pfNuclear_, pftrack_, pfTrackLabel_, pfTransformer_, pfV0_cfi::pfV0, pfV0_, primVtxLabel_, edm::Handle< T >::product(), edm::Event::put(), resolveGsfTracks(), secpftrack_, trajinev_, useConversions_, useFifthStepForEcalDriven_, useFifthStepForTrackDriven_, useNuclear_, and useV0_.
|
private |
Definition at line 537 of file PFElecTkProducer.cc.
References applyAngularGsfClean_, compareJSON::const, 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 131 of file PFElecTkProducer.h.
Referenced by PFElecTkProducer(), and resolveGsfTracks().
|
private |
Definition at line 146 of file PFElecTkProducer.h.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 145 of file PFElecTkProducer.h.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 120 of file PFElecTkProducer.h.
|
private |
Definition at line 139 of file PFElecTkProducer.h.
Referenced by beginRun(), endRun(), and produce().
|
private |
Definition at line 150 of file PFElecTkProducer.h.
Referenced by PFElecTkProducer(), and resolveGsfTracks().
|
private |
Definition at line 132 of file PFElecTkProducer.h.
Referenced by PFElecTkProducer(), and resolveGsfTracks().
|
private |
Definition at line 152 of file PFElecTkProducer.h.
Referenced by applySelection(), and PFElecTkProducer().
|
private |
Definition at line 133 of file PFElecTkProducer.h.
Referenced by PFElecTkProducer(), and resolveGsfTracks().
|
private |
Definition at line 153 of file PFElecTkProducer.h.
Referenced by applySelection(), and PFElecTkProducer().
|
private |
Definition at line 121 of file PFElecTkProducer.h.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 154 of file PFElecTkProducer.h.
Referenced by PFElecTkProducer().
|
private |
Definition at line 144 of file PFElecTkProducer.h.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 137 of file PFElecTkProducer.h.
Referenced by resolveGsfTracks().
|
private |
Definition at line 138 of file PFElecTkProducer.h.
Referenced by beginRun(), produce(), and resolveGsfTracks().
|
private |
Definition at line 160 of file PFElecTkProducer.h.
Referenced by beginRun(), and PFElecTkProducer().
|
private |
Definition at line 159 of file PFElecTkProducer.h.
Referenced by beginRun(), and PFElecTkProducer().
|
private |
Definition at line 162 of file PFElecTkProducer.h.
Referenced by beginRun(), and PFElecTkProducer().
|
private |
Definition at line 161 of file PFElecTkProducer.h.
Referenced by beginRun(), and PFElecTkProducer().
|
private |
Definition at line 164 of file PFElecTkProducer.h.
|
private |
Definition at line 163 of file PFElecTkProducer.h.
|
private |
Definition at line 166 of file PFElecTkProducer.h.
|
private |
Definition at line 165 of file PFElecTkProducer.h.
|
private |
Definition at line 126 of file PFElecTkProducer.h.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 124 of file PFElecTkProducer.h.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 125 of file PFElecTkProducer.h.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 118 of file PFElecTkProducer.h.
Referenced by produce().
|
private |
Definition at line 122 of file PFElecTkProducer.h.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 136 of file PFElecTkProducer.h.
Referenced by beginRun(), endRun(), and produce().
|
private |
Definition at line 127 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 151 of file PFElecTkProducer.h.
Referenced by applySelection(), and PFElecTkProducer().
|
private |
Definition at line 119 of file PFElecTkProducer.h.
Referenced by produce().
|
private |
Trajectory of GSfTracks in the event?
Definition at line 143 of file PFElecTkProducer.h.
Referenced by PFElecTkProducer(), and produce().
|
private |
Conv Brem Finder.
Definition at line 157 of file PFElecTkProducer.h.
Referenced by PFElecTkProducer().
|
private |
Definition at line 129 of file PFElecTkProducer.h.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 147 of file PFElecTkProducer.h.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 148 of file PFElecTkProducer.h.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 128 of file PFElecTkProducer.h.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 130 of file PFElecTkProducer.h.
Referenced by PFElecTkProducer(), and produce().