#include <DTTFFEDSim.h>
Public Member Functions | |
DTTFFEDSim (const edm::ParameterSet &pset) | |
Constructor. More... | |
bool | fillRawData (edm::Event &e, 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... | |
~DTTFFEDSim () 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 | |
int | bxNr (int channel) |
int | channel (int wheel, int sector, int bx) |
edm::InputTag | getDTDigiInputTag () |
edm::InputTag | getDTPHTFInputTag () |
int | sector (int channel) |
int | wheel (int channel) |
Private Attributes | |
edm::EDGetTokenT < L1MuDTChambPhContainer > | ChPh_tok |
edm::EDGetTokenT < L1MuDTChambThContainer > | ChTh_tok |
edm::InputTag | DTDigiInputTag |
edm::InputTag | DTPHTFInputTag |
unsigned int | eventNum |
edm::EDGetTokenT < L1MuDTTrackContainer > | Trk_tok |
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 |
DTTFFEDSim::DTTFFEDSim | ( | const edm::ParameterSet & | pset | ) |
Constructor.
Definition at line 26 of file DTTFFEDSim.cc.
References ChPh_tok, ChTh_tok, DTDigiInputTag, DTPHTFInputTag, edm::ParameterSet::getParameter(), and Trk_tok.
|
override |
|
private |
|
private |
Definition at line 246 of file DTTFFEDSim.cc.
References funct::abs().
Referenced by bxNr(), fillRawData(), sector(), and wheel().
bool DTTFFEDSim::fillRawData | ( | edm::Event & | e, |
FEDRawDataCollection & | data | ||
) |
Generate and fill FED raw data for a full event.
Definition at line 50 of file DTTFFEDSim.cc.
References dt_crc::calcCRC(), channel(), ChPh_tok, ChTh_tok, FEDRawData::data(), edm::EventID::event(), eventNum, FEDRawDataCollection::FEDData(), edm::Event::getByToken(), edm::EventBase::id(), groupFilesInBlocks::lines, FEDRawData::resize(), and Trk_tok.
Referenced by produce().
|
inlineprivate |
|
inlineprivate |
|
override |
Produce digis out of raw data.
Definition at line 39 of file DTTFFEDSim.cc.
References data, fillRawData(), eostools::move(), and edm::Event::put().
|
private |
Definition at line 287 of file DTTFFEDSim.cc.
References channel().
Referenced by geometryXMLparser.DTAlignable::index().
|
private |
Definition at line 300 of file DTTFFEDSim.cc.
References channel().
Referenced by geometryXMLparser.DTAlignable::index().
|
private |
Definition at line 61 of file DTTFFEDSim.h.
Referenced by DTTFFEDSim(), and fillRawData().
|
private |
Definition at line 62 of file DTTFFEDSim.h.
Referenced by DTTFFEDSim(), and fillRawData().
|
private |
Definition at line 46 of file DTTFFEDSim.h.
Referenced by DTTFFEDSim(), and getDTDigiInputTag().
|
private |
Definition at line 47 of file DTTFFEDSim.h.
Referenced by DTTFFEDSim(), and getDTPHTFInputTag().
|
private |
Definition at line 44 of file DTTFFEDSim.h.
Referenced by fillRawData().
|
private |
Definition at line 63 of file DTTFFEDSim.h.
Referenced by DTTFFEDSim(), and fillRawData().