#include <CalibratedPatElectronProducer.h>
Public Member Functions | |
CalibratedPatElectronProducer (const edm::ParameterSet &) | |
virtual void | produce (edm::Event &, const edm::EventSetup &) |
virtual | ~CalibratedPatElectronProducer () |
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) |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Attributes | |
bool | applyLinearityCorrection |
std::string | combinationRegressionInputPath |
int | combinationType |
int | correctionsType |
std::string | dataset |
edm::EDGetTokenT< edm::View < reco::Candidate > > | inputPatElectronsToken |
bool | isAOD |
bool | isMC |
std::string | linCorrectionsInputPath |
double | lumiRatio |
ElectronEPcombinator * | myCombinator |
EpCombinationTool * | myEpCombinationTool |
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 PatElectron objects
Implementation: <Notes on="" implementation>="">
Definition at line 20 of file CalibratedPatElectronProducer.h.
|
explicit |
Definition at line 42 of file CalibratedPatElectronProducer.cc.
References applyLinearityCorrection, combinationRegressionInputPath, combinationType, correctionsType, gather_cfg::cout, dataset, Exception, contentValuesFiles::fullPath, edm::ParameterSet::getParameter(), EpCombinationTool::init(), inputPatElectronsToken, isMC, linCorrectionsInputPath, lumiRatio, myCombinator, myEpCombinationTool, scaleCorrectionsInputPath, AlCaHLTBitMon_QueryRunRegistry::string, synchronization, theEnCorrector, updateEnergyError, and verbose.
|
virtual |
Definition at line 149 of file CalibratedPatElectronProducer.cc.
|
virtual |
Implements edm::EDProducer.
Definition at line 152 of file CalibratedPatElectronProducer.cc.
References reco::GsfElectron::BADTRACK, reco::Candidate::begin(), reco::GsfElectron::BIGBREM, ElectronEnergyCalibrator::calibrate(), clone(), combinationType, ElectronEPcombinator::combine(), EpCombinationTool::combine(), correctionsType, ElectronEnergyCalibrator::correctLinearity(), gather_cfg::cout, metsig::electron, HI_PhotonSkim_cff::electrons, relativeConstraints::error, Exception, reco::GsfElectron::GAP, reco::GsfElectron::GOLDEN, inputPatElectronsToken, isMC, myCombinator, myEpCombinationTool, reco::GsfElectron::P4_UNKNOWN, funct::pow(), DTTTrigCorrFirst::run, ElectronEPcombinator::setCombinationMode(), reco::GsfElectron::SHOWERING, mathSSE::sqrt(), edm::Event::streamID(), theEnCorrector, and reco::btau::trackMomentum.
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
|
private |
Definition at line 34 of file CalibratedPatElectronProducer.h.
Referenced by CalibratedPatElectronProducer().
|
private |
Definition at line 39 of file CalibratedPatElectronProducer.h.
Referenced by CalibratedPatElectronProducer().
|
private |
Definition at line 35 of file CalibratedPatElectronProducer.h.
Referenced by CalibratedPatElectronProducer(), and produce().
|
private |
Definition at line 33 of file CalibratedPatElectronProducer.h.
Referenced by CalibratedPatElectronProducer(), and produce().
|
private |
Definition at line 29 of file CalibratedPatElectronProducer.h.
Referenced by CalibratedPatElectronProducer(), 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 28 of file CalibratedPatElectronProducer.h.
Referenced by CalibratedPatElectronProducer(), and produce().
|
private |
Definition at line 30 of file CalibratedPatElectronProducer.h.
|
private |
Definition at line 31 of file CalibratedPatElectronProducer.h.
Referenced by CalibratedPatElectronProducer(), KalmanMuonCorrector.KalmanMuonCorrector::correct(), MuScleFitCorrector.MuScleFitCorr::corrected_p4(), and produce().
|
private |
Definition at line 41 of file CalibratedPatElectronProducer.h.
Referenced by CalibratedPatElectronProducer().
|
private |
Definition at line 38 of file CalibratedPatElectronProducer.h.
Referenced by CalibratedPatElectronProducer().
|
private |
Definition at line 45 of file CalibratedPatElectronProducer.h.
Referenced by CalibratedPatElectronProducer(), and produce().
|
private |
Definition at line 44 of file CalibratedPatElectronProducer.h.
Referenced by CalibratedPatElectronProducer(), and produce().
|
private |
Definition at line 40 of file CalibratedPatElectronProducer.h.
Referenced by CalibratedPatElectronProducer().
|
private |
Definition at line 37 of file CalibratedPatElectronProducer.h.
Referenced by CalibratedPatElectronProducer().
|
private |
Definition at line 43 of file CalibratedPatElectronProducer.h.
Referenced by CalibratedPatElectronProducer(), and produce().
|
private |
Definition at line 32 of file CalibratedPatElectronProducer.h.
Referenced by CalibratedPatElectronProducer().
|
private |
Definition at line 36 of file CalibratedPatElectronProducer.h.
Referenced by CalibratedPatElectronProducer(), 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().