#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 | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () 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 &, const edm::EventSetup &) |
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) |
Private Attributes | |
const edm::EDGetTokenT< reco::BeamSpot > | beamSpot_ |
const std::string | builder_ |
const edm::EDGetTokenT< EcalRecHitCollection > | ebRecHits_ |
const edm::EDGetTokenT< reco::PFClusterCollection > | ecalClusters_ |
const edm::EDGetTokenT< EcalRecHitCollection > | eeRecHits_ |
edm::ESHandle< MagneticField > | field_ |
const std::string | fitter_ |
std::unique_ptr< TrajectoryFitter > | fitterPtr_ |
edm::EDGetTokenT< reco::PFClusterCollection > | hcalClusters_ |
edm::EDGetTokenT< reco::TrackCollection > | kfTracks_ |
const double | maxPtThreshold_ |
const double | minPtThreshold_ |
const bool | passThrough_ |
edm::EDGetTokenT< reco::PFRecTrackCollection > | pfTracks_ |
const edm::EDGetTokenT< double > | rho_ |
const std::string | smoother_ |
std::unique_ptr< TrajectorySmoother > | smootherPtr_ |
const bool | usePfTracks_ |
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 59 of file LowPtGsfElectronSeedProducer.cc.
using LowPtGsfElectronSeedProducer::TrackIndxMap = std::unordered_map<reco::TrackRef::key_type, size_t> |
Definition at line 62 of file LowPtGsfElectronSeedProducer.cc.
|
explicit |
Definition at line 169 of file LowPtGsfElectronSeedProducer.cc.
References edm::ParameterSet::getParameter().
|
override |
Definition at line 203 of file LowPtGsfElectronSeedProducer.cc.
References field_, get, and singleTopDQM_cfi::setup.
|
private |
Definition at line 603 of file LowPtGsfElectronSeedProducer.cc.
References maxPtThreshold_, Skims_PA_cff::name, passThrough_, mps_fire::result, and rho.
Referenced by loop().
|
private |
Definition at line 618 of file LowPtGsfElectronSeedProducer.cc.
References passThrough_.
|
static |
Definition at line 651 of file LowPtGsfElectronSeedProducer.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), HLT_2018_cff::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 629 of file LowPtGsfElectronSeedProducer.cc.
References trigObjTnPSource_cfi::filler, edm::Ref< C, T, F >::index(), and contentValuesCheck::values.
Referenced by produce().
|
private |
Definition at line 279 of file LowPtGsfElectronSeedProducer.cc.
References patZpeak::handle, and training_settings::idx.
|
private |
Definition at line 275 of file LowPtGsfElectronSeedProducer.cc.
References patZpeak::handle, and training_settings::idx.
Referenced by loop().
|
inlinestatic |
Definition at line 69 of file LowPtGsfElectronSeedProducer.cc.
|
inlinestatic |
Definition at line 65 of file LowPtGsfElectronSeedProducer.cc.
|
private |
Definition at line 564 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(), SurveyInfoScenario_cff::seed, reco::PreId::setTrackProperties(), smootherPtr_, and TrajectoryMeasurement::updatedState().
Referenced by loop().
|
private |
Definition at line 287 of file LowPtGsfElectronSeedProducer.cc.
References beamSpot_, builder_, TrajectorySmoother::clone(), TrajectoryFitter::clone(), decision(), ebRecHits_, RecoEcal_cff::ecalClusters, ecalClusters_, eeRecHits_, fitter_, fitterPtr_, get, getBaseRef(), patZpeak::handle, lowPtGsfElectronSeeds_cfi::hcalClusters, edm::Ref< C, T, F >::index(), lightGsfTracking(), minPtThreshold_, passThrough_, edm::ESHandle< T >::product(), propagateTrackToCalo(), reco::TrackBase::qualityByName(), mps_fire::result, rho, rho_, SurveyInfoScenario_cff::seed, InitialStep_cff::seeds, reco::PreId::setTrack(), singleTopDQM_cfi::setup, smoother_, and smootherPtr_.
Referenced by produce().
|
override |
Definition at line 209 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 423 of file LowPtGsfElectronSeedProducer.cc.
References bsc_activity_cfg::clusters, reco::deltaPhi(), reco::deltaR2(), bsc_activity_cfg::ecal, SiStripBadComponentsDQMServiceTemplate_cfg::ep, spr::find(), info(), muonTagProbeFilters_cff::matched, point, reco::PreId::setECALMatchingProperties(), and mathSSE::sqrt().
|
private |
Definition at line 410 of file LowPtGsfElectronSeedProducer.cc.
References RecoEcal_cff::ecalClusters, and lowPtGsfElectronSeeds_cfi::hcalClusters.
Referenced by loop().
|
private |
Definition at line 484 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 152 of file LowPtGsfElectronSeedProducer.cc.
Referenced by loop().
|
staticconstexprprivate |
Definition at line 162 of file LowPtGsfElectronSeedProducer.cc.
Referenced by propagateTrackToCalo().
|
private |
Definition at line 155 of file LowPtGsfElectronSeedProducer.cc.
Referenced by loop().
|
private |
Definition at line 149 of file LowPtGsfElectronSeedProducer.cc.
Referenced by loop().
|
private |
Definition at line 147 of file LowPtGsfElectronSeedProducer.cc.
Referenced by loop().
|
private |
Definition at line 150 of file LowPtGsfElectronSeedProducer.cc.
Referenced by loop().
|
private |
Definition at line 142 of file LowPtGsfElectronSeedProducer.cc.
Referenced by beginLuminosityBlock(), lightGsfTracking(), and propagateTrackToCalo().
|
private |
Definition at line 153 of file LowPtGsfElectronSeedProducer.cc.
Referenced by loop().
|
private |
Definition at line 143 of file LowPtGsfElectronSeedProducer.cc.
Referenced by lightGsfTracking(), and loop().
|
private |
Definition at line 148 of file LowPtGsfElectronSeedProducer.cc.
Referenced by produce().
|
private |
Definition at line 145 of file LowPtGsfElectronSeedProducer.cc.
Referenced by produce().
|
staticconstexprprivate |
Definition at line 164 of file LowPtGsfElectronSeedProducer.cc.
Referenced by propagateTrackToCalo().
|
private |
Definition at line 159 of file LowPtGsfElectronSeedProducer.cc.
Referenced by decision().
|
private |
Definition at line 158 of file LowPtGsfElectronSeedProducer.cc.
Referenced by loop().
|
private |
Definition at line 156 of file LowPtGsfElectronSeedProducer.cc.
Referenced by decision(), and loop().
|
private |
Definition at line 146 of file LowPtGsfElectronSeedProducer.cc.
Referenced by produce().
|
private |
Definition at line 151 of file LowPtGsfElectronSeedProducer.cc.
Referenced by loop().
|
private |
Definition at line 154 of file LowPtGsfElectronSeedProducer.cc.
Referenced by loop().
|
private |
Definition at line 144 of file LowPtGsfElectronSeedProducer.cc.
Referenced by lightGsfTracking(), and loop().
|
private |
Definition at line 157 of file LowPtGsfElectronSeedProducer.cc.
Referenced by produce().