#include <CalibratedElectronProducer.h>
Public Member Functions | |
CalibratedElectronProducer (const edm::ParameterSet &) | |
virtual void | produce (edm::Event &, const edm::EventSetup &) |
virtual | ~CalibratedElectronProducer () |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducer () |
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 () | |
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, std::unordered_multimap< std::string, edm::ProductResolverIndex > const &iIndicies, std::string const &moduleLabel) |
virtual | ~ProducerBase () noexcept(false) |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () 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 | |
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::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Private Attributes | |
bool | applyLinearityCorrection |
const CaloGeometry * | caloGeometry_ |
std::string | combinationRegressionInputPath |
int | combinationType |
int | correctionsType |
std::string | dataset |
const CaloTopology * | ecalTopology_ |
edm::EDGetTokenT< edm::ValueMap< double > > | energyErrorRegToken_ |
edm::EDGetTokenT< edm::ValueMap< double > > | energyRegToken_ |
bool | geomInitialized_ |
edm::EDGetTokenT< reco::GsfElectronCollection > | inputElectronsToken_ |
bool | isAOD |
bool | isMC |
std::string | linCorrectionsInputPath |
double | lumiRatio |
ElectronEPcombinator * | myCombinator |
EpCombinationTool * | myEpCombinationTool |
std::string | nameNewEnergyErrorReg_ |
std::string | nameNewEnergyReg_ |
std::string | newElectronName_ |
edm::EDGetTokenT< EcalRecHitCollection > | recHitCollectionEBToken_ |
edm::EDGetTokenT< EcalRecHitCollection > | recHitCollectionEEToken_ |
std::string | scaleCorrectionsInputPath |
bool | synchronization |
ElectronEnergyCalibrator * | theEnCorrector |
bool | updateEnergyError |
bool | verbose |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
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 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) |
Description: EDProducer of GsfElectron objects
Implementation: <Notes on="" implementation>="">
Definition at line 27 of file CalibratedElectronProducer.h.
|
explicit |
Definition at line 34 of file CalibratedElectronProducer.cc.
References applyLinearityCorrection, combinationRegressionInputPath, combinationType, correctionsType, gather_cfg::cout, dataset, energyErrorRegToken_, energyRegToken_, Exception, geomInitialized_, edm::ParameterSet::getParameter(), EpCombinationTool::init(), inputElectronsToken_, isMC, linCorrectionsInputPath, lumiRatio, myCombinator, myEpCombinationTool, nameNewEnergyErrorReg_, nameNewEnergyReg_, newElectronName_, recHitCollectionEBToken_, recHitCollectionEEToken_, scaleCorrectionsInputPath, AlCaHLTBitMon_QueryRunRegistry::string, synchronization, theEnCorrector, updateEnergyError, and verbose.
|
virtual |
Definition at line 154 of file CalibratedElectronProducer.cc.
|
virtual |
Definition at line 157 of file CalibratedElectronProducer.cc.
References reco::GsfElectron::BADTRACK, reco::GsfElectron::BIGBREM, ElectronEnergyCalibrator::calibrate(), caloGeometry_, reco::GsfElectron::candidateP4Kind(), reco::GsfElectron::classification(), combinationType, ElectronEPcombinator::combine(), EpCombinationTool::combine(), reco::GsfElectron::core(), reco::GsfElectron::correctedEcalEnergy(), reco::GsfElectron::correctedEcalEnergyError(), correctionsType, ElectronEnergyCalibrator::correctLinearity(), reco::GsfElectron::correctMomentum(), gather_cfg::cout, DEFINE_FWK_MODULE, reco::GsfElectron::ecalDriven(), reco::GsfElectron::ecalDrivenSeed(), ecalTopology_, genericTrackCleaner_cfi::electrons, energyErrorRegToken_, energyRegToken_, relativeConstraints::error, Exception, edm::helper::Filler< Map >::fill(), reco::GsfElectron::GAP, geomInitialized_, edm::EventSetup::get(), reco::GsfElectron::GOLDEN, inputElectronsToken_, edm::helper::Filler< Map >::insert(), reco::GsfElectron::isEB(), reco::GsfElectron::isEE(), isMC, eostools::move(), myCombinator, myEpCombinationTool, nameNewEnergyErrorReg_, nameNewEnergyReg_, newElectronName_, reco::LeafCandidate::p(), reco::GsfElectron::p4(), reco::GsfElectron::p4Error(), funct::pow(), edm::Handle< T >::product(), SuperClusterHelper::r9(), recHitCollectionEBToken_, recHitCollectionEEToken_, findQualityFiles::run, ElectronEPcombinator::setCombinationMode(), reco::GsfElectron::SHOWERING, mathSSE::sqrt(), edm::Event::streamID(), reco::GsfElectron::superCluster(), theEnCorrector, reco::GsfElectron::trackerDrivenSeed(), reco::btau::trackMomentum, reco::GsfElectron::trackMomentumAtVtx(), and reco::GsfElectron::trackMomentumError().
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
|
private |
Definition at line 49 of file CalibratedElectronProducer.h.
Referenced by CalibratedElectronProducer().
|
private |
Definition at line 56 of file CalibratedElectronProducer.h.
Referenced by produce().
|
private |
Definition at line 59 of file CalibratedElectronProducer.h.
Referenced by CalibratedElectronProducer().
|
private |
Definition at line 50 of file CalibratedElectronProducer.h.
Referenced by CalibratedElectronProducer(), and produce().
|
private |
Definition at line 48 of file CalibratedElectronProducer.h.
Referenced by CalibratedElectronProducer(), and produce().
|
private |
Definition at line 44 of file CalibratedElectronProducer.h.
Referenced by CalibratedElectronProducer(), edmIntegrityCheck.IntegrityCheck::query(), production_tasks.BaseDataset::query(), production_tasks.CheckDatasetExists::run(), production_tasks.BaseDataset::run(), production_tasks.GenerateMask::run(), production_tasks.CreateJobDirectory::run(), production_tasks.SourceCFG::run(), production_tasks.FullCFG::run(), production_tasks.WriteToDatasets::run(), production_tasks.RunCMSBatch::run(), production_tasks.MonitorJobs::run(), production_tasks.CleanJobFiles::run(), and edmIntegrityCheck.IntegrityCheck::structured().
|
private |
Definition at line 55 of file CalibratedElectronProducer.h.
Referenced by produce().
|
private |
Definition at line 37 of file CalibratedElectronProducer.h.
Referenced by CalibratedElectronProducer(), and produce().
|
private |
Definition at line 36 of file CalibratedElectronProducer.h.
Referenced by CalibratedElectronProducer(), and produce().
|
private |
Definition at line 57 of file CalibratedElectronProducer.h.
Referenced by CalibratedElectronProducer(), and produce().
|
private |
Definition at line 35 of file CalibratedElectronProducer.h.
Referenced by CalibratedElectronProducer(), and produce().
|
private |
Definition at line 45 of file CalibratedElectronProducer.h.
|
private |
Definition at line 46 of file CalibratedElectronProducer.h.
Referenced by CalibratedElectronProducer(), KalmanMuonCorrector.KalmanMuonCorrector::correct(), MuScleFitCorrector.MuScleFitCorr::corrected_p4(), and produce().
|
private |
Definition at line 61 of file CalibratedElectronProducer.h.
Referenced by CalibratedElectronProducer().
|
private |
Definition at line 53 of file CalibratedElectronProducer.h.
Referenced by CalibratedElectronProducer().
|
private |
Definition at line 65 of file CalibratedElectronProducer.h.
Referenced by CalibratedElectronProducer(), and produce().
|
private |
Definition at line 64 of file CalibratedElectronProducer.h.
Referenced by CalibratedElectronProducer(), and produce().
|
private |
Definition at line 42 of file CalibratedElectronProducer.h.
Referenced by CalibratedElectronProducer(), and produce().
|
private |
Definition at line 41 of file CalibratedElectronProducer.h.
Referenced by CalibratedElectronProducer(), and produce().
|
private |
Definition at line 58 of file CalibratedElectronProducer.h.
Referenced by CalibratedElectronProducer(), and produce().
|
private |
Definition at line 38 of file CalibratedElectronProducer.h.
Referenced by CalibratedElectronProducer(), and produce().
|
private |
Definition at line 39 of file CalibratedElectronProducer.h.
Referenced by CalibratedElectronProducer(), and produce().
|
private |
Definition at line 60 of file CalibratedElectronProducer.h.
Referenced by CalibratedElectronProducer().
|
private |
Definition at line 52 of file CalibratedElectronProducer.h.
Referenced by CalibratedElectronProducer().
|
private |
Definition at line 63 of file CalibratedElectronProducer.h.
Referenced by CalibratedElectronProducer(), and produce().
|
private |
Definition at line 47 of file CalibratedElectronProducer.h.
Referenced by CalibratedElectronProducer().
|
private |
Definition at line 51 of file CalibratedElectronProducer.h.
Referenced by CalibratedElectronProducer(), python.diff_provenance.difference::list_diff(), python.diffProv.difference::list_diff(), python.diff_provenance.difference::module_diff(), python.diffProv.difference::module_diff(), python.diff_provenance.difference::onefilemodules(), python.diffProv.difference::onefilemodules(), core.TriggerMatchAnalyzer.TriggerMatchAnalyzer::process(), core.SkimAnalyzerCount.SkimAnalyzerCount::process(), objects.VertexAnalyzer.VertexAnalyzer::process(), and confdbOfflineConverter.OfflineConverter::query().