#include <CaloTowersReCreator.h>
Public Member Functions | |
CaloTowersReCreator (const edm::ParameterSet &ps) | |
virtual void | produce (edm::Event &e, const edm::EventSetup &c) |
virtual | ~CaloTowersReCreator () |
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 () |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (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::EDProducer | |
typedef EDProducer | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
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) |
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_.
|
inlinevirtual |
Definition at line 22 of file CaloTowersReCreator.h.
|
static |
Definition at line 107 of file CaloTowersReCreator.cc.
References edm::ParameterSetDescription::add(), edm::ConfigurationDescriptions::addDefault(), and HLT_25ns10e33_v2_cff::InputTag.
|
virtual |
Implements edm::EDProducer.
Definition at line 59 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(), parseEventContent::prod, edm::ESHandle< class >::product(), CaloTowersCreationAlgo::rescaleTowers(), CaloTowersCreationAlgo::setEBEScale(), CaloTowersCreationAlgo::setEEEScale(), CaloTowersCreationAlgo::setGeometry(), CaloTowersCreationAlgo::setHBEScale(), CaloTowersCreationAlgo::setHEDEScale(), CaloTowersCreationAlgo::setHESEScale(), CaloTowersCreationAlgo::setHF1EScale(), CaloTowersCreationAlgo::setHF2EScale(), CaloTowersCreationAlgo::setHOEScale(), and tok_calo_.
|
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().