|
virtual void | produce (edm::Event &, const edm::EventSetup &) override |
|
| TotemTriggerRawToDigi (const edm::ParameterSet &) |
|
| ~TotemTriggerRawToDigi () |
|
| EDProducer ()=default |
|
| EDProducerBase () |
|
ModuleDescription const & | moduleDescription () const |
|
virtual | ~EDProducerBase () |
|
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) |
|
|
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 |
|
typedef EDProducerAdaptorBase | ModuleType |
|
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
|
typedef ProductLabels | Labels |
|
static const std::string & | baseType () |
|
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
|
static void | prevalidate (ConfigurationDescriptions &descriptions) |
|
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 27 of file TotemTriggerRawToDigi.cc.
int TotemTriggerRawToDigi::ProcessLoneGFrame |
( |
uint64_t * |
oBuf, |
|
|
unsigned long |
size, |
|
|
TotemTriggerCounters & |
data |
|
) |
| |
|
private |
Process one LoneG frame.
Definition at line 92 of file TotemTriggerRawToDigi.cc.
References TotemTriggerCounters::bunch_num, cuy::col, DEFINE_FWK_MODULE, TotemTriggerCounters::event_num, mps_fire::i, TotemTriggerCounters::inhibited_triggers_num, TotemTriggerCounters::input_status_bits, TotemTriggerCounters::orbit_num, TotemTriggerCounters::revision_num, TotemTriggerCounters::run_num, TotemTriggerCounters::src_id, TotemTriggerCounters::trigger_num, and TotemTriggerCounters::type.
Referenced by produce().
96 LogError(
"Totem") <<
"Error in TotemTriggerRawToDigi::ProcessLoneGFrame > " <<
97 "Wrong LoneG frame size: " <<
size <<
" (shall be 20)." << endl;
103 for (
unsigned int i = 0;
i < 5;
i++)
106 for (
unsigned int i = 0;
i < 20;
i++)
110 buf[row] |= (oBuf[
i] & 0xFFFF) << (col * 16);
113 td.type = (buf[0] >> 56) & 0xF;
114 td.event_num = (buf[0] >> 32) & 0xFFFFFF;
115 td.bunch_num = (buf[0] >> 20) & 0xFFF;
116 td.src_id = (buf[0] >> 8) & 0xFFF;
118 td.orbit_num = (buf[1] >> 32) & 0xFFFFFFFF;
119 td.revision_num = (buf[1] >> 24) & 0xFF;
121 td.run_num = (buf[2] >> 32) & 0xFFFFFFFF;
122 td.trigger_num = (buf[2] >> 0) & 0xFFFFFFFF;
124 td.inhibited_triggers_num = (buf[3] >> 32) & 0xFFFFFFFF;
125 td.input_status_bits = (buf[3] >> 0) & 0xFFFFFFFF;
128 printf(
">> RawDataUnpacker::ProcessLoneGFrame > size = %li\n",
size);
129 printf(
"\ttype = %x, event number = %x, bunch number = %x, id = %x\n",
130 td.type, td.event_num, td.bunch_num, td.src_id);
131 printf(
"\torbit number = %x, revision = %x\n",
132 td.orbit_num, td.revision_num);
133 printf(
"\trun number = %x, trigger number = %x\n",
134 td.run_num, td.trigger_num);
135 printf(
"\tinhibited triggers = %x, input status bits = %x\n",
136 td.inhibited_triggers_num, td.input_status_bits);
unsigned long long uint64_t