CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Private Types | Private Member Functions | Private Attributes
LowPtGsfElectronIDProducer Class Referencefinal
Inheritance diagram for LowPtGsfElectronIDProducer:
edm::global::EDProducer<> edm::global::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Public Member Functions

 LowPtGsfElectronIDProducer (const edm::ParameterSet &)
 
void produce (edm::StreamID, edm::Event &, const edm::EventSetup &) const override
 
- Public Member Functions inherited from edm::global::EDProducer<>
 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
 
EDProduceroperator= (const EDProducer &)=delete
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
bool wantsInputProcessBlocks () const final
 
bool wantsProcessBlocks () const final
 
bool wantsStreamLuminosityBlocks () const final
 
bool wantsStreamRuns () const final
 
- Public Member Functions inherited from edm::global::EDProducerBase
 EDProducerBase ()
 
ModuleDescription const & moduleDescription () const
 
 ~EDProducerBase () override
 
- Public Member Functions inherited from edm::ProducerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
std::vector< edm::ProductResolverIndex > const & indiciesForPutProducts (BranchType iBranchType) const
 
 ProducerBase ()
 
std::vector< edm::ProductResolverIndex > const & putTokenIndexToProductResolverIndex () const
 
std::vector< bool > const & recordProvenanceList () const
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
std::function< void(BranchDescription const &)> registrationCallback () const
 used by the fwk to register list of products More...
 
void resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel)
 
TypeLabelList const & typeLabelList () const
 used by the fwk to register the list of products of this module More...
 
 ~ProducerBase () noexcept(false) override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
 EDConsumerBase (EDConsumerBase &&)=default
 
ESResolverIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
std::vector< ESResolverIndex > const & esGetTokenIndicesVector (edm::Transition iTrans) const
 
std::vector< ESRecordIndex > const & esGetTokenRecordIndicesVector (edm::Transition iTrans) const
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::array< std::vector< ModuleDescription const *> *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, ProductRegistry const &preg, std::map< std::string, ModuleDescription const *> const &labelsToDesc, std::string const &processName) const
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
void selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase)
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProductResolverIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

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 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::GsfElectronCollectionelectrons_
 
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecordfieldToken_
 
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::ElectronCollectionpatElectrons_
 
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

- Public Types inherited from edm::global::EDProducerBase
typedef EDProducerBase ModuleType
 
- Public Types inherited from edm::ProducerBase
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
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Protected Member Functions inherited from edm::ProducerBase
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 ()
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B = InEvent>
EDConsumerBaseAdaptor< Bconsumes (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)
 

Detailed Description

Definition at line 29 of file LowPtGsfElectronIDProducer.cc.

Member Enumeration Documentation

◆ Version

Enumerator
V0 
V1 

Definition at line 64 of file LowPtGsfElectronIDProducer.cc.

64 { V0, V1 };

Constructor & Destructor Documentation

◆ LowPtGsfElectronIDProducer()

LowPtGsfElectronIDProducer::LowPtGsfElectronIDProducer ( const edm::ParameterSet conf)
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.

71  : useGsfToTrack_(conf.getParameter<bool>("useGsfToTrack")),
72  usePAT_(conf.getParameter<bool>("usePAT")),
73  electrons_(),
74  patElectrons_(),
75  rho_(consumes<double>(conf.getParameter<edm::InputTag>("rho"))),
76  gsf2trk_(),
77  unbiased_(),
79  names_(conf.getParameter<std::vector<std::string>>("ModelNames")),
80  passThrough_(conf.getParameter<bool>("PassThrough")),
81  minPtThreshold_(conf.getParameter<double>("MinPtThreshold")),
82  maxPtThreshold_(conf.getParameter<double>("MaxPtThreshold")),
83  thresholds_(conf.getParameter<std::vector<double>>("ModelThresholds")),
84  versionName_(conf.getParameter<std::string>("Version")) {
85  if (useGsfToTrack_) {
86  gsf2trk_ = consumes<edm::Association<reco::TrackCollection>>(conf.getParameter<edm::InputTag>("gsfToTrack"));
87  }
88  if (usePAT_) {
89  patElectrons_ = consumes<pat::ElectronCollection>(conf.getParameter<edm::InputTag>("electrons"));
90  } else {
91  electrons_ = consumes<reco::GsfElectronCollection>(conf.getParameter<edm::InputTag>("electrons"));
92  unbiased_ = consumes<edm::ValueMap<float>>(conf.getParameter<edm::InputTag>("unbiased"));
93  }
94  for (auto& weights : conf.getParameter<std::vector<std::string>>("ModelWeights")) {
96  }
97  if (names_.size() != models_.size()) {
98  throw cms::Exception("Incorrect configuration")
99  << "'ModelNames' size (" << names_.size() << ") != 'ModelWeights' size (" << models_.size() << ").\n";
100  }
101  if (models_.size() != thresholds_.size()) {
102  throw cms::Exception("Incorrect configuration")
103  << "'ModelWeights' size (" << models_.size() << ") != 'ModelThresholds' size (" << thresholds_.size() << ").\n";
104  }
105  if (versionName_ == "V0") {
107  } else if (versionName_ == "V1") {
109  } else {
110  throw cms::Exception("Incorrect configuration") << "Unknown Version: " << versionName_ << "\n";
111  }
112  putTokens_.reserve(names_.size());
113  for (const auto& name : names_) {
115  }
116 }
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
edm::EDGetTokenT< reco::GsfElectronCollection > electrons_
const std::vector< double > thresholds_
const std::vector< std::string > names_
std::vector< std::unique_ptr< const GBRForest > > models_
edm::EDGetTokenT< pat::ElectronCollection > patElectrons_
const edm::EDGetTokenT< double > rho_
edm::EDGetTokenT< edm::ValueMap< float > > unbiased_
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > fieldToken_
edm::EDGetTokenT< edm::Association< reco::TrackCollection > > gsf2trk_
std::vector< edm::EDPutTokenT< edm::ValueMap< float > > > putTokens_
std::unique_ptr< const GBRForest > createGBRForest(const std::string &weightsFile)

Member Function Documentation

◆ doWork()

template<typename EL , typename FID , typename FTRK >
void LowPtGsfElectronIDProducer::doWork ( double  rho,
float  bz,
EL const &  electrons,
FID &&  idFunctor,
FTRK &&  trkFunctor,
edm::Event event 
) const
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().

221  {
222  auto nElectrons = electrons->size();
223  std::vector<float> ids;
224  ids.reserve(nElectrons);
225  std::transform(electrons->begin(), electrons->end(), std::back_inserter(ids), idFunctor);
226  std::vector<const reco::Track*> trks;
227  trks.reserve(nElectrons);
228  std::transform(electrons->begin(), electrons->end(), std::back_inserter(trks), trkFunctor);
229 
230  std::vector<float> output(nElectrons); //resused for each model
231  for (unsigned int index = 0; index < names_.size(); ++index) {
232  // Iterate through Electrons, evaluate BDT, and store result
233  for (unsigned int iele = 0; iele < nElectrons; iele++) {
234  auto const& ele = (*electrons)[iele];
235  if (ids[iele] != std::numeric_limits<float>::max()) {
236  output[iele] = eval(*models_[index], ele, rho, ids[iele], bz, trks[iele]);
237  } else {
238  output[iele] = -999.;
239  }
240  }
241  edm::ValueMap<float> valueMap;
243  filler.insert(electrons, output.begin(), output.end());
244  filler.fill();
245  event.emplace(putTokens_[index], std::move(valueMap));
246  }
247 }
double eval(const GBRForest &model, const reco::GsfElectron &, double rho, float unbiased, float field_z, const reco::Track *trk=nullptr) const
const std::vector< std::string > names_
std::vector< std::unique_ptr< const GBRForest > > models_
std::vector< edm::EDPutTokenT< edm::ValueMap< float > > > putTokens_
def move(src, dest)
Definition: eostools.py:511
unsigned transform(const HcalDetId &id, unsigned transformCode)

◆ eval()

double LowPtGsfElectronIDProducer::eval ( const GBRForest model,
const reco::GsfElectron ele,
double  rho,
float  unbiased,
float  field_z,
const reco::Track trk = nullptr 
) const
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().

256  {
257  std::vector<float> inputs;
258  if (version_ == Version::V0) {
260  } else if (version_ == Version::V1) {
261  inputs = lowptgsfeleid::features_V1(ele, rho, unbiased, field_z, trk);
262  }
263  return model.GetResponse(inputs.data());
264 }
std::vector< float > features_V0(reco::GsfElectron const &ele, float rho, float unbiased)
std::vector< float > features_V1(reco::GsfElectron const &ele, float rho, float unbiased, float field_z, const reco::Track *trk=nullptr)

◆ fillDescriptions()

void LowPtGsfElectronIDProducer::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
static

Definition at line 268 of file LowPtGsfElectronIDProducer.cc.

References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, ProducerED_cfi::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.

268  {
270  desc.add<bool>("useGsfToTrack", false);
271  desc.add<bool>("usePAT", false);
272  desc.add<edm::InputTag>("electrons", edm::InputTag("lowPtGsfElectrons"));
273  desc.addOptional<edm::InputTag>("gsfToTrack", edm::InputTag("lowPtGsfToTrackLinks"));
274  desc.addOptional<edm::InputTag>("unbiased", edm::InputTag("lowPtGsfElectronSeedValueMaps:unbiased"));
275  desc.add<edm::InputTag>("rho", edm::InputTag("fixedGridRhoFastjetAll"));
276  desc.add<std::vector<std::string>>("ModelNames", {""});
277  desc.add<std::vector<std::string>>(
278  "ModelWeights", {"RecoEgamma/ElectronIdentification/data/LowPtElectrons/LowPtElectrons_ID_2020Nov28.root"});
279  desc.add<std::vector<double>>("ModelThresholds", {-99.});
280  desc.add<bool>("PassThrough", false);
281  desc.add<double>("MinPtThreshold", 0.5);
282  desc.add<double>("MaxPtThreshold", 15.);
283  desc.add<std::string>("Version", "V1");
284  descriptions.add("defaultLowPtGsfElectronID", desc);
285 }
void add(std::string const &label, ParameterSetDescription const &psetDescription)

◆ produce()

void LowPtGsfElectronIDProducer::produce ( edm::StreamID  ,
edm::Event event,
const edm::EventSetup setup 
) const
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_.

120  {
121  // Get z-component of B field
122  math::XYZVector zfield(setup.getData(fieldToken_).inTesla(GlobalPoint(0, 0, 0)));
123 
124  // Pileup
125  edm::Handle<double> hRho;
126  event.getByToken(rho_, hRho);
127  if (!hRho.isValid()) {
128  std::ostringstream os;
129  os << "Problem accessing rho collection for low-pT electrons" << std::endl;
130  throw cms::Exception("InvalidHandle", os.str());
131  }
132 
133  // Retrieve GsfToTrack Association from Event
135  if (useGsfToTrack_) {
136  event.getByToken(gsf2trk_, gsf2trk);
137  }
138 
139  double rho = *hRho;
140  // Retrieve pat::Electrons or reco::GsfElectrons from Event
143  if (usePAT_) {
144  auto const& electrons = event.getHandle(patElectrons_);
145 
146  const std::string kUnbiased("unbiased");
147  doWork(
148  rho,
149  zfield.z(),
150  electrons,
151  [&](auto const& ele) {
152  if (!ele.isElectronIDAvailable(kUnbiased)) {
154  }
155  return ele.electronID(kUnbiased);
156  },
157  [&](auto const& ele) { // trkFunctor ...
158  if (useGsfToTrack_) {
159  using PackedPtr = edm::Ptr<pat::PackedCandidate>;
160  const PackedPtr* ptr1 = ele.template userData<PackedPtr>("ele2packed");
161  const PackedPtr* ptr2 = ele.template userData<PackedPtr>("ele2lost");
162  auto hasBestTrack = [](const PackedPtr* ptr) {
163  return ptr != nullptr && ptr->isNonnull() && ptr->isAvailable() && ptr->get() != nullptr &&
164  ptr->get()->bestTrack() != nullptr;
165  };
166  if (hasBestTrack(ptr1)) {
167  return ptr1->get()->bestTrack();
168  } else if (hasBestTrack(ptr2)) {
169  return ptr2->get()->bestTrack();
170  }
171  } else {
172  reco::TrackRef ref = ele.closestCtfTrackRef();
173  if (ref.isNonnull() && ref.isAvailable()) {
174  return ref.get();
175  }
176  }
177  return static_cast<const reco::Track*>(nullptr);
178  },
179  event);
180  } else {
181  auto const& electrons = event.getHandle(electrons_);
182  // ElectronSeed unbiased BDT
183  edm::ValueMap<float> const& unbiasedH = event.get(unbiased_);
184  doWork(
185  rho,
186  zfield.z(),
187  electrons,
188  [&](auto const& ele) {
189  if (ele.core().isNull()) {
191  }
192  const auto& gsf = ele.core()->gsfTrack(); // reco::GsfTrackRef
193  if (gsf.isNull()) {
195  }
196  return unbiasedH[gsf];
197  },
198  [&](auto const& ele) { // trkFunctor ...
199  if (useGsfToTrack_) {
200  const auto& gsf = ele.core()->gsfTrack();
201  if (gsf.isNonnull() && gsf.isAvailable()) {
202  auto const& ref = (*gsf2trk)[gsf];
203  if (ref.isNonnull() && ref.isAvailable()) {
204  return ref.get();
205  }
206  }
207  } else {
208  reco::TrackRef ref = ele.closestCtfTrackRef();
209  if (ref.isNonnull() && ref.isAvailable()) {
210  return ref.get();
211  }
212  }
213  return static_cast<const reco::Track*>(nullptr);
214  },
215  event);
216  }
217 }
const_reference_type get(ProductID id, size_t idx) const
Definition: ValueMap.h:144
Global3DPoint GlobalPoint
Definition: GlobalPoint.h:10
edm::EDGetTokenT< reco::GsfElectronCollection > electrons_
bool isNonnull() const
Checks for non-null.
Definition: Ref.h:238
void doWork(double rho, float bz, EL const &electrons, FID &&idFunctor, FTRK &&trkFunctor, edm::Event &) const
bool isNonnull() const
Checks for non-null.
Definition: Ptr.h:146
bool isAvailable() const
Definition: Ref.h:541
edm::EDGetTokenT< pat::ElectronCollection > patElectrons_
const edm::EDGetTokenT< double > rho_
XYZVectorD XYZVector
spatial vector with cartesian internal representation
Definition: Vector3D.h:31
edm::EDGetTokenT< edm::ValueMap< float > > unbiased_
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > fieldToken_
edm::EDGetTokenT< edm::Association< reco::TrackCollection > > gsf2trk_
T const * get() const
Returns C++ pointer to the item.
Definition: Ref.h:232

Member Data Documentation

◆ electrons_

edm::EDGetTokenT<reco::GsfElectronCollection> LowPtGsfElectronIDProducer::electrons_
private

Definition at line 49 of file LowPtGsfElectronIDProducer.cc.

Referenced by LowPtGsfElectronIDProducer(), and produce().

◆ fieldToken_

const edm::ESGetToken<MagneticField, IdealMagneticFieldRecord> LowPtGsfElectronIDProducer::fieldToken_
private

Definition at line 54 of file LowPtGsfElectronIDProducer.cc.

Referenced by produce().

◆ gsf2trk_

edm::EDGetTokenT<edm::Association<reco::TrackCollection> > LowPtGsfElectronIDProducer::gsf2trk_
private

Definition at line 52 of file LowPtGsfElectronIDProducer.cc.

Referenced by LowPtGsfElectronIDProducer(), and produce().

◆ maxPtThreshold_

const double LowPtGsfElectronIDProducer::maxPtThreshold_
private

Definition at line 60 of file LowPtGsfElectronIDProducer.cc.

◆ minPtThreshold_

const double LowPtGsfElectronIDProducer::minPtThreshold_
private

Definition at line 59 of file LowPtGsfElectronIDProducer.cc.

◆ models_

std::vector<std::unique_ptr<const GBRForest> > LowPtGsfElectronIDProducer::models_
private

Definition at line 61 of file LowPtGsfElectronIDProducer.cc.

Referenced by doWork(), and LowPtGsfElectronIDProducer().

◆ names_

const std::vector<std::string> LowPtGsfElectronIDProducer::names_
private

Definition at line 56 of file LowPtGsfElectronIDProducer.cc.

Referenced by doWork(), and LowPtGsfElectronIDProducer().

◆ passThrough_

const bool LowPtGsfElectronIDProducer::passThrough_
private

Definition at line 58 of file LowPtGsfElectronIDProducer.cc.

◆ patElectrons_

edm::EDGetTokenT<pat::ElectronCollection> LowPtGsfElectronIDProducer::patElectrons_
private

Definition at line 50 of file LowPtGsfElectronIDProducer.cc.

Referenced by LowPtGsfElectronIDProducer(), and produce().

◆ putTokens_

std::vector<edm::EDPutTokenT<edm::ValueMap<float> > > LowPtGsfElectronIDProducer::putTokens_
private

Definition at line 57 of file LowPtGsfElectronIDProducer.cc.

Referenced by doWork(), and LowPtGsfElectronIDProducer().

◆ rho_

const edm::EDGetTokenT<double> LowPtGsfElectronIDProducer::rho_
private

Definition at line 51 of file LowPtGsfElectronIDProducer.cc.

Referenced by produce().

◆ thresholds_

const std::vector<double> LowPtGsfElectronIDProducer::thresholds_
private

Definition at line 62 of file LowPtGsfElectronIDProducer.cc.

Referenced by LowPtGsfElectronIDProducer().

◆ unbiased_

edm::EDGetTokenT<edm::ValueMap<float> > LowPtGsfElectronIDProducer::unbiased_
private

Definition at line 53 of file LowPtGsfElectronIDProducer.cc.

Referenced by LowPtGsfElectronIDProducer(), and produce().

◆ useGsfToTrack_

const bool LowPtGsfElectronIDProducer::useGsfToTrack_
private

Definition at line 47 of file LowPtGsfElectronIDProducer.cc.

Referenced by LowPtGsfElectronIDProducer(), and produce().

◆ usePAT_

const bool LowPtGsfElectronIDProducer::usePAT_
private

Definition at line 48 of file LowPtGsfElectronIDProducer.cc.

Referenced by LowPtGsfElectronIDProducer(), and produce().

◆ version_

Version LowPtGsfElectronIDProducer::version_
private

Definition at line 65 of file LowPtGsfElectronIDProducer.cc.

Referenced by eval(), and LowPtGsfElectronIDProducer().

◆ versionName_

const std::string LowPtGsfElectronIDProducer::versionName_
private

Definition at line 63 of file LowPtGsfElectronIDProducer.cc.

Referenced by LowPtGsfElectronIDProducer().