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 | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () 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 &, 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 > > | |
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 |
Definition at line 62 of file PFElecTkProducer.cc.
|
explicit |
Constructor.
Definition at line 174 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_.
|
private |
Definition at line 542 of file PFElecTkProducer.cc.
References 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 1106 of file PFElecTkProducer.cc.
References convBremFinder_, edm::EventSetup::get(), get, HLT_FULL_cff::magneticField, mtsTransform_, mvaConvBremFinderIDBarrelHighPt_, mvaConvBremFinderIDBarrelLowPt_, mvaConvBremFinderIDEndcapsHighPt_, mvaConvBremFinderIDEndcapsLowPt_, pfTransformer_, edm::ESHandle< T >::product(), and PbPb_ZMuSkimMuonDPG_cff::tracker.
|
private |
Definition at line 453 of file PFElecTkProducer.cc.
References genParticles_cff::map.
Referenced by produce().
|
overrideprivate |
Definition at line 1129 of file PFElecTkProducer.cc.
References convBremFinder_, and pfTransformer_.
|
private |
Definition at line 473 of file PFElecTkProducer.cc.
References TrackingRecHit::all, 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 1054 of file PFElecTkProducer.cc.
References reco::HitPattern::getHitPattern(), reco::HitPattern::getLayer(), and reco::HitPattern::getSubStructure().
|
private |
|
private |
Definition at line 849 of file PFElecTkProducer.cc.
References reco::ElectronSeed::caloCluster(), edm::RefToBase< T >::get(), edm::RefToBase< T >::isNonnull(), and TrendClient_cfi::SCEnergy.
Referenced by resolveGsfTracks().
|
private |
Definition at line 870 of file PFElecTkProducer.cc.
References cms::cuda::assert(), 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 resolveGsfTracks().
|
private |
Definition at line 806 of file PFElecTkProducer.cc.
References reco::PFTrajectoryPoint::ECALEntrance, reco::PFTrajectoryPoint::isValid(), HLT_FULL_cff::minDphi, reco::GsfPFRecTrack::PFRecBrem(), Pi, reco::PFTrajectoryPoint::positionREP(), and TwoPi.
Referenced by resolveGsfTracks().
|
overrideprivate |
Produce the PFRecTrack collection.
Definition at line 226 of file PFElecTkProducer.cc.
References applyGsfClean_, applySel_, applySelection(), ALCARECOTkAlJpsiMuMu_cff::charge, convBremFinder_, createGsfPFRecTrackRef(), findPfRef(), edm::Ref< C, T, F >::get(), reco::PFRecTrack::GSF, gsfInnerMomentumCache_, gsfTrackLabel_, iEvent, 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(), resolveGsfTracks(), secpftrack_, trajinev_, useConversions_, useFifthStepForEcalDriven_, useFifthStepForTrackDriven_, useNuclear_, and useV0_.
|
private |
Definition at line 568 of file PFElecTkProducer.cc.
References applyAngularGsfClean_, gather_cfg::cout, debugGsfCleaning_, detaCutGsfClean_, dphiCutGsfClean_, JetMETHLTOfflineSource_cfi::feta, edm::Ref< C, T, F >::get(), gsfInnerMomentumCache_, LEDCalibrationChannels::ieta, LEDCalibrationChannels::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 144 of file PFElecTkProducer.cc.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 143 of file PFElecTkProducer.cc.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 120 of file PFElecTkProducer.cc.
|
private |
Definition at line 138 of file PFElecTkProducer.cc.
Referenced by beginRun(), endRun(), and produce().
|
private |
Definition at line 148 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 150 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 151 of file PFElecTkProducer.cc.
Referenced by applySelection(), and PFElecTkProducer().
|
private |
Definition at line 167 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 152 of file PFElecTkProducer.cc.
Referenced by PFElecTkProducer().
|
private |
Definition at line 142 of file PFElecTkProducer.cc.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 137 of file PFElecTkProducer.cc.
Referenced by beginRun(), and produce().
|
private |
Definition at line 158 of file PFElecTkProducer.cc.
Referenced by beginRun(), and PFElecTkProducer().
|
private |
Definition at line 157 of file PFElecTkProducer.cc.
Referenced by beginRun(), and PFElecTkProducer().
|
private |
Definition at line 160 of file PFElecTkProducer.cc.
Referenced by beginRun(), and PFElecTkProducer().
|
private |
Definition at line 159 of file PFElecTkProducer.cc.
Referenced by beginRun(), and PFElecTkProducer().
|
private |
Definition at line 162 of file PFElecTkProducer.cc.
|
private |
Definition at line 161 of file PFElecTkProducer.cc.
|
private |
Definition at line 164 of file PFElecTkProducer.cc.
|
private |
Definition at line 163 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 136 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 149 of file PFElecTkProducer.cc.
Referenced by applySelection(), and PFElecTkProducer().
|
private |
Definition at line 119 of file PFElecTkProducer.cc.
Referenced by produce().
|
private |
Trajectory of GSfTracks in the event?
Definition at line 141 of file PFElecTkProducer.cc.
Referenced by PFElecTkProducer(), and produce().
|
private |
Conv Brem Finder.
Definition at line 155 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 145 of file PFElecTkProducer.cc.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 146 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().