|
| HcalDigiToRawuHTR (const edm::ParameterSet &) |
|
void | produce (edm::StreamID, edm::Event &, const edm::EventSetup &) const override |
|
| ~HcalDigiToRawuHTR () override |
|
| EDProducer ()=default |
|
bool | hasAbilityToProduceInBeginLumis () const final |
|
bool | hasAbilityToProduceInBeginRuns () const final |
|
bool | hasAbilityToProduceInEndLumis () const final |
|
bool | hasAbilityToProduceInEndRuns () const final |
|
bool | wantsGlobalLuminosityBlocks () const final |
|
bool | wantsGlobalRuns () const final |
|
bool | wantsStreamLuminosityBlocks () const final |
|
bool | wantsStreamRuns () const final |
|
| EDProducerBase () |
|
ModuleDescription const & | moduleDescription () const |
|
| ~EDProducerBase () override |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
|
| ProducerBase () |
|
std::vector< edm::ProductResolverIndex > const & | putTokenIndexToProductResolverIndex () const |
|
std::vector< bool > const & | recordProvenanceList () const |
|
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, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel) |
|
TypeLabelList const & | typeLabelList () const |
| used by the fwk to register the list of products of this module More...
|
|
| ~ProducerBase () noexcept(false) override |
|
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 &&)=default |
|
| EDConsumerBase (EDConsumerBase const &)=delete |
|
ESProxyIndex const * | esGetTokenIndices (edm::Transition iTrans) const |
|
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 & | operator= (EDConsumerBase &&)=default |
|
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
|
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
|
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
|
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
|
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
|
void | updateLookup (eventsetup::ESRecordsToProxyIndices const &) |
|
virtual | ~EDConsumerBase () noexcept(false) |
|
|
typedef EDProducerBase | ModuleType |
|
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex > > |
|
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
|
typedef ProductLabels | Labels |
|
template<class ProductType > |
BranchAliasSetterT< ProductType > | produces () |
| declare what type of product will make and with which optional label More...
|
|
template<typename ProductType , BranchType B> |
BranchAliasSetterT< ProductType > | produces () |
|
template<typename ProductType , Transition B> |
BranchAliasSetterT< ProductType > | produces () |
|
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
|
template<BranchType B> |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
|
template<Transition B> |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
|
template<typename ProductType , Transition B> |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
|
template<class ProductType > |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
|
template<typename ProductType , BranchType B> |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
|
ProducesCollector | producesCollector () |
|
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
|
template<typename ProductType , BranchType B = InEvent> |
EDGetTokenT< ProductType > | consumes (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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> |
auto | esConsumes () |
|
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> |
auto | esConsumes (ESInputTag const &tag) |
|
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
|
template<BranchType B> |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
|
template<typename ProductType , BranchType B = InEvent> |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
|
Definition at line 40 of file HcalDigiToRawuHTR.cc.
Implements edm::global::EDProducerBase.
Definition at line 87 of file HcalDigiToRawuHTR.cc.
111 map<int, unique_ptr<HCalFED> > fedMap;
118 if (qie10DigiCollection.
isValid()) {
120 for (
unsigned int j = 0;
j < qie10dc.
size();
j++) {
124 int crateId =
eid.crateId();
125 int slotId =
eid.slot();
126 int uhtrIndex = ((slotId & 0xF) << 8) | (crateId & 0xFF);
134 if (!uhtrs.
exist(uhtrIndex)) {
145 if (qie11DigiCollection.
isValid()) {
147 for (
unsigned int j = 0;
j < qie11dc.
size();
j++) {
151 int crateId =
eid.crateId();
152 int slotId =
eid.slot();
153 int uhtrIndex = ((slotId & 0xF) << 8) | (crateId & 0xFF);
160 if (!uhtrs.
exist(uhtrIndex)) {
170 if (hfDigiCollection.
isValid()) {
176 int crateId =
eid.crateId();
177 int slotId =
eid.slot();
178 int uhtrIndex = (crateId & 0xFF) | ((slotId & 0xF) << 8);
181 if (!uhtrs.
exist(uhtrIndex)) {
191 if (hbheDigiCollection.
isValid()) {
197 int crateId =
eid.crateId();
198 int slotId =
eid.slot();
199 int uhtrIndex = (crateId & 0xFF) | ((slotId & 0xF) << 8);
202 if (!uhtrs.
exist(uhtrIndex)) {
218 int crateId =
eid.crateId();
219 int slotId =
eid.slot();
220 int uhtrIndex = (crateId & 0xFF) | ((slotId & 0xF) << 8);
221 int ilink =
eid.fiberIndex();
222 int itower =
eid.fiberChanId();
223 int channelid = (itower & 0xF) | ((ilink & 0xF) << 4);
226 if (!uhtrs.
exist(uhtrIndex)) {
239 for (UHTRpacker::UHTRMap::iterator uhtr = uhtrs.
uhtrs.begin(); uhtr != uhtrs.
uhtrs.end(); ++uhtr) {
242 uint64_t crateId = (uhtr->first) & 0xFF;
243 uint64_t slotId = (uhtr->first & 0xF00) >> 8;
247 if (fedMap.find(
fedId) == fedMap.end()) {
249 fedMap[
fedId] = std::unique_ptr<HCalFED>(
252 fedMap[
fedId]->addUHTR(uhtr->second, crateId, slotId);
260 for (
map<
int, unique_ptr<HCalFED> >::iterator fed = fedMap.begin(); fed != fedMap.end(); ++fed) {
261 int fedId = fed->first;
264 fed->second->formatFEDdata(
rawData);
References _verbosity, UHTRpacker::addChannel(), edm::SortedCollection< T, SORT >::begin(), evf::compute_crc(), convertHB(), QIE11DataFrame::detid(), QIE10DataFrame::detid(), runTauDisplay::eid, electronicsMapLabel_, edm::SortedCollection< T, SORT >::end(), UHTRpacker::exist(), l1tstage2_dqm_sourceclient-live_cfg::fedId, EcalFEDMonitor_cfi::FEDRawDataCollection, UHTRpacker::finalizeHeadTail(), edm::EventSetup::get(), get, HcalBarrel, iEvent, edm::HandleBase::isValid(), B2GTnPMonitor_cfi::item, dqmiolumiharvest::j, HcalElectronicsMap::lookup(), HcalElectronicsMap::lookupTrigger(), genParticles_cff::map, FEDNumbering::MINHCALuTCAFEDID, eostools::move(), UHTRpacker::newUHTR(), packHBTDC_, premix_, hcalTTPDigis_cfi::presamples, QIE11DataFrame::presamples(), QIE10DataFrame::presamples(), l1tstage2_dqm_sourceclient-live_cfg::rawData, DetId::rawId(), FEDHeader::set(), FEDTrailer::set(), edm::DataFrameContainer::size(), tdc1_, tdc2_, tdcmax_, tok_HBHEDigiCollection_, tok_HFDigiCollection_, tok_QIE10DigiCollection_, tok_QIE11DigiCollection_, tok_TPDigiCollection_, EcalDeadCellTriggerPrimitiveFilter_cfi::tpDigiCollection, and UHTRpacker::uhtrs.