Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &) |
Static Public Member Functions inherited from edm::global::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Member Functions | |
double | eval (const std::string &name, const edm::Ptr< reco::GsfElectron > &, double rho, float unbiased, float field_z, const reco::Track *trk=0) const |
Private Attributes | |
edm::EDGetTokenT< reco::GsfElectronCollection > | electrons_ |
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_ |
const edm::EDGetTokenT< double > | rho_ |
const std::vector< double > | thresholds_ |
edm::EDGetTokenT< edm::ValueMap< float > > | unbiased_ |
const bool | useGsfToTrack_ |
const bool | usePAT_ |
const std::string | version_ |
Additional Inherited Members | |
Public Types inherited from edm::global::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
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 ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
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<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) |
Definition at line 30 of file LowPtGsfElectronIDProducer.cc.
|
explicit |
Definition at line 64 of file LowPtGsfElectronIDProducer.cc.
References createGBRForest(), electrons_, Exception, edm::ParameterSet::getParameter(), gsf2trk_, models_, dataset::name, names_, patElectrons_, thresholds_, unbiased_, useGsfToTrack_, usePAT_, version_, and HGCalRecHit_cfi::weights.
|
private |
Definition at line 234 of file LowPtGsfElectronIDProducer.cc.
References SoftLeptonByDistance_cfi::distance, Exception, postprocess-scan-build::features, lowptgsfeleid::features_V0(), lowptgsfeleid::features_V1(), spr::find(), lowptgsfeleid::Features::get(), haddnano::inputs, models_, dataset::name, names_, lowptgsfeleid::Features::set(), and version_.
Referenced by produce().
|
static |
Definition at line 262 of file LowPtGsfElectronIDProducer.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addOptional(), DEFINE_FWK_MODULE, and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Definition at line 108 of file LowPtGsfElectronIDProducer.cc.
References begin, pat::Electron::closestCtfTrackRef(), reco::GsfElectron::closestCtfTrackRef(), reco::GsfElectron::core(), pat::Electron::electronID(), lowPtElectrons_cff::electrons, electrons_, end, eval(), Exception, edm::helper::Filler< Map >::fill(), objects.autophobj::filler, edm::EventSetup::get(), edm::Ref< C, T, F >::get(), ntupleEnum::gsf, gsf2trk_, edm::helper::Filler< Map >::insert(), MagneticField::inTesla(), edm::Ref< C, T, F >::isAvailable(), pat::Electron::isElectronIDAvailable(), edm::Ref< C, T, F >::isNonnull(), edm::Ref< C, T, F >::isNull(), edm::EDGetTokenT< T >::isUninitialized(), eostools::move(), names_, custom_jme_cff::nElectrons, convertSQLitetoXML_cfg::output, electronProducer_cfi::patElectrons, patElectrons_, rho, rho_, lowPtElectrons_cff::unbiased, unbiased_, useGsfToTrack_, usePAT_, and pat::PATObject< ObjectType >::userData().
|
private |
Definition at line 48 of file LowPtGsfElectronIDProducer.cc.
Referenced by LowPtGsfElectronIDProducer(), and produce().
|
private |
Definition at line 51 of file LowPtGsfElectronIDProducer.cc.
Referenced by LowPtGsfElectronIDProducer(), and produce().
|
private |
Definition at line 56 of file LowPtGsfElectronIDProducer.cc.
|
private |
Definition at line 55 of file LowPtGsfElectronIDProducer.cc.
|
private |
Definition at line 57 of file LowPtGsfElectronIDProducer.cc.
Referenced by eval(), and LowPtGsfElectronIDProducer().
|
private |
Definition at line 53 of file LowPtGsfElectronIDProducer.cc.
Referenced by eval(), LowPtGsfElectronIDProducer(), and produce().
|
private |
Definition at line 54 of file LowPtGsfElectronIDProducer.cc.
|
private |
Definition at line 49 of file LowPtGsfElectronIDProducer.cc.
Referenced by LowPtGsfElectronIDProducer(), and produce().
|
private |
Definition at line 50 of file LowPtGsfElectronIDProducer.cc.
Referenced by produce().
|
private |
Definition at line 58 of file LowPtGsfElectronIDProducer.cc.
Referenced by LowPtGsfElectronIDProducer().
|
private |
Definition at line 52 of file LowPtGsfElectronIDProducer.cc.
Referenced by LowPtGsfElectronIDProducer(), and produce().
|
private |
Definition at line 46 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 59 of file LowPtGsfElectronIDProducer.cc.
Referenced by eval(), and LowPtGsfElectronIDProducer().