|
virtual void | produce (edm::Event &event, const edm::EventSetup &) override |
|
| SpyEventSummaryProducer (const edm::ParameterSet &config) |
|
virtual | ~SpyEventSummaryProducer () |
|
| EDProducer () |
|
ModuleDescription const & | moduleDescription () const |
|
virtual | ~EDProducer () |
|
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) |
|
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) |
|
Definition at line 65 of file SiStripSpyEventSummaryProducer.cc.
References FEDRawData::data(), MillePedeFileConverter_cfg::e, sistrip::FED_ID_MAX, sistrip::FED_ID_MIN, FEDRawDataCollection::FEDData(), l1t::stage2::layer2::fedId, mps_fire::i, messageLabel_, eostools::move(), rawDataToken_, runType_, FEDRawData::size(), warnAboutUnsupportedRunType(), and cms::Exception::what().
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
73 bool fedFound =
false;
74 uint32_t fedEventNumber = 0;
75 uint32_t fedBxNumber = 0;
78 if (fedData.
size() && fedData.
data()) {
79 std::unique_ptr<sistrip::FEDBufferBase> pBuffer;
86 fedEventNumber = pBuffer->daqLvl1ID();
87 fedBxNumber = pBuffer->daqBXID();
100 pSummary->triggerFed(0);
102 pSummary->event(fedEventNumber);
103 pSummary->bx(fedBxNumber);
105 const int maxTriggerFedBufferSize = 84;
106 boost::scoped_array<uint32_t> fakeTriggerFedData(
new uint32_t[maxTriggerFedBufferSize]);
107 for (uint8_t
i=0;
i<maxTriggerFedBufferSize; ++
i) {
108 fakeTriggerFedData[
i] = 0;
111 fakeTriggerFedData[15] = 1;
113 fakeTriggerFedData[0] = 0;
115 fakeTriggerFedData[20] = 1;
119 pSummary->commissioningInfo(fakeTriggerFedData.get(),fedEventNumber);
void warnAboutUnsupportedRunType()
static const char * messageLabel_
static const uint16_t FED_ID_MIN
char const * what() const override
size_t size() const
Lenght of the data buffer in bytes.
const FEDRawData & FEDData(int fedid) const
retrieve data for fed
edm::EDGetTokenT< FEDRawDataCollection > rawDataToken_
const unsigned char * data() const
Return a const pointer to the beginning of the data buffer.
static const uint16_t FED_ID_MAX
const sistrip::RunType runType_