#include <CastorRawToDigi.h>
Public Member Functions | |
virtual void | beginRun (edm::Run const &, edm::EventSetup const &) override |
CastorRawToDigi (const edm::ParameterSet &ps) | |
virtual void | produce (edm::Event &e, const edm::EventSetup &c) override |
virtual | ~CastorRawToDigi () |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
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 | |
EDConsumerBase () | |
ProductHolderIndex | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Attributes | |
bool | complainEmptyData_ |
CastorCtdcUnpacker | ctdcunpacker_ |
edm::InputTag | dataTag_ |
int | expectedOrbitMessageTime_ |
std::vector< int > | fedUnpackList_ |
CastorDataFrameFilter | filter_ |
int | firstFED_ |
bool | silent_ |
CastorUnpacker | unpacker_ |
bool | unpackTTP_ |
bool | usenominalOrbitMessageTime_ |
bool | usingctdc_ |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
typedef WorkerT< EDProducer > | WorkerType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDProducer | |
CurrentProcessingContext const * | currentContext () const |
Protected Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
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) |
CastorRawToDigi is the EDProducer subclass which runs the Hcal Unpack algorithm.
Definition at line 28 of file CastorRawToDigi.h.
|
explicit |
Definition at line 15 of file CastorRawToDigi.cc.
References expectedOrbitMessageTime_, fedUnpackList_, i, FEDNumbering::MAXCASTORFEDID, FEDNumbering::MINCASTORFEDID, CastorUnpacker::setExpectedOrbitMessageTime(), unpacker_, and unpackTTP_.
|
virtual |
Definition at line 58 of file CastorRawToDigi.cc.
|
overridevirtual |
Reimplemented from edm::EDProducer.
Definition at line 151 of file CastorRawToDigi.cc.
References expectedOrbitMessageTime_, edm::RunBase::run(), CastorUnpacker::setExpectedOrbitMessageTime(), unpacker_, and usenominalOrbitMessageTime_.
|
overridevirtual |
calib
Implements edm::EDProducer.
Definition at line 61 of file CastorRawToDigi.cc.
References CastorDataFrameFilter::active(), CastorRawCollections::castorCont, complainEmptyData_, ctdcunpacker_, dataTag_, fedUnpackList_, CastorDataFrameFilter::filter(), filter_, edm::EventSetup::get(), edm::Event::getByLabel(), i, parseEventContent::prod, edm::Event::put(), zeeHLT_cff::report, FEDRawData::size(), edm::SortedCollection< T, SORT >::swap(), CastorRawCollections::tpCont, CastorRawCollections::ttp, CastorCtdcUnpacker::unpack(), CastorUnpacker::unpack(), unpacker_, unpackTTP_, usingctdc_, and cms::Exception::what().
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
|
private |
Definition at line 44 of file CastorRawToDigi.h.
Referenced by produce().
|
private |
Definition at line 39 of file CastorRawToDigi.h.
Referenced by produce().
|
private |
Definition at line 37 of file CastorRawToDigi.h.
Referenced by produce().
|
private |
Definition at line 49 of file CastorRawToDigi.h.
Referenced by beginRun(), and CastorRawToDigi().
|
private |
Definition at line 41 of file CastorRawToDigi.h.
Referenced by CastorRawToDigi(), and produce().
|
private |
Definition at line 40 of file CastorRawToDigi.h.
Referenced by produce().
|
private |
Definition at line 42 of file CastorRawToDigi.h.
|
private |
Definition at line 47 of file CastorRawToDigi.h.
|
private |
Definition at line 38 of file CastorRawToDigi.h.
Referenced by beginRun(), CastorRawToDigi(), and produce().
|
private |
Definition at line 46 of file CastorRawToDigi.h.
Referenced by CastorRawToDigi(), and produce().
|
private |
Definition at line 48 of file CastorRawToDigi.h.
Referenced by beginRun().
|
private |
Definition at line 45 of file CastorRawToDigi.h.
Referenced by produce().