#include <EventFilter/L1TCaloLayer1RawToDigi/plugins/L1TCaloLayer1RawToDigi.cc>
Public Member Functions | |
L1TCaloLayer1RawToDigi (const ParameterSet &) | |
~L1TCaloLayer1RawToDigi () | |
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) |
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 (ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::stream::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Member Functions | |
virtual void | beginStream (StreamID) override |
virtual void | endStream () override |
void | makeECalTPGs (uint32_t lPhi, UCTCTP7RawData &ctp7Data, std::auto_ptr< EcalTrigPrimDigiCollection > &ecalTPGs) |
void | makeHCalTPGs (uint32_t lPhi, UCTCTP7RawData &ctp7Data, std::auto_ptr< HcalTrigPrimDigiCollection > &hcalTPGs) |
void | makeHFTPGs (uint32_t lPhi, UCTCTP7RawData &ctp7Data, std::auto_ptr< HcalTrigPrimDigiCollection > &hfTPGs) |
virtual void | produce (Event &, const EventSetup &) override |
Private Attributes | |
uint32_t | event |
std::vector< int > | fedIDs |
InputTag | fedRawDataLabel |
bool | verbose |
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 |
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: Raw data unpacker for Layer-1 of Level-1 Calorimeter Trigger
Implementation: This is meant to be simple and straight-forward. Potential complications due to any changes in firmware are not foreseen. It is assumed that if there are major changes, which is unlikely, there will be a new unpacker written to deal with that.
Definition at line 66 of file L1TCaloLayer1RawToDigi.cc.
|
explicit |
Definition at line 112 of file L1TCaloLayer1RawToDigi.cc.
References fedRawDataLabel.
L1TCaloLayer1RawToDigi::~L1TCaloLayer1RawToDigi | ( | ) |
Definition at line 128 of file L1TCaloLayer1RawToDigi.cc.
|
overrideprivatevirtual |
Reimplemented from edm::stream::EDProducerBase.
Definition at line 332 of file L1TCaloLayer1RawToDigi.cc.
|
overrideprivatevirtual |
Reimplemented from edm::stream::EDProducerBase.
Definition at line 338 of file L1TCaloLayer1RawToDigi.cc.
|
static |
Definition at line 375 of file L1TCaloLayer1RawToDigi.cc.
References edm::ConfigurationDescriptions::addDefault(), and edm::ParameterSetDescription::setUnknown().
|
private |
Definition at line 203 of file L1TCaloLayer1RawToDigi.cc.
References funct::abs(), UCTCTP7RawData::EBEE, EcalTriggerTower, UCTCTP7RawData::getET(), UCTCTP7RawData::getFB(), UCTCTP7RawData::isLinkDown(), UCTCTP7RawData::isLinkInError(), UCTCTP7RawData::isLinkMasked(), UCTCTP7RawData::isLinkMisaligned(), UCTCTP7RawData::isTowerMasked(), compare_using_db::sample, EcalTriggerPrimitiveDigi::setSample(), and EcalTriggerPrimitiveDigi::setSize().
Referenced by produce().
|
private |
Definition at line 246 of file L1TCaloLayer1RawToDigi.cc.
References funct::abs(), UCTCTP7RawData::getET(), UCTCTP7RawData::getFB(), UCTCTP7RawData::HBHE, UCTCTP7RawData::isLinkDown(), UCTCTP7RawData::isLinkInError(), UCTCTP7RawData::isLinkMasked(), UCTCTP7RawData::isLinkMisaligned(), UCTCTP7RawData::isTowerMasked(), compare_using_db::sample, HcalTriggerPrimitiveDigi::setSample(), and HcalTriggerPrimitiveDigi::setSize().
Referenced by produce().
|
private |
Definition at line 290 of file L1TCaloLayer1RawToDigi.cc.
References UCTCTP7RawData::getET(), UCTCTP7RawData::getFB(), UCTCTP7RawData::HF, UCTCTP7RawData::isLinkDown(), UCTCTP7RawData::isLinkInError(), UCTCTP7RawData::isLinkMasked(), UCTCTP7RawData::isLinkMisaligned(), UCTCTP7RawData::isTowerMasked(), compare_using_db::sample, HcalTriggerPrimitiveDigi::setSample(), and HcalTriggerPrimitiveDigi::setSize().
Referenced by produce().
|
overrideprivatevirtual |
Implements edm::stream::EDProducerBase.
Definition at line 139 of file L1TCaloLayer1RawToDigi.cc.
References UCTDAQRawData::amcPayload(), FEDRawData::data(), TauDecayModes::dec, event, fedIDs, fedRawDataLabel, edm::Event::getByLabel(), i, LogDebug, makeECalTPGs(), makeHCalTPGs(), makeHFTPGs(), UCTDAQRawData::nAMCs(), UCTCTP7RawData::print(), UCTDAQRawData::print(), edm::Event::put(), and FEDRawData::size().
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
|
private |
Definition at line 94 of file L1TCaloLayer1RawToDigi.cc.
Referenced by Types.EventID::cppID(), looper.Looper::process(), produce(), and core.AutoHandle.AutoHandle::product().
|
private |
Definition at line 92 of file L1TCaloLayer1RawToDigi.cc.
Referenced by produce().
|
private |
Definition at line 91 of file L1TCaloLayer1RawToDigi.cc.
Referenced by L1TCaloLayer1RawToDigi(), and produce().
|
private |
Definition at line 96 of file L1TCaloLayer1RawToDigi.cc.
Referenced by 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(), objects.VertexAnalyzer.VertexAnalyzer::process(), and confdbOfflineConverter.OfflineConverter::query().