#include <ElectronMVAVariableHelper.h>
Public Member Functions | |
ElectronMVAVariableHelper (const edm::ParameterSet &iConfig) | |
void | produce (edm::Event &iEvent, const edm::EventSetup &iSetup) override |
~ElectronMVAVariableHelper () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
bool | hasAbilityToProduceInLumis () const final |
bool | hasAbilityToProduceInRuns () const final |
Private Member Functions | |
template<typename T > | |
void | writeValueMap (edm::Event &iEvent, const edm::Handle< edm::View< ParticleType > > &handle, const std::vector< T > &values, const std::string &label) const |
Private Attributes | |
const edm::EDGetTokenT< reco::BeamSpot > | beamSpotToken_ |
const edm::EDGetTokenT< reco::BeamSpot > | beamSpotTokenMiniAOD_ |
const edm::EDGetTokenT< reco::ConversionCollection > | conversionsToken_ |
const edm::EDGetTokenT< reco::ConversionCollection > | conversionsTokenMiniAOD_ |
const edm::EDGetTokenT< edm::View< ParticleType > > | electronsToken_ |
const edm::EDGetTokenT< edm::View< ParticleType > > | electronsTokenMiniAOD_ |
const edm::EDGetTokenT< reco::VertexCollection > | vtxToken_ |
const edm::EDGetTokenT< reco::VertexCollection > | vtxTokenMiniAOD_ |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
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 |
Definition at line 34 of file ElectronMVAVariableHelper.h.
|
explicit |
Definition at line 63 of file ElectronMVAVariableHelper.h.
|
override |
Definition at line 79 of file ElectronMVAVariableHelper.h.
|
override |
Definition at line 83 of file ElectronMVAVariableHelper.h.
References ecalDrivenElectronSeedsParameters_cff::beamSpot, ElectronMVAVariableHelper< ParticleType >::beamSpotToken_, ElectronMVAVariableHelper< ParticleType >::beamSpotTokenMiniAOD_, reco::Vertex::chi2(), conversions_cfi::conversions, ElectronMVAVariableHelper< ParticleType >::conversionsToken_, ElectronMVAVariableHelper< ParticleType >::conversionsTokenMiniAOD_, nano_cff::electrons, ElectronMVAVariableHelper< ParticleType >::electronsToken_, ElectronMVAVariableHelper< ParticleType >::electronsTokenMiniAOD_, Exception, edm::Ref< C, T, F >::get(), edm::Event::getByToken(), mps_fire::i, edm::Ref< C, T, F >::isAvailable(), edm::Ref< C, T, F >::isNonnull(), edm::Ref< C, T, F >::isNull(), reco::Vertex::isValid(), edm::HandleBase::isValid(), ConversionTools::matchedConversion(), reco::Vertex::ndof(), reco::BeamSpot::position(), edm::Handle< T >::product(), badGlobalMuonTaggersAOD_cff::vtx, ElectronMVAVariableHelper< ParticleType >::vtxToken_, ElectronMVAVariableHelper< ParticleType >::vtxTokenMiniAOD_, and ElectronMVAVariableHelper< ParticleType >::writeValueMap().
|
private |
Definition at line 167 of file ElectronMVAVariableHelper.h.
References objects.autophobj::filler, cmsBatch::handle, eostools::move(), and edm::Event::put().
Referenced by ElectronMVAVariableHelper< ParticleType >::produce().
|
private |
Definition at line 53 of file ElectronMVAVariableHelper.h.
Referenced by ElectronMVAVariableHelper< ParticleType >::produce().
|
private |
Definition at line 59 of file ElectronMVAVariableHelper.h.
Referenced by ElectronMVAVariableHelper< ParticleType >::produce().
|
private |
Definition at line 52 of file ElectronMVAVariableHelper.h.
Referenced by ElectronMVAVariableHelper< ParticleType >::produce().
|
private |
Definition at line 58 of file ElectronMVAVariableHelper.h.
Referenced by ElectronMVAVariableHelper< ParticleType >::produce().
|
private |
Definition at line 50 of file ElectronMVAVariableHelper.h.
Referenced by ElectronMVAVariableHelper< ParticleType >::produce().
|
private |
Definition at line 56 of file ElectronMVAVariableHelper.h.
Referenced by ElectronMVAVariableHelper< ParticleType >::produce().
|
private |
Definition at line 51 of file ElectronMVAVariableHelper.h.
Referenced by ElectronMVAVariableHelper< ParticleType >::produce().
|
private |
Definition at line 57 of file ElectronMVAVariableHelper.h.
Referenced by ElectronMVAVariableHelper< ParticleType >::produce().