Public Member Functions | |
PFElecTkProducer (const edm::ParameterSet &, const convbremhelpers::HeavyObjectCache *) | |
Constructor. More... | |
Public Member Functions inherited from edm::stream::EDProducer< edm::GlobalCache< convbremhelpers::HeavyObjectCache > > | |
EDProducer ()=default | |
EDProducer (const EDProducer &)=delete | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
const EDProducer & | operator= (const EDProducer &)=delete |
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 &, edm::soa::EtaPhiTableView trackEtaPhiTable) |
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 > > | |
using | CacheTypes = CacheContexts< T... > |
using | GlobalCache = typename CacheTypes::GlobalCache |
using | HasAbility = AbilityChecker< T... > |
using | InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache |
using | LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache |
using | LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > |
using | LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache |
using | RunCache = typename CacheTypes::RunCache |
using | RunContext = RunContextT< RunCache, GlobalCache > |
using | RunSummaryCache = typename CacheTypes::RunSummaryCache |
Definition at line 62 of file PFElecTkProducer.cc.
|
explicit |
Constructor.
Definition at line 178 of file PFElecTkProducer.cc.
References applyAngularGsfClean_, applyGsfClean_, applySel_, edm::BeginRun, 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_.
|
private |
Definition at line 549 of file PFElecTkProducer.cc.
References runTheMatrix::const, detaGsfSC_, dphiGsfSC_, reco::GsfTrack::etaMode(), reco::Track::extra(), JetMETHLTOfflineSource_cfi::feta, edm::RefToBase< T >::get(), reco::GsfTrack::phiMode(), Pi, SCEne_, reco::Track::seedRef(), and TwoPi.
Referenced by produce().
|
overrideprivate |
Definition at line 1113 of file PFElecTkProducer.cc.
References convBremFinder_, edm::EventSetup::getData(), magFieldToken_, HLT_2024v11_cff::magneticField, mtsTransform_, mvaConvBremFinderIDBarrelHighPt_, mvaConvBremFinderIDBarrelLowPt_, mvaConvBremFinderIDEndcapsHighPt_, mvaConvBremFinderIDEndcapsLowPt_, pfTransformer_, tkerGeomToken_, PbPb_ZMuSkimMuonDPG_cff::tracker, and transientTrackToken_.
|
private |
Definition at line 460 of file PFElecTkProducer.cc.
References genParticles_cff::map.
Referenced by produce().
|
overrideprivate |
Definition at line 1131 of file PFElecTkProducer.cc.
References convBremFinder_, and pfTransformer_.
|
private |
Definition at line 480 of file PFElecTkProducer.cc.
References TrackingRecHit::all, runTheMatrix::const, ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), reco::deltaR2(), reco::TrackBase::eta(), reco::Track::extra(), f, edm::RefToBase< T >::get(), reco::TrackBase::phi(), FastTrackerRecHitMaskProducer_cfi::recHits, TrajectorySeed::recHits(), reco::Track::seedRef(), and square().
Referenced by produce().
|
inlinestatic |
Definition at line 71 of file PFElecTkProducer.cc.
|
inlinestatic |
Definition at line 67 of file PFElecTkProducer.cc.
|
private |
Definition at line 1061 of file PFElecTkProducer.cc.
References reco::HitPattern::getHitPattern(), reco::HitPattern::getLayer(), and reco::HitPattern::getSubStructure().
|
private |
|
private |
Definition at line 856 of file PFElecTkProducer.cc.
References reco::ElectronSeed::caloCluster(), runTheMatrix::const, edm::RefToBase< T >::get(), edm::RefToBase< T >::isNonnull(), and TrendClient_cfi::SCEnergy.
Referenced by resolveGsfTracks().
|
private |
Definition at line 877 of file PFElecTkProducer.cc.
References cms::cuda::assert(), reco::PFCluster::calculatePositionREP(), reco::ElectronSeed::caloCluster(), runTheMatrix::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(), packedPFCandidateRefMixer_cfi::pf, reco::GsfPFRecTrack::PFRecBrem(), Pi, reco::CaloCluster::position(), LinkByRecHit::testTrackAndClusterByRecHit(), and TwoPi.
Referenced by resolveGsfTracks().
|
private |
Definition at line 813 of file PFElecTkProducer.cc.
References reco::PFTrajectoryPoint::ECALEntrance, reco::PFTrajectoryPoint::isValid(), HLT_2024v11_cff::minDphi, reco::GsfPFRecTrack::PFRecBrem(), Pi, reco::PFTrajectoryPoint::positionREP(), and TwoPi.
Referenced by resolveGsfTracks().
|
overrideprivate |
Produce the PFRecTrack collection.
Definition at line 233 of file PFElecTkProducer.cc.
References applyGsfClean_, applySel_, applySelection(), ALCARECOTkAlJpsiMuMu_cff::charge, runTheMatrix::const, convBremFinder_, createGsfPFRecTrackRef(), findPfRef(), edm::Ref< C, T, F >::get(), reco::PFRecTrack::GSF, gsfInnerMomentumCache_, gsfTrackLabel_, iEvent, cuy::ii, MultiTrajectoryStateTransform::innerStateOnSurface(), electrons_cff::isEcalDriven, 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(), resolveGsfTracks(), secpftrack_, edm::swap(), trajinev_, useConversions_, useFifthStepForEcalDriven_, useFifthStepForTrackDriven_, useNuclear_, and useV0_.
|
private |
Definition at line 575 of file PFElecTkProducer.cc.
References applyAngularGsfClean_, runTheMatrix::const, gather_cfg::cout, debugGsfCleaning_, detaCutGsfClean_, dphiCutGsfClean_, JetMETHLTOfflineSource_cfi::feta, edm::Ref< C, T, F >::get(), gsfInnerMomentumCache_, hcalRecHitTable_cff::ieta, hcalRecHitTable_cff::iphi, isInnerMostWithLostHits(), isSameEgSC(), isSharingEcalEnergyWithEgSC(), edm::Ref< C, T, F >::key(), minTangDist(), neta, nphi, Pi, TrendClient_cfi::SCEnergy, and TwoPi.
Referenced by produce().
|
private |
Definition at line 131 of file PFElecTkProducer.cc.
Referenced by PFElecTkProducer(), and resolveGsfTracks().
|
private |
Definition at line 148 of file PFElecTkProducer.cc.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 147 of file PFElecTkProducer.cc.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 120 of file PFElecTkProducer.cc.
|
private |
Definition at line 142 of file PFElecTkProducer.cc.
Referenced by beginRun(), endRun(), and produce().
|
private |
Definition at line 152 of file PFElecTkProducer.cc.
Referenced by PFElecTkProducer(), and resolveGsfTracks().
|
private |
Definition at line 132 of file PFElecTkProducer.cc.
Referenced by PFElecTkProducer(), and resolveGsfTracks().
|
private |
Definition at line 154 of file PFElecTkProducer.cc.
Referenced by applySelection(), and PFElecTkProducer().
|
private |
Definition at line 133 of file PFElecTkProducer.cc.
Referenced by PFElecTkProducer(), and resolveGsfTracks().
|
private |
Definition at line 155 of file PFElecTkProducer.cc.
Referenced by applySelection(), and PFElecTkProducer().
|
private |
Definition at line 171 of file PFElecTkProducer.cc.
Referenced by produce(), and resolveGsfTracks().
|
private |
Definition at line 121 of file PFElecTkProducer.cc.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 135 of file PFElecTkProducer.cc.
Referenced by beginRun().
|
private |
Definition at line 156 of file PFElecTkProducer.cc.
Referenced by PFElecTkProducer().
|
private |
Definition at line 146 of file PFElecTkProducer.cc.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 141 of file PFElecTkProducer.cc.
Referenced by beginRun(), and produce().
|
private |
Definition at line 162 of file PFElecTkProducer.cc.
Referenced by beginRun(), and PFElecTkProducer().
|
private |
Definition at line 161 of file PFElecTkProducer.cc.
Referenced by beginRun(), and PFElecTkProducer().
|
private |
Definition at line 164 of file PFElecTkProducer.cc.
Referenced by beginRun(), and PFElecTkProducer().
|
private |
Definition at line 163 of file PFElecTkProducer.cc.
Referenced by beginRun(), and PFElecTkProducer().
|
private |
Definition at line 166 of file PFElecTkProducer.cc.
|
private |
Definition at line 165 of file PFElecTkProducer.cc.
|
private |
Definition at line 168 of file PFElecTkProducer.cc.
|
private |
Definition at line 167 of file PFElecTkProducer.cc.
|
private |
Definition at line 126 of file PFElecTkProducer.cc.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 124 of file PFElecTkProducer.cc.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 125 of file PFElecTkProducer.cc.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 118 of file PFElecTkProducer.cc.
Referenced by produce().
|
private |
Definition at line 122 of file PFElecTkProducer.cc.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 140 of file PFElecTkProducer.cc.
Referenced by beginRun(), endRun(), and produce().
|
private |
Definition at line 127 of file PFElecTkProducer.cc.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 123 of file PFElecTkProducer.cc.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 153 of file PFElecTkProducer.cc.
Referenced by applySelection(), and PFElecTkProducer().
|
private |
Definition at line 119 of file PFElecTkProducer.cc.
Referenced by produce().
|
private |
Definition at line 136 of file PFElecTkProducer.cc.
Referenced by beginRun().
|
private |
Trajectory of GSfTracks in the event?
Definition at line 145 of file PFElecTkProducer.cc.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 137 of file PFElecTkProducer.cc.
Referenced by beginRun().
|
private |
Conv Brem Finder.
Definition at line 159 of file PFElecTkProducer.cc.
Referenced by PFElecTkProducer().
|
private |
Definition at line 129 of file PFElecTkProducer.cc.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 149 of file PFElecTkProducer.cc.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 150 of file PFElecTkProducer.cc.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 128 of file PFElecTkProducer.cc.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 130 of file PFElecTkProducer.cc.
Referenced by PFElecTkProducer(), and produce().