Abstract. More...
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 | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () 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 &, 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 53 of file PFElecTkProducer.cc.
|
explicit |
Constructor.
Definition at line 163 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 534 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 1100 of file PFElecTkProducer.cc.
References convBremFinder_, edm::EventSetup::get(), get, HLT_2018_cff::magneticField, mtsTransform_, mvaConvBremFinderIDBarrelHighPt_, mvaConvBremFinderIDBarrelLowPt_, mvaConvBremFinderIDEndcapsHighPt_, mvaConvBremFinderIDEndcapsLowPt_, pfTransformer_, edm::ESHandle< T >::product(), and PbPb_ZMuSkimMuonDPG_cff::tracker.
|
private |
Definition at line 439 of file PFElecTkProducer.cc.
References genParticles_cff::map.
Referenced by produce().
|
overrideprivate |
Definition at line 1123 of file PFElecTkProducer.cc.
References convBremFinder_, and pfTransformer_.
|
private |
Definition at line 459 of file PFElecTkProducer.cc.
References TrackingRecHit::all, flavorHistoryFilter_cfi::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 produce().
|
inlinestatic |
Definition at line 62 of file PFElecTkProducer.cc.
|
inlinestatic |
Definition at line 58 of file PFElecTkProducer.cc.
|
private |
Definition at line 1048 of file PFElecTkProducer.cc.
References reco::HitPattern::getHitPattern(), reco::HitPattern::getLayer(), and reco::HitPattern::getSubStructure().
|
private |
Definition at line 1084 of file PFElecTkProducer.cc.
Referenced by resolveGsfTracks().
|
private |
Definition at line 843 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 864 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 800 of file PFElecTkProducer.cc.
References reco::PFTrajectoryPoint::ECALEntrance, reco::PFTrajectoryPoint::isValid(), HLT_2018_cff::minDphi, reco::GsfPFRecTrack::PFRecBrem(), Pi, reco::PFTrajectoryPoint::positionREP(), and TwoPi.
Referenced by resolveGsfTracks().
|
overrideprivate |
Produce the PFRecTrack collection.
Definition at line 215 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 560 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 120 of file PFElecTkProducer.cc.
Referenced by PFElecTkProducer(), and resolveGsfTracks().
|
private |
Definition at line 133 of file PFElecTkProducer.cc.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 132 of file PFElecTkProducer.cc.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 109 of file PFElecTkProducer.cc.
|
private |
Definition at line 127 of file PFElecTkProducer.cc.
Referenced by beginRun(), endRun(), and produce().
|
private |
Definition at line 137 of file PFElecTkProducer.cc.
Referenced by PFElecTkProducer(), and resolveGsfTracks().
|
private |
Definition at line 121 of file PFElecTkProducer.cc.
Referenced by PFElecTkProducer(), and resolveGsfTracks().
|
private |
Definition at line 139 of file PFElecTkProducer.cc.
Referenced by applySelection(), and PFElecTkProducer().
|
private |
Definition at line 122 of file PFElecTkProducer.cc.
Referenced by PFElecTkProducer(), and resolveGsfTracks().
|
private |
Definition at line 140 of file PFElecTkProducer.cc.
Referenced by applySelection(), and PFElecTkProducer().
|
private |
Definition at line 156 of file PFElecTkProducer.cc.
Referenced by produce(), and resolveGsfTracks().
|
private |
Definition at line 110 of file PFElecTkProducer.cc.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 141 of file PFElecTkProducer.cc.
Referenced by PFElecTkProducer().
|
private |
Definition at line 131 of file PFElecTkProducer.cc.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 126 of file PFElecTkProducer.cc.
Referenced by beginRun(), and produce().
|
private |
Definition at line 147 of file PFElecTkProducer.cc.
Referenced by beginRun(), and PFElecTkProducer().
|
private |
Definition at line 146 of file PFElecTkProducer.cc.
Referenced by beginRun(), and PFElecTkProducer().
|
private |
Definition at line 149 of file PFElecTkProducer.cc.
Referenced by beginRun(), and PFElecTkProducer().
|
private |
Definition at line 148 of file PFElecTkProducer.cc.
Referenced by beginRun(), and PFElecTkProducer().
|
private |
Definition at line 151 of file PFElecTkProducer.cc.
|
private |
Definition at line 150 of file PFElecTkProducer.cc.
|
private |
Definition at line 153 of file PFElecTkProducer.cc.
|
private |
Definition at line 152 of file PFElecTkProducer.cc.
|
private |
Definition at line 115 of file PFElecTkProducer.cc.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 113 of file PFElecTkProducer.cc.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 114 of file PFElecTkProducer.cc.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 107 of file PFElecTkProducer.cc.
Referenced by produce().
|
private |
Definition at line 111 of file PFElecTkProducer.cc.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 125 of file PFElecTkProducer.cc.
Referenced by beginRun(), endRun(), and produce().
|
private |
Definition at line 116 of file PFElecTkProducer.cc.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 112 of file PFElecTkProducer.cc.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 138 of file PFElecTkProducer.cc.
Referenced by applySelection(), and PFElecTkProducer().
|
private |
Definition at line 108 of file PFElecTkProducer.cc.
Referenced by produce().
|
private |
Trajectory of GSfTracks in the event?
Definition at line 130 of file PFElecTkProducer.cc.
Referenced by PFElecTkProducer(), and produce().
|
private |
Conv Brem Finder.
Definition at line 144 of file PFElecTkProducer.cc.
Referenced by PFElecTkProducer().
|
private |
Definition at line 118 of file PFElecTkProducer.cc.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 134 of file PFElecTkProducer.cc.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 135 of file PFElecTkProducer.cc.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 117 of file PFElecTkProducer.cc.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 119 of file PFElecTkProducer.cc.
Referenced by PFElecTkProducer(), and produce().