#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 > > | |
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 |
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 | |
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 | 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::PFRecTrack > > handle, int idx) const |
reco::TrackRef | getBaseRef (edm::Handle< std::vector< reco::Track > > 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 > &clusters, std::vector< int > &matchedClusters, reco::PreId &preId, bool ecal) |
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::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 170 of file LowPtGsfElectronSeedProducer.cc.
References edm::ParameterSet::getParameter().
|
override |
Definition at line 205 of file LowPtGsfElectronSeedProducer.cc.
References field_, get, and singleTopDQM_cfi::setup.
|
private |
Definition at line 598 of file LowPtGsfElectronSeedProducer.cc.
References maxPtThreshold_, Skims_PA_cff::name, passThrough_, mps_fire::result, and rho.
Referenced by loop().
|
private |
Definition at line 613 of file LowPtGsfElectronSeedProducer.cc.
References passThrough_.
|
static |
Definition at line 646 of file LowPtGsfElectronSeedProducer.cc.
References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, and HLT_FULL_cff::InputTag.
|
private |
Definition at line 624 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 281 of file LowPtGsfElectronSeedProducer.cc.
References patZpeak::handle, and heavyIonCSV_trainingSettings::idx.
|
private |
Definition at line 277 of file LowPtGsfElectronSeedProducer.cc.
References patZpeak::handle, and heavyIonCSV_trainingSettings::idx.
Referenced by loop().
|
inlinestatic |
Definition at line 67 of file LowPtGsfElectronSeedProducer.cc.
|
inlinestatic |
Definition at line 63 of file LowPtGsfElectronSeedProducer.cc.
|
private |
Definition at line 560 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 289 of file LowPtGsfElectronSeedProducer.cc.
References beamSpot_, builderToken_, 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, InitialStep_cff::seeds, reco::PreId::setTrack(), singleTopDQM_cfi::setup, smootherPtr_, trajectoryFitterToken_, and trajectorySmootherToken_.
Referenced by produce().
|
override |
Definition at line 211 of file LowPtGsfElectronSeedProducer.cc.
References Exception, fillPreIdRefValueMap(), lowPtGsfElectronSeeds_cfi::hcalClusters, hcalClusters_, edm::HandleBase::id(), kfTracks_, loop(), eostools::move(), lowPtGsfElectronSeeds_cfi::pfTracks, pfTracks_, InitialStep_cff::seeds, singleTopDQM_cfi::setup, and usePfTracks_.
|
private |
Definition at line 419 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 406 of file LowPtGsfElectronSeedProducer.cc.
References RecoEcal_cff::ecalClusters, and lowPtGsfElectronSeeds_cfi::hcalClusters.
Referenced by loop().
|
private |
Definition at line 480 of file LowPtGsfElectronSeedProducer.cc.
References funct::abs(), boundary_, reco::deltaPhi(), reco::deltaR2(), RecoEcal_cff::ecalClusters, HCALHighEnergyHPDFilter_cfi::energy, field_, reco::PFCluster::getDepthCorrection(), info(), MagneticField::inTesla(), mass_, point, funct::pow(), BaseParticlePropagator::propagateToEcalEntrance(), reco::PreId::setECALMatchingProperties(), mathSSE::sqrt(), unit(), and RawParticle::z().
|
private |
Definition at line 150 of file LowPtGsfElectronSeedProducer.cc.
Referenced by loop().
|
staticconstexprprivate |
Definition at line 163 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 155 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().
|
staticconstexprprivate |
Definition at line 165 of file LowPtGsfElectronSeedProducer.cc.
Referenced by propagateTrackToCalo().
|
private |
Definition at line 160 of file LowPtGsfElectronSeedProducer.cc.
Referenced by decision().
|
private |
Definition at line 159 of file LowPtGsfElectronSeedProducer.cc.
Referenced by loop().
|
private |
Definition at line 157 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 158 of file LowPtGsfElectronSeedProducer.cc.
Referenced by produce().