#include <HcalTrigPrimDigiProducer.h>
Public Member Functions | |
HcalTrigPrimDigiProducer (const edm::ParameterSet &ps) | |
virtual void | produce (edm::Event &e, const edm::EventSetup &c) |
virtual | ~HcalTrigPrimDigiProducer () |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
Public Member Functions inherited from edm::stream::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 | |
bool | HFEMB_ |
std::vector< edm::InputTag > | inputLabel_ |
input tags for HCAL digis More... | |
edm::InputTag | inputTagFEDRaw_ |
input tag for FEDRawDataCollection More... | |
std::vector< edm::InputTag > | inputUpgradeLabel_ |
bool | legacy_ |
edm::ParameterSet | LongShortCut_ |
double | LongShortOffset_ |
double | LongShortSlope_ |
double | MinLongEnergy_ |
double | MinShortEnergy_ |
bool | runFrontEndFormatError_ |
bool | runZS_ |
HcalTriggerPrimitiveAlgo | theAlgo_ |
edm::EDGetTokenT< HBHEDigiCollection > | tok_hbhe_ |
edm::EDGetTokenT< QIE11DigiCollection > | tok_hbhe_up_ |
edm::EDGetTokenT< HFDigiCollection > | tok_hf_ |
edm::EDGetTokenT< QIE10DigiCollection > | tok_hf_up_ |
edm::EDGetTokenT< FEDRawDataCollection > | tok_raw_ |
bool | upgrade_ |
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 |
Public Types inherited from edm::stream::EDProducerBase | |
typedef EDProducerAdaptorBase | 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::stream::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) |
Definition at line 12 of file HcalTrigPrimDigiProducer.h.
|
explicit |
Definition at line 28 of file HcalTrigPrimDigiProducer.cc.
References a, begin, end, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), HFEMB_, inputLabel_, inputTagFEDRaw_, inputUpgradeLabel_, legacy_, LongShortCut_, LongShortOffset_, LongShortSlope_, MinLongEnergy_, MinShortEnergy_, HcalTriggerPrimitiveAlgo::overrideParameters(), muonDTDigis_cfi::pset, runFrontEndFormatError_, HcalTriggerPrimitiveAlgo::setNCTScaleShift(), HcalTriggerPrimitiveAlgo::setPeakFinderAlgorithm(), HcalTriggerPrimitiveAlgo::setRCTScaleShift(), HcalTriggerPrimitiveAlgo::setUpgradeFlags(), theAlgo_, tok_hbhe_, tok_hbhe_up_, tok_hf_, tok_hf_up_, tok_raw_, and upgrade_.
|
inlinevirtual |
Definition at line 17 of file HcalTrigPrimDigiProducer.h.
References EnergyCorrector::c, MillePedeFileConverter_cfg::e, and produce().
|
virtual |
Produces the EDM products,
Definition at line 94 of file HcalTrigPrimDigiProducer.cc.
References edm::EventSetup::get(), edm::Event::getByToken(), CaloTPGTranscoder::getHcalCompressor(), HcalDbService::getHcalMapping(), HcalLutMetadata::getRctLsb(), hcaltpdigi_cfi::HcalFeatureHFEMBit, HFEMB_, inputLabel_, inputTagFEDRaw_, inputUpgradeLabel_, edm::HandleBase::isValid(), legacy_, LongShortOffset_, LongShortSlope_, MinLongEnergy_, MinShortEnergy_, eostools::move(), edm::Handle< T >::product(), edm::ESHandle< T >::product(), edm::Event::put(), mps_fire::result, HcalTriggerPrimitiveAlgo::run(), HcalTriggerPrimitiveAlgo::runFEFormatError(), runFrontEndFormatError_, HcalTriggerPrimitiveAlgo::runZS(), runZS_, theAlgo_, tok_hbhe_, tok_hbhe_up_, tok_hf_, tok_hf_up_, tok_raw_, and upgrade_.
Referenced by ~HcalTrigPrimDigiProducer().
|
private |
Definition at line 48 of file HcalTrigPrimDigiProducer.h.
Referenced by HcalTrigPrimDigiProducer(), and produce().
|
private |
input tags for HCAL digis
Definition at line 27 of file HcalTrigPrimDigiProducer.h.
Referenced by HcalTrigPrimDigiProducer(), and produce().
|
private |
input tag for FEDRawDataCollection
Definition at line 37 of file HcalTrigPrimDigiProducer.h.
Referenced by HcalTrigPrimDigiProducer(), and produce().
|
private |
Definition at line 28 of file HcalTrigPrimDigiProducer.h.
Referenced by HcalTrigPrimDigiProducer(), and produce().
|
private |
Definition at line 46 of file HcalTrigPrimDigiProducer.h.
Referenced by HcalTrigPrimDigiProducer(), and produce().
|
private |
Definition at line 49 of file HcalTrigPrimDigiProducer.h.
Referenced by HcalTrigPrimDigiProducer().
|
private |
Definition at line 39 of file HcalTrigPrimDigiProducer.h.
Referenced by HcalTrigPrimDigiProducer(), and produce().
|
private |
Definition at line 39 of file HcalTrigPrimDigiProducer.h.
Referenced by HcalTrigPrimDigiProducer(), and produce().
|
private |
Definition at line 39 of file HcalTrigPrimDigiProducer.h.
Referenced by HcalTrigPrimDigiProducer(), and produce().
|
private |
Definition at line 39 of file HcalTrigPrimDigiProducer.h.
Referenced by HcalTrigPrimDigiProducer(), and produce().
|
private |
Definition at line 43 of file HcalTrigPrimDigiProducer.h.
Referenced by HcalTrigPrimDigiProducer(), and produce().
|
private |
Definition at line 41 of file HcalTrigPrimDigiProducer.h.
Referenced by produce().
|
private |
Definition at line 24 of file HcalTrigPrimDigiProducer.h.
Referenced by HcalTrigPrimDigiProducer(), and produce().
|
private |
Definition at line 33 of file HcalTrigPrimDigiProducer.h.
Referenced by HcalTrigPrimDigiProducer(), and produce().
|
private |
Definition at line 30 of file HcalTrigPrimDigiProducer.h.
Referenced by HcalTrigPrimDigiProducer(), and produce().
|
private |
Definition at line 34 of file HcalTrigPrimDigiProducer.h.
Referenced by HcalTrigPrimDigiProducer(), and produce().
|
private |
Definition at line 31 of file HcalTrigPrimDigiProducer.h.
Referenced by HcalTrigPrimDigiProducer(), and produce().
|
private |
Definition at line 38 of file HcalTrigPrimDigiProducer.h.
Referenced by HcalTrigPrimDigiProducer(), and produce().
|
private |
Definition at line 45 of file HcalTrigPrimDigiProducer.h.
Referenced by HcalTrigPrimDigiProducer(), and produce().