#include <DTuROSDigiToRaw.h>
Public Member Functions | |
DTuROSDigiToRaw (const edm::ParameterSet &pset) | |
Constructor. More... | |
bool | fillRawData (edm::Event &e, const edm::EventSetup &c, FEDRawDataCollection &data) |
Generate and fill FED raw data for a full event. More... | |
void | produce (edm::Event &e, const edm::EventSetup &c) override |
Produce digis out of raw data. More... | |
~DTuROSDigiToRaw () override | |
Destructor. More... | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
EDProducer (const EDProducer &)=delete | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
const EDProducer & | operator= (const EDProducer &)=delete |
Private Member Functions | |
void | clear () |
edm::InputTag | getDTDigiInputTag () |
void | process (int DTuROSFED, edm::Handle< DTDigiCollection > digis, edm::ESHandle< DTReadOutMapping > mapping, FEDRawDataCollection &data) |
int | theCRT (int ddu, int ros) |
int | theLNK (int ddu, int ros, int rob) |
int | theSLT (int ddu, int ros, int rob) |
Private Attributes | |
int | bslts [DOCESLOTS] |
bool | debug_ |
int | dslts [DOCESLOTS] |
edm::InputTag | DTDigiInputTag_ |
unsigned int | eventNum |
std::vector< int > | feds_ |
edm::ESGetToken< DTReadOutMapping, DTReadOutMappingRcd > | mapping_token_ |
int | nfeds_ |
edm::EDGetTokenT< DTDigiCollection > | Raw_token |
std::vector< int > | wslts [DOCESLOTS] |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
using | CacheTypes = CacheContexts< T... > |
using | GlobalCache = typename CacheTypes::GlobalCache |
using | HasAbility = AbilityChecker< T... > |
using | InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache |
using | LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache |
using | LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > |
using | LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache |
using | RunCache = typename CacheTypes::RunCache |
using | RunContext = RunContextT< RunCache, GlobalCache > |
using | RunSummaryCache = typename CacheTypes::RunSummaryCache |
DTuROSDigiToRaw::DTuROSDigiToRaw | ( | const edm::ParameterSet & | pset | ) |
Constructor.
Definition at line 24 of file DTuROSDigiToRaw.cc.
References debug_, DTDigiInputTag_, feds_, mps_fire::i, mapping_token_, FEDNumbering::MAXDTUROSFEDID, FEDNumbering::MINDTUROSFEDID, nfeds_, muonDTDigis_cfi::pset, and Raw_token.
|
override |
|
private |
bool DTuROSDigiToRaw::fillRawData | ( | edm::Event & | e, |
const edm::EventSetup & | c, | ||
FEDRawDataCollection & | data | ||
) |
Generate and fill FED raw data for a full event.
Definition at line 53 of file DTuROSDigiToRaw.cc.
References c, data, MillePedeFileConverter_cfg::e, eventNum, feds_, taus_updatedMVAIds_cff::mapping, mapping_token_, nfeds_, process(), and Raw_token.
Referenced by produce().
|
inlineprivate |
|
private |
Definition at line 68 of file DTuROSDigiToRaw.cc.
References bslts, dt_crc::calcCRC(), clear(), FEDRawData::data(), data, DOCESLOTS, dslts, eventNum, DTLayerId::layer(), groupFilesInBlocks::lines, MainPageGenerator::link, taus_updatedMVAIds_cff::mapping, FEDRawData::resize(), DTChamberId::sector(), DTChamberId::station(), DTSuperLayerId::superlayer(), theCRT(), theLNK(), theSLT(), DTChamberId::wheel(), and wslts.
Referenced by fillRawData().
|
override |
Produce digis out of raw data.
Definition at line 42 of file DTuROSDigiToRaw.cc.
References c, data, MillePedeFileConverter_cfg::e, fillRawData(), and eostools::move().
|
private |
Definition at line 288 of file DTuROSDigiToRaw.cc.
References FEDNumbering::MAXDTUROSFEDID, and FEDNumbering::MINDTUROSFEDID.
Referenced by process().
|
private |
Definition at line 315 of file DTuROSDigiToRaw.cc.
References MainPageGenerator::link.
Referenced by process().
|
private |
|
private |
Definition at line 62 of file DTuROSDigiToRaw.h.
|
private |
Definition at line 56 of file DTuROSDigiToRaw.h.
Referenced by DTuROSDigiToRaw().
|
private |
Definition at line 62 of file DTuROSDigiToRaw.h.
|
private |
Definition at line 54 of file DTuROSDigiToRaw.h.
Referenced by DTuROSDigiToRaw(), and getDTDigiInputTag().
|
private |
Definition at line 52 of file DTuROSDigiToRaw.h.
Referenced by fillRawData(), and process().
|
private |
Definition at line 60 of file DTuROSDigiToRaw.h.
Referenced by DTuROSDigiToRaw(), and fillRawData().
|
private |
Definition at line 87 of file DTuROSDigiToRaw.h.
Referenced by DTuROSDigiToRaw(), and fillRawData().
|
private |
Definition at line 58 of file DTuROSDigiToRaw.h.
Referenced by DTuROSDigiToRaw(), and fillRawData().
|
private |
Definition at line 86 of file DTuROSDigiToRaw.h.
Referenced by DTuROSDigiToRaw(), and fillRawData().
|
private |
Definition at line 64 of file DTuROSDigiToRaw.h.