![]() |
![]() |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &) |
![]() | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Types | |
enum | Version { Version::V0, Version::V1 } |
Private Member Functions | |
template<typename EL , typename FID , typename FTRK > | |
void | doWork (double rho, float bz, EL const &electrons, FID &&idFunctor, FTRK &&trkFunctor, edm::Event &) const |
double | eval (const GBRForest &model, const reco::GsfElectron &, double rho, float unbiased, float field_z, const reco::Track *trk=nullptr) const |
Private Attributes | |
edm::EDGetTokenT< reco::GsfElectronCollection > | electrons_ |
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > | fieldToken_ |
edm::EDGetTokenT< edm::Association< reco::TrackCollection > > | gsf2trk_ |
const double | maxPtThreshold_ |
const double | minPtThreshold_ |
std::vector< std::unique_ptr< const GBRForest > > | models_ |
const std::vector< std::string > | names_ |
const bool | passThrough_ |
edm::EDGetTokenT< pat::ElectronCollection > | patElectrons_ |
std::vector< edm::EDPutTokenT< edm::ValueMap< float > > > | putTokens_ |
const edm::EDGetTokenT< double > | rho_ |
const std::vector< double > | thresholds_ |
edm::EDGetTokenT< edm::ValueMap< float > > | unbiased_ |
const bool | useGsfToTrack_ |
const bool | usePAT_ |
Version | version_ |
const std::string | versionName_ |
Additional Inherited Members | |
![]() | |
typedef EDProducerBase | ModuleType |
![]() | |
template<typename T > | |
using | BranchAliasSetterT = ProductRegistryHelper::BranchAliasSetterT< T > |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex > > |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
![]() | |
typedef ProductLabels | Labels |
![]() | |
template<Transition Tr = Transition::Event> | |
auto | produces (std::string instanceName) noexcept |
declare what type of product will make and with which optional label More... | |
template<Transition B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<BranchType B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces () |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
template<Transition Tr = Transition::Event> | |
auto | produces () noexcept |
ProducesCollector | producesCollector () |
![]() | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
void | resetItemsToGetFrom (BranchType iType) |
Definition at line 29 of file LowPtGsfElectronIDProducer.cc.
|
strongprivate |
|
explicit |
Definition at line 70 of file LowPtGsfElectronIDProducer.cc.
References createGBRForest(), electrons_, Exception, edm::ParameterSet::getParameter(), gsf2trk_, models_, Skims_PA_cff::name, names_, patElectrons_, edm::ProductRegistryHelper::produces(), putTokens_, thresholds_, unbiased_, useGsfToTrack_, usePAT_, V0, V1, version_, versionName_, and hltDeepSecondaryVertexTagInfosPFPuppi_cfi::weights.
|
private |
Definition at line 220 of file LowPtGsfElectronIDProducer.cc.
References pwdgSkimBPark_cfi::electrons, eval(), trigObjTnPSource_cfi::filler, SiStripPI::max, models_, eostools::move(), names_, custom_jme_cff::nElectrons, convertSQLitetoXML_cfg::output, putTokens_, rho, HcalDetIdTransform::transform(), and hltEgammaHLTExtra_cfi::trks.
Referenced by produce().
|
private |
Definition at line 251 of file LowPtGsfElectronIDProducer.cc.
References lowptgsfeleid::features_V0(), lowptgsfeleid::features_V1(), PixelMapPlotter::inputs, ReggeGribovPartonMC_EposLHC_2760GeV_PbPb_cfi::model, rho, lowPtElectrons_cff::unbiased, V0, V1, and version_.
Referenced by doWork().
|
static |
Definition at line 268 of file LowPtGsfElectronIDProducer.cc.
References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, ProducerED_cfi::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
|
overridevirtual |
Implements edm::global::EDProducerBase.
Definition at line 120 of file LowPtGsfElectronIDProducer.cc.
References doWork(), pwdgSkimBPark_cfi::electrons, electrons_, edmPickEvents::event, Exception, fieldToken_, edm::ValueMap< T >::get(), edm::Ref< C, T, F >::get(), ntupleEnum::gsf, gsf2trk_, edm::Ref< C, T, F >::isAvailable(), edm::Ptr< T >::isNonnull(), edm::Ref< C, T, F >::isNonnull(), SiStripPI::max, patElectronEAIsoCorrectionProducer_cfi::patElectrons, patElectrons_, rho, rho_, singleTopDQM_cfi::setup, AlCaHLTBitMon_QueryRunRegistry::string, unbiased_, useGsfToTrack_, and usePAT_.
|
private |
Definition at line 49 of file LowPtGsfElectronIDProducer.cc.
Referenced by LowPtGsfElectronIDProducer(), and produce().
|
private |
Definition at line 54 of file LowPtGsfElectronIDProducer.cc.
Referenced by produce().
|
private |
Definition at line 52 of file LowPtGsfElectronIDProducer.cc.
Referenced by LowPtGsfElectronIDProducer(), and produce().
|
private |
Definition at line 60 of file LowPtGsfElectronIDProducer.cc.
|
private |
Definition at line 59 of file LowPtGsfElectronIDProducer.cc.
|
private |
Definition at line 61 of file LowPtGsfElectronIDProducer.cc.
Referenced by doWork(), and LowPtGsfElectronIDProducer().
|
private |
Definition at line 56 of file LowPtGsfElectronIDProducer.cc.
Referenced by doWork(), and LowPtGsfElectronIDProducer().
|
private |
Definition at line 58 of file LowPtGsfElectronIDProducer.cc.
|
private |
Definition at line 50 of file LowPtGsfElectronIDProducer.cc.
Referenced by LowPtGsfElectronIDProducer(), and produce().
|
private |
Definition at line 57 of file LowPtGsfElectronIDProducer.cc.
Referenced by doWork(), and LowPtGsfElectronIDProducer().
|
private |
Definition at line 51 of file LowPtGsfElectronIDProducer.cc.
Referenced by produce().
|
private |
Definition at line 62 of file LowPtGsfElectronIDProducer.cc.
Referenced by LowPtGsfElectronIDProducer().
|
private |
Definition at line 53 of file LowPtGsfElectronIDProducer.cc.
Referenced by LowPtGsfElectronIDProducer(), and produce().
|
private |
Definition at line 47 of file LowPtGsfElectronIDProducer.cc.
Referenced by LowPtGsfElectronIDProducer(), and produce().
|
private |
Definition at line 48 of file LowPtGsfElectronIDProducer.cc.
Referenced by LowPtGsfElectronIDProducer(), and produce().
|
private |
Definition at line 65 of file LowPtGsfElectronIDProducer.cc.
Referenced by eval(), and LowPtGsfElectronIDProducer().
|
private |
Definition at line 63 of file LowPtGsfElectronIDProducer.cc.
Referenced by LowPtGsfElectronIDProducer().