#include <L1GtTextToRaw.h>
Public Member Functions | |
L1GtTextToRaw (const edm::ParameterSet &) | |
constructor(s) More... | |
virtual | ~L1GtTextToRaw () |
destructor More... | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
boost::function< void(const BranchDescription &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Private Member Functions | |
virtual void | beginJob () |
beginning of job stuff More... | |
virtual void | cleanTextFile () |
clean the text file, if needed More... | |
virtual void | endJob () |
end of job stuff More... | |
virtual int | getDataSize () |
get the size of the record More... | |
virtual void | produce (edm::Event &, const edm::EventSetup &) |
loop over events More... | |
Private Attributes | |
int | m_daqGtFedId |
FED ID for the system. More... | |
int | m_rawDataSize |
raw event size (including header and trailer) in units of 8 bits More... | |
std::ifstream | m_textFile |
the file itself More... | |
std::string | m_textFileName |
file name for the text file More... | |
std::string | m_textFileType |
file type for the text file More... | |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
typedef WorkerT< EDProducer > | WorkerType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDProducer | |
CurrentProcessingContext const * | currentContext () const |
Protected Member Functions inherited from edm::ProducerBase | |
template<class TProducer , class TMethod > | |
void | callWhenNewProductsRegistered (TProducer *iProd, TMethod iMethod) |
Description: generate raw data from dumped text file.
Implementation: <TODO: enter implementation details>
$Date$ $Revision$
Definition at line 38 of file L1GtTextToRaw.h.
|
explicit |
constructor(s)
Definition at line 42 of file L1GtTextToRaw.cc.
References edm::hlt::Exception, edm::ParameterSet::getUntrackedParameter(), recoMuon::in, LogDebug, m_daqGtFedId, m_rawDataSize, m_textFile, m_textFileName, m_textFileType, and FEDNumbering::MAXTriggerGTPFEDID.
|
virtual |
|
privatevirtual |
beginning of job stuff
Reimplemented from edm::EDProducer.
Definition at line 100 of file L1GtTextToRaw.cc.
References cleanTextFile().
|
privatevirtual |
clean the text file, if needed
Definition at line 108 of file L1GtTextToRaw.cc.
References LogDebug.
Referenced by beginJob().
|
privatevirtual |
end of job stuff
Reimplemented from edm::EDProducer.
Definition at line 216 of file L1GtTextToRaw.cc.
|
privatevirtual |
get the size of the record
Definition at line 120 of file L1GtTextToRaw.cc.
References LogDebug.
Referenced by produce().
|
privatevirtual |
loop over events
Implements edm::EDProducer.
Definition at line 140 of file L1GtTextToRaw.cc.
References FEDRawData::data(), getDataSize(), j, LogDebug, LogTrace, m_daqGtFedId, m_rawDataSize, m_textFile, edm::Event::put(), FEDRawData::resize(), and FEDRawData::size().
Referenced by python.JSONExport.JsonExport::export(), and python.HTMLExport.HTMLExport::export().
|
private |
FED ID for the system.
Definition at line 78 of file L1GtTextToRaw.h.
Referenced by L1GtTextToRaw(), and produce().
|
private |
raw event size (including header and trailer) in units of 8 bits
Definition at line 75 of file L1GtTextToRaw.h.
Referenced by L1GtTextToRaw(), and produce().
|
private |
the file itself
Definition at line 81 of file L1GtTextToRaw.h.
Referenced by L1GtTextToRaw(), and produce().
|
private |
file name for the text file
Definition at line 72 of file L1GtTextToRaw.h.
Referenced by L1GtTextToRaw().
|
private |
file type for the text file
Definition at line 69 of file L1GtTextToRaw.h.
Referenced by L1GtTextToRaw().