#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 | |
bool | hasAbilityToProduceInLumis () const final |
bool | hasAbilityToProduceInRuns () const final |
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_ |
int | nfeds_ |
edm::EDGetTokenT< DTDigiCollection > | Raw_token |
std::vector< int > | wslts [DOCESLOTS] |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
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 |
DTuROSDigiToRaw::DTuROSDigiToRaw | ( | const edm::ParameterSet & | pset | ) |
Constructor.
Definition at line 27 of file DTuROSDigiToRaw.cc.
References debug_, DTDigiInputTag_, feds_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), mps_fire::i, FEDNumbering::MAXDTUROSFEDID, FEDNumbering::MINDTUROSFEDID, nfeds_, and Raw_token.
|
override |
|
private |
Definition at line 305 of file DTuROSDigiToRaw.cc.
References bslts, DOCESLOTS, dslts, and wslts.
Referenced by Vispa.Views.WidgetView.WidgetView::closeEvent(), Vispa.Views.BoxDecayView.BoxDecayView::closeEvent(), Vispa.Share.FindAlgorithm.FindAlgorithm::findUsingFindDialog(), process(), Vispa.Views.LineDecayView.LineDecayView::setDataObjects(), Vispa.Views.WidgetView.WidgetView::setDataObjects(), Vispa.Views.TreeView.TreeView::updateContent(), Vispa.Views.TableView.TableView::updateContent(), Vispa.Views.BoxDecayView.BoxDecayView::updateContent(), and Vispa.Views.PropertyView.PropertyView::updateContent().
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 61 of file DTuROSDigiToRaw.cc.
References edm::EventID::event(), eventNum, feds_, edm::EventSetup::get(), edm::Event::getByToken(), edm::EventBase::id(), taus_updatedMVAIds_cff::mapping, nfeds_, process(), and Raw_token.
Referenced by produce().
|
inlineprivate |
|
private |
Definition at line 79 of file DTuROSDigiToRaw.cc.
References bslts, dt_crc::calcCRC(), clear(), FEDRawData::data(), DOCESLOTS, dslts, eventNum, FEDRawDataCollection::FEDData(), DTReadOutMapping::geometryToReadOut(), DTLayerId::layer(), groupFilesInBlocks::lines, FEDRawData::resize(), DTChamberId::sector(), DTChamberId::station(), DTSuperLayerId::superlayer(), theCRT(), theLNK(), theSLT(), DTChamberId::wheel(), and wslts.
Referenced by ConfigBuilder.ConfigBuilder::addExtraStream(), ConfigBuilder.ConfigBuilder::completeInputCommand(), ConfigBuilder.ConfigBuilder::doNotInlineEventContent(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::dumpPython(), fillRawData(), ConfigBuilder.ConfigBuilder.PrintAllModules::leave(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::open(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::outputEventContent(), ConfigBuilder.ConfigBuilder::prepare(), ConfigBuilder.ConfigBuilder::prepare_ALCA(), ConfigBuilder.ConfigBuilder::prepare_DQM(), ConfigBuilder.ConfigBuilder::prepare_HLT(), ConfigBuilder.ConfigBuilder::prepare_LHE(), ConfigBuilder.ConfigBuilder::prepare_PATFILTER(), ConfigBuilder.ConfigBuilder::prepare_VALIDATION(), ConfigBuilder.ConfigBuilder::renameHLTprocessInSequence(), ConfigBuilder.ConfigBuilder::renameInputTagsInSequence(), ConfigBuilder.ConfigBuilder::scheduleSequence(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::setProcess(), and Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::setProperty().
|
override |
Produce digis out of raw data.
Definition at line 48 of file DTuROSDigiToRaw.cc.
References data, fillRawData(), eostools::move(), and edm::Event::put().
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
|
private |
Definition at line 318 of file DTuROSDigiToRaw.cc.
References FEDNumbering::MAXDTUROSFEDID, and FEDNumbering::MINDTUROSFEDID.
Referenced by process().
|
private |
Definition at line 341 of file DTuROSDigiToRaw.cc.
References DEFINE_FWK_MODULE.
Referenced by process().
|
private |
Definition at line 329 of file DTuROSDigiToRaw.cc.
Referenced by process().
|
private |
Definition at line 63 of file DTuROSDigiToRaw.h.
|
private |
Definition at line 57 of file DTuROSDigiToRaw.h.
Referenced by DTuROSDigiToRaw().
|
private |
Definition at line 63 of file DTuROSDigiToRaw.h.
|
private |
Definition at line 55 of file DTuROSDigiToRaw.h.
Referenced by DTuROSDigiToRaw(), and getDTDigiInputTag().
|
private |
Definition at line 53 of file DTuROSDigiToRaw.h.
Referenced by fillRawData(), and process().
|
private |
Definition at line 61 of file DTuROSDigiToRaw.h.
Referenced by DTuROSDigiToRaw(), and fillRawData().
|
private |
Definition at line 59 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 65 of file DTuROSDigiToRaw.h.