#include <EcalRecalibRecHitProducer.h>
Public Member Functions | |
EcalRecalibRecHitProducer (const edm::ParameterSet &ps) | |
virtual void | produce (edm::StreamID sid, edm::Event &evt, const edm::EventSetup &es) const override |
Public Member Functions inherited from edm::global::EDProducer<> | |
EDProducer ()=default | |
Public Member Functions inherited from edm::global::EDProducerBase | |
EDProducerBase () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducerBase () |
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 | |
const bool | doEnergyScale_ |
const bool | doEnergyScaleInverse_ |
const bool | doIntercalib_ |
const bool | doIntercalibInverse_ |
const bool | doLaserCorrections_ |
const bool | doLaserCorrectionsInverse_ |
const std::string | EBRecalibRecHitCollection_ |
const edm::InputTag | EBRecHitCollection_ |
const edm::EDGetTokenT< EBRecHitCollection > | EBRecHitToken_ |
const std::string | EERecalibRecHitCollection_ |
const edm::InputTag | EERecHitCollection_ |
const edm::EDGetTokenT< EERecHitCollection > | EERecHitToken_ |
Additional Inherited Members | |
Public Types inherited from edm::global::EDProducerBase | |
typedef EDProducerBase | 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::global::EDProducerBase | |
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) |
produce ECAL rechits from uncalibrated rechits
Definition at line 20 of file EcalRecalibRecHitProducer.h.
|
explicit |
Definition at line 34 of file EcalRecalibRecHitProducer.cc.
References EBRecalibRecHitCollection_, and EERecalibRecHitCollection_.
|
overridevirtual |
Definition at line 53 of file EcalRecalibRecHitProducer.cc.
References edm::SortedCollection< T, SORT >::begin(), DEFINE_FWK_MODULE, doEnergyScale_, doEnergyScaleInverse_, doIntercalib_, doIntercalibInverse_, doLaserCorrections_, doLaserCorrectionsInverse_, EBRecalibRecHitCollection_, EBRecHitCollection_, egHLT::errCodes::EBRecHits, EBRecHitToken_, EERecalibRecHitCollection_, EERecHitCollection_, egHLT::errCodes::EERecHits, EERecHitToken_, EcalCondObjectContainer< T >::end(), edm::SortedCollection< T, SORT >::end(), EcalCondObjectContainer< T >::find(), objects.autophobj::float, edm::EventSetup::get(), edm::Event::getByToken(), EcalADCToGeVConstant::getEBValue(), EcalADCToGeVConstant::getEEValue(), EcalLaserDbService::getLaserCorrection(), EcalCondObjectContainer< T >::getMap(), edm::InputTag::label(), eostools::move(), edm::Handle< T >::product(), edm::Event::put(), and edm::EventBase::time().
|
private |
Definition at line 35 of file EcalRecalibRecHitProducer.h.
Referenced by produce().
|
private |
Definition at line 38 of file EcalRecalibRecHitProducer.h.
Referenced by produce().
|
private |
Definition at line 36 of file EcalRecalibRecHitProducer.h.
Referenced by produce().
|
private |
Definition at line 39 of file EcalRecalibRecHitProducer.h.
Referenced by produce().
|
private |
Definition at line 37 of file EcalRecalibRecHitProducer.h.
Referenced by produce().
|
private |
Definition at line 40 of file EcalRecalibRecHitProducer.h.
Referenced by produce().
|
private |
Definition at line 32 of file EcalRecalibRecHitProducer.h.
Referenced by EcalRecalibRecHitProducer(), and produce().
|
private |
Definition at line 27 of file EcalRecalibRecHitProducer.h.
Referenced by produce().
|
private |
Definition at line 29 of file EcalRecalibRecHitProducer.h.
Referenced by produce().
|
private |
Definition at line 33 of file EcalRecalibRecHitProducer.h.
Referenced by EcalRecalibRecHitProducer(), and produce().
|
private |
Definition at line 28 of file EcalRecalibRecHitProducer.h.
Referenced by produce().
|
private |
Definition at line 30 of file EcalRecalibRecHitProducer.h.
Referenced by produce().