#include <RecoEgamma/EgammaElectronProducers/plugins/LowPtGsfElectronSeedProducer.cc>
Public Types | |
using | TrackIndxMap = std::unordered_map< reco::TrackRef::key_type, size_t > |
Public Types inherited from edm::stream::EDProducer< edm::GlobalCache< lowptgsfeleseed::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 |
Public Member Functions | |
void | beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override |
LowPtGsfElectronSeedProducer (const edm::ParameterSet &, const lowptgsfeleseed::HeavyObjectCache *) | |
void | produce (edm::Event &, const edm::EventSetup &) override |
Public Member Functions inherited from edm::stream::EDProducer< edm::GlobalCache< lowptgsfeleseed::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 | fillDescriptions (edm::ConfigurationDescriptions &) |
static void | globalEndJob (lowptgsfeleseed::HeavyObjectCache const *) |
static std::unique_ptr< lowptgsfeleseed::HeavyObjectCache > | initializeGlobalCache (const edm::ParameterSet &conf) |
Private Member Functions | |
bool | decision (const reco::PFRecTrackRef &pfTrackRef, reco::PreId &ecal, reco::PreId &hcal, double rho, const reco::BeamSpot &spot, noZS::EcalClusterLazyTools &ecalTools) |
bool | decision (const reco::TrackRef &kfTrackRef, reco::PreId &ecal, reco::PreId &hcal, double rho, const reco::BeamSpot &spot, noZS::EcalClusterLazyTools &ecalTools) |
template<typename CollType > | |
void | fillPreIdRefValueMap (edm::Handle< CollType > tracksHandle, const TrackIndxMap &trksToPreIdIndx, const edm::OrphanHandle< reco::PreIdCollection > &preIdHandle, edm::ValueMap< reco::PreIdRef >::Filler &filler) |
reco::TrackRef | getBaseRef (edm::Handle< std::vector< reco::Track > > handle, int idx) const |
reco::TrackRef | getBaseRef (edm::Handle< std::vector< reco::PFRecTrack > > handle, int idx) const |
bool | lightGsfTracking (reco::PreId &, const reco::TrackRef &, const reco::ElectronSeed &) |
template<typename T > | |
void | loop (const edm::Handle< std::vector< T > > &handle, edm::Handle< reco::PFClusterCollection > &hcalClusters, reco::ElectronSeedCollection &seeds, reco::PreIdCollection &ecalPreIds, reco::PreIdCollection &hcalPreIds, TrackIndxMap &trksToPreIdIndx, edm::Event &, const edm::EventSetup &) |
void | propagateTrackToCalo (const reco::PFRecTrackRef &pfTrackRef, const edm::Handle< reco::PFClusterCollection > &ecalClusters, const edm::Handle< reco::PFClusterCollection > &hcalClusters, std::vector< int > &matchedEcalClusters, std::vector< int > &matchedHcalClusters, reco::PreId &ecalPreId, reco::PreId &hcalPreId) |
void | propagateTrackToCalo (const reco::PFRecTrackRef &pfTrackRef, const edm::Handle< reco::PFClusterCollection > &clusters, std::vector< int > &matchedClusters, reco::PreId &preId, bool ecal) |
void | propagateTrackToCalo (const reco::TrackRef &pfTrack, const edm::Handle< reco::PFClusterCollection > &ecalClusters, const edm::Handle< reco::PFClusterCollection > &hcalClusters, std::vector< int > &matchedEcalClusters, std::vector< int > &matchedHcalClusters, reco::PreId &ecalPreId, reco::PreId &hcalPreId) |
Static Private Attributes | |
static constexpr double | boundary_ = 2.50746495928 * 2.50746495928 |
static constexpr double | mass_ = 0.000511 * 0.000511 |
Description: EDProducer of ElectronSeed objects Implementation: <Notes on="" implementation>="">
Definition at line 57 of file LowPtGsfElectronSeedProducer.cc.
using LowPtGsfElectronSeedProducer::TrackIndxMap = std::unordered_map<reco::TrackRef::key_type, size_t> |
Definition at line 60 of file LowPtGsfElectronSeedProducer.cc.
|
explicit |
Definition at line 171 of file LowPtGsfElectronSeedProducer.cc.
References edm::ParameterSet::getParameter().
|
override |
Definition at line 207 of file LowPtGsfElectronSeedProducer.cc.
References field_, magToken_, and singleTopDQM_cfi::setup.
|
private |
Definition at line 600 of file LowPtGsfElectronSeedProducer.cc.
References maxPtThreshold_, Skims_PA_cff::name, passThrough_, mps_fire::result, and rho.
Referenced by loop().
|
private |
Definition at line 615 of file LowPtGsfElectronSeedProducer.cc.
References passThrough_.
|
static |
Definition at line 648 of file LowPtGsfElectronSeedProducer.cc.
References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, and ProducerED_cfi::InputTag.
|
private |
Definition at line 626 of file LowPtGsfElectronSeedProducer.cc.
References trigObjTnPSource_cfi::filler, edm::Ref< C, T, F >::index(), vertices_cff::ntracks, and contentValuesCheck::values.
Referenced by produce().
|
private |
Definition at line 279 of file LowPtGsfElectronSeedProducer.cc.
References patZpeak::handle, and heavyIonCSV_trainingSettings::idx.
Referenced by loop().
|
private |
Definition at line 283 of file LowPtGsfElectronSeedProducer.cc.
References patZpeak::handle, and heavyIonCSV_trainingSettings::idx.
|
inlinestatic |
Definition at line 67 of file LowPtGsfElectronSeedProducer.cc.
|
inlinestatic |
Definition at line 63 of file LowPtGsfElectronSeedProducer.cc.
|
private |
Definition at line 562 of file LowPtGsfElectronSeedProducer.cc.
References Trajectory::chiSquared(), field_, Trajectory::firstMeasurement(), fitterPtr_, TrajectoryStateOnSurface::globalMomentum(), runTauDisplay::gp, hfClusterShapes_cfi::hits, Trajectory::isValid(), Trajectory::lastMeasurement(), PV3DBase< T, PVType, FrameType >::perp(), fileCollector::seed, reco::PreId::setTrackProperties(), smootherPtr_, and TrajectoryMeasurement::updatedState().
Referenced by loop().
|
private |
Definition at line 291 of file LowPtGsfElectronSeedProducer.cc.
References beamSpot_, builderToken_, runTheMatrix::const, decision(), ebRecHits_, RecoEcal_cff::ecalClusters, ecalClusters_, ecalClusterToolsESGetTokens_, eeRecHits_, fitterPtr_, EcalClusterLazyToolsBase::ESGetTokens::get(), getBaseRef(), patZpeak::handle, lowPtGsfElectronSeeds_cfi::hcalClusters, edm::Ref< C, T, F >::index(), lightGsfTracking(), minPtThreshold_, passThrough_, propagateTrackToCalo(), reco::TrackBase::qualityByName(), mps_fire::result, rho, rho_, fileCollector::seed, DetachedQuadStep_cff::seeds, reco::PreId::setTrack(), singleTopDQM_cfi::setup, smootherPtr_, trajectoryFitterToken_, and trajectorySmootherToken_.
Referenced by produce().
|
override |
Definition at line 213 of file LowPtGsfElectronSeedProducer.cc.
References Exception, fillPreIdRefValueMap(), lowPtGsfElectronSeeds_cfi::hcalClusters, hcalClusters_, edm::HandleBase::id(), kfTracks_, loop(), eostools::move(), lowPtGsfElectronSeeds_cfi::pfTracks, pfTracks_, DetachedQuadStep_cff::seeds, singleTopDQM_cfi::setup, and usePfTracks_.
|
private |
Definition at line 408 of file LowPtGsfElectronSeedProducer.cc.
References RecoEcal_cff::ecalClusters, and lowPtGsfElectronSeeds_cfi::hcalClusters.
Referenced by loop().
|
private |
Definition at line 421 of file LowPtGsfElectronSeedProducer.cc.
References bsc_activity_cfg::clusters, reco::deltaPhi(), reco::deltaR2(), SiStripBadComponentsDQMServiceTemplate_cfg::ep, spr::find(), info(), muonTagProbeFilters_cff::matched, point, reco::PreId::setECALMatchingProperties(), and mathSSE::sqrt().
|
private |
Definition at line 482 of file LowPtGsfElectronSeedProducer.cc.
References funct::abs(), boundary_, reco::deltaPhi(), reco::deltaR2(), RecoEcal_cff::ecalClusters, hcalRecHitTable_cff::energy, field_, reco::PFCluster::getDepthCorrection(), info(), MagneticField::inTesla(), mass_, point, conifer::pow(), BaseParticlePropagator::propagateToEcalEntrance(), reco::PreId::setECALMatchingProperties(), mathSSE::sqrt(), unit(), and RawParticle::z().
|
private |
Definition at line 150 of file LowPtGsfElectronSeedProducer.cc.
Referenced by loop().
|
staticprivate |
Definition at line 164 of file LowPtGsfElectronSeedProducer.cc.
Referenced by propagateTrackToCalo().
|
private |
Definition at line 154 of file LowPtGsfElectronSeedProducer.cc.
Referenced by loop().
|
private |
Definition at line 147 of file LowPtGsfElectronSeedProducer.cc.
Referenced by loop().
|
private |
Definition at line 145 of file LowPtGsfElectronSeedProducer.cc.
Referenced by loop().
|
private |
Definition at line 156 of file LowPtGsfElectronSeedProducer.cc.
Referenced by loop().
|
private |
Definition at line 148 of file LowPtGsfElectronSeedProducer.cc.
Referenced by loop().
|
private |
Definition at line 140 of file LowPtGsfElectronSeedProducer.cc.
Referenced by beginLuminosityBlock(), lightGsfTracking(), and propagateTrackToCalo().
|
private |
Definition at line 141 of file LowPtGsfElectronSeedProducer.cc.
Referenced by lightGsfTracking(), and loop().
|
private |
Definition at line 146 of file LowPtGsfElectronSeedProducer.cc.
Referenced by produce().
|
private |
Definition at line 143 of file LowPtGsfElectronSeedProducer.cc.
Referenced by produce().
|
private |
Definition at line 155 of file LowPtGsfElectronSeedProducer.cc.
Referenced by beginLuminosityBlock().
|
staticprivate |
Definition at line 166 of file LowPtGsfElectronSeedProducer.cc.
Referenced by propagateTrackToCalo().
|
private |
Definition at line 161 of file LowPtGsfElectronSeedProducer.cc.
Referenced by decision().
|
private |
Definition at line 160 of file LowPtGsfElectronSeedProducer.cc.
Referenced by loop().
|
private |
Definition at line 158 of file LowPtGsfElectronSeedProducer.cc.
Referenced by decision(), and loop().
|
private |
Definition at line 144 of file LowPtGsfElectronSeedProducer.cc.
Referenced by produce().
|
private |
Definition at line 149 of file LowPtGsfElectronSeedProducer.cc.
Referenced by loop().
|
private |
Definition at line 142 of file LowPtGsfElectronSeedProducer.cc.
Referenced by lightGsfTracking(), and loop().
|
private |
Definition at line 152 of file LowPtGsfElectronSeedProducer.cc.
Referenced by loop().
|
private |
Definition at line 153 of file LowPtGsfElectronSeedProducer.cc.
Referenced by loop().
|
private |
Definition at line 159 of file LowPtGsfElectronSeedProducer.cc.
Referenced by produce().