#include <CaloTowersReCreator.h>
Public Member Functions | |
CaloTowersReCreator (const edm::ParameterSet &ps) | |
void | produce (edm::Event &e, const edm::EventSetup &c) override |
~CaloTowersReCreator () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
bool | hasAbilityToProduceInLumis () const final |
bool | hasAbilityToProduceInRuns () const final |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Public Attributes | |
double | EBEScale |
double | EEEScale |
double | HBEScale |
double | HEDEScale |
double | HESEScale |
double | HF1EScale |
double | HF2EScale |
double | HOEScale |
Private Attributes | |
CaloTowersCreationAlgo | algo_ |
bool | allowMissingInputs_ |
edm::EDGetTokenT< CaloTowerCollection > | tok_calo_ |
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 19 of file CaloTowersReCreator.h.
|
explicit |
Definition at line 6 of file CaloTowersReCreator.cc.
References EBEScale, EEEScale, edm::ParameterSet::getParameter(), HBEScale, HEDEScale, HESEScale, HF1EScale, HF2EScale, HOEScale, and tok_calo_.
|
inlineoverride |
Definition at line 22 of file CaloTowersReCreator.h.
References EnergyCorrector::c, MillePedeFileConverter_cfg::e, fillDescriptions(), and produce().
|
static |
Definition at line 111 of file CaloTowersReCreator.cc.
References edm::ParameterSetDescription::add(), and edm::ConfigurationDescriptions::addDefault().
Referenced by ~CaloTowersReCreator().
|
override |
Definition at line 61 of file CaloTowersReCreator.cc.
References algo_, allowMissingInputs_, CaloTowersCreationAlgo::begin(), EBEScale, EEEScale, edm::EventSetup::get(), edm::Event::getByToken(), HBEScale, HEDEScale, HESEScale, HF1EScale, HF2EScale, HOEScale, edm::HandleBase::isValid(), eostools::move(), parseEventContent::prod, edm::ESHandle< T >::product(), edm::Event::put(), CaloTowersCreationAlgo::rescaleTowers(), CaloTowersCreationAlgo::setEBEScale(), CaloTowersCreationAlgo::setEEEScale(), CaloTowersCreationAlgo::setGeometry(), CaloTowersCreationAlgo::setHBEScale(), CaloTowersCreationAlgo::setHEDEScale(), CaloTowersCreationAlgo::setHESEScale(), CaloTowersCreationAlgo::setHF1EScale(), CaloTowersCreationAlgo::setHF2EScale(), CaloTowersCreationAlgo::setHOEScale(), and tok_calo_.
Referenced by ~CaloTowersReCreator().
|
private |
Definition at line 28 of file CaloTowersReCreator.h.
Referenced by produce().
|
private |
Definition at line 30 of file CaloTowersReCreator.h.
Referenced by produce().
double CaloTowersReCreator::EBEScale |
Definition at line 25 of file CaloTowersReCreator.h.
Referenced by CaloTowersReCreator(), and produce().
double CaloTowersReCreator::EEEScale |
Definition at line 25 of file CaloTowersReCreator.h.
Referenced by CaloTowersReCreator(), and produce().
double CaloTowersReCreator::HBEScale |
Definition at line 25 of file CaloTowersReCreator.h.
Referenced by CaloTowersReCreator(), and produce().
double CaloTowersReCreator::HEDEScale |
Definition at line 26 of file CaloTowersReCreator.h.
Referenced by CaloTowersReCreator(), and produce().
double CaloTowersReCreator::HESEScale |
Definition at line 25 of file CaloTowersReCreator.h.
Referenced by CaloTowersReCreator(), and produce().
double CaloTowersReCreator::HF1EScale |
Definition at line 26 of file CaloTowersReCreator.h.
Referenced by CaloTowersReCreator(), and produce().
double CaloTowersReCreator::HF2EScale |
Definition at line 26 of file CaloTowersReCreator.h.
Referenced by CaloTowersReCreator(), and produce().
double CaloTowersReCreator::HOEScale |
Definition at line 26 of file CaloTowersReCreator.h.
Referenced by CaloTowersReCreator(), and produce().
|
private |
Definition at line 29 of file CaloTowersReCreator.h.
Referenced by CaloTowersReCreator(), and produce().