Abstract. More...
#include <PFElecTkProducer.h>
Public Member Functions | |
PFElecTkProducer (const edm::ParameterSet &, const convbremhelpers::HeavyObjectCache *) | |
Constructor. More... | |
~PFElecTkProducer () override | |
Destructor. More... | |
Public Member Functions inherited from edm::stream::EDProducer< edm::GlobalCache< convbremhelpers::HeavyObjectCache > > | |
EDProducer ()=default | |
bool | hasAbilityToProduceInLumis () const final |
bool | hasAbilityToProduceInRuns () const final |
Static Public Member Functions | |
static void | globalEndJob (convbremhelpers::HeavyObjectCache const *) |
static std::unique_ptr< convbremhelpers::HeavyObjectCache > | initializeGlobalCache (const edm::ParameterSet &conf) |
Private Member Functions | |
bool | applySelection (const reco::GsfTrack &) |
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) |
void | endRun (const edm::Run &, const edm::EventSetup &) override |
int | FindPfRef (const reco::PFRecTrackCollection &PfRTkColl, const reco::GsfTrack &, bool) |
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) |
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 |
Abstract.
PFElecTkProducer reads the merged GsfTracks collection built with the TrackerDriven and EcalDriven seeds and transform them in PFGsfRecTracks.
Definition at line 49 of file PFElecTkProducer.h.
|
explicit |
Constructor.
Definition at line 41 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_.
|
override |
|
private |
Definition at line 474 of file PFElecTkProducer.cc.
References detaGsfSC_, dphiGsfSC_, reco::CaloCluster::energy(), reco::GsfTrack::etaMode(), reco::Track::extra(), edm::RefToBase< T >::get(), reco::GsfTrack::phiMode(), Pi, SCEne_, reco::Track::seedRef(), and TwoPi.
Referenced by globalEndJob(), and produce().
|
overrideprivate |
Definition at line 1088 of file PFElecTkProducer.cc.
References convBremFinder_, edm::EventSetup::get(), MagneticField::inTesla(), seedCreatorFromRegionConsecutiveHitsEDProducer_cff::magneticField, mtsTransform_, mvaConvBremFinderIDBarrelHighPt_, mvaConvBremFinderIDBarrelLowPt_, mvaConvBremFinderIDEndcapsHighPt_, mvaConvBremFinderIDEndcapsLowPt_, pfTransformer_, edm::ESHandle< T >::product(), and trackingTruthProducer_cfi::tracker.
Referenced by globalEndJob().
|
private |
Definition at line 380 of file PFElecTkProducer.cc.
References genParticles_cff::map.
Referenced by globalEndJob(), and produce().
|
overrideprivate |
Definition at line 1115 of file PFElecTkProducer.cc.
References convBremFinder_, and pfTransformer_.
Referenced by globalEndJob().
|
private |
Definition at line 399 of file PFElecTkProducer.cc.
References TrackingRecHit::all, runTauDisplay::dr, reco::TrackBase::eta(), reco::Track::extra(), edm::RefToBase< T >::get(), reco::TrackBase::phi(), Pi, TrajectorySeed::recHits(), reco::Track::seedRef(), mathSSE::sqrt(), and TwoPi.
Referenced by globalEndJob(), and produce().
|
inlinestatic |
Definition at line 61 of file PFElecTkProducer.h.
References applySelection(), beginRun(), createGsfPFRecTrackRef(), endRun(), FindPfRef(), isInnerMost(), isInnerMostWithLostHits(), isSameEgSC(), isSharingEcalEnergyWithEgSC(), genParticles_cff::map, minTangDist(), produce(), resolveGsfTracks(), and ~PFElecTkProducer().
|
inlinestatic |
Definition at line 57 of file PFElecTkProducer.h.
|
private |
Definition at line 1026 of file PFElecTkProducer.cc.
References reco::HitPattern::getHitPattern(), reco::HitPattern::getLayer(), and reco::HitPattern::getSubStructure().
Referenced by globalEndJob().
|
private |
Definition at line 1067 of file PFElecTkProducer.cc.
Referenced by globalEndJob(), and resolveGsfTracks().
|
private |
Definition at line 818 of file PFElecTkProducer.cc.
References reco::ElectronSeed::caloCluster(), reco::CaloCluster::energy(), edm::RefToBase< T >::get(), and edm::RefToBase< T >::isNonnull().
Referenced by globalEndJob(), and resolveGsfTracks().
|
private |
Definition at line 841 of file PFElecTkProducer.cc.
References reco::PFCluster::calculatePositionREP(), reco::ElectronSeed::caloCluster(), 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(), packedPFCandidateRefMixer_cfi::pf, reco::GsfPFRecTrack::PFRecBrem(), Pi, reco::CaloCluster::position(), LinkByRecHit::testTrackAndClusterByRecHit(), and TwoPi.
Referenced by globalEndJob(), and resolveGsfTracks().
|
private |
Definition at line 774 of file PFElecTkProducer.cc.
References reco::PFTrajectoryPoint::ECALEntrance, reco::PFTrajectoryPoint::isValid(), reco::GsfPFRecTrack::PFRecBrem(), Pi, reco::PFTrajectoryPoint::positionREP(), and TwoPi.
Referenced by globalEndJob(), and resolveGsfTracks().
|
overrideprivate |
Produce the PFRecTrack collection.
Definition at line 111 of file PFElecTkProducer.cc.
References applyGsfClean_, applySel_, applySelection(), ALCARECOTkAlJpsiMuMu_cff::charge, convBremFinder_, createGsfPFRecTrackRef(), FindPfRef(), edm::Ref< C, T, F >::get(), edm::Event::getByToken(), reco::PFRecTrack::GSF, gsfInnerMomentumCache_, gsfTrackLabel_, cuy::ii, MultiTrajectoryStateTransform::innerStateOnSurface(), PFTrackAlgoTools::isFifthStep(), edm::Ref< C, T, F >::isNonnull(), TrajectoryStateOnSurface::isValid(), PV3DBase< T, PVType, FrameType >::mag(), modemomentum_, multiTrajectoryStateMode::momentumFromModeCartesian(), eostools::move(), mtsTransform_, pfConv_, pfConversions_cfi::pfConversions, pfEcalClusters_, pfNuclear_, pftrack_, pfTrackLabel_, pfTransformer_, pfV0_cfi::pfV0, pfV0_, primVtxLabel_, edm::Handle< T >::product(), edm::Event::put(), resolveGsfTracks(), secpftrack_, edm::swap(), trajinev_, useConversions_, useFifthStepForEcalDriven_, useFifthStepForTrackDriven_, useNuclear_, and useV0_.
Referenced by globalEndJob().
|
private |
Definition at line 499 of file PFElecTkProducer.cc.
References applyAngularGsfClean_, gather_cfg::cout, debugGsfCleaning_, detaCutGsfClean_, dphiCutGsfClean_, edm::Ref< C, T, F >::get(), gsfInnerMomentumCache_, isInnerMostWithLostHits(), isSameEgSC(), isSharingEcalEnergyWithEgSC(), edm::Ref< C, T, F >::key(), minTangDist(), Pi, and TwoPi.
Referenced by globalEndJob(), and produce().
|
private |
Definition at line 132 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 121 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 133 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 134 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 169 of file PFElecTkProducer.h.
Referenced by produce(), and resolveGsfTracks().
|
private |
Definition at line 122 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 138 of file PFElecTkProducer.h.
Referenced by beginRun(), and produce().
|
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 127 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 126 of file PFElecTkProducer.h.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 119 of file PFElecTkProducer.h.
Referenced by produce().
|
private |
Definition at line 123 of file PFElecTkProducer.h.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 137 of file PFElecTkProducer.h.
Referenced by beginRun(), endRun(), and produce().
|
private |
Definition at line 128 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 151 of file PFElecTkProducer.h.
Referenced by applySelection(), and PFElecTkProducer().
|
private |
Definition at line 120 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 130 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 129 of file PFElecTkProducer.h.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 131 of file PFElecTkProducer.h.
Referenced by PFElecTkProducer(), and produce().