#include <L1Trigger/TextToDigi/src/RctTextToRctDigi.h>
Public Member Functions | |
RctTextToRctDigi (const edm::ParameterSet &) | |
~RctTextToRctDigi () | |
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 | |
void | bxSynchro (int &, int) |
Synchronize bunch crossing. More... | |
virtual void | produce (edm::Event &, const edm::EventSetup &) |
void | putEmptyDigi (edm::Event &) |
Create empty digi collection. More... | |
Private Attributes | |
std::ifstream | m_file [18] |
file handle More... | |
int | m_fileEventOffset |
Number of events to be offset wrt input. More... | |
int | m_nevt |
Event counter. More... | |
std::string | m_textFileName |
Name out input 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) |
static void | prevalidate (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: Makes RCT digis from the file format specified by Pam Klabbers
Definition at line 40 of file RctTextToRctDigi.h.
|
explicit |
Definition at line 42 of file RctTextToRctDigi.cc.
References convertXMLtoSQLite_cfg::fileName, i, recoMuon::in, LogDebug, m_file, m_textFileName, and NUM_RCT_CRATES.
RctTextToRctDigi::~RctTextToRctDigi | ( | ) |
|
private |
Synchronize bunch crossing.
Syncronize bunch crossing number/n.
Definition at line 95 of file RctTextToRctDigi.cc.
References edm::hlt::Exception, j, m_file, m_fileEventOffset, m_nevt, and tmp.
Referenced by produce().
|
privatevirtual |
Synchronize bunch crossing
Implements edm::EDProducer.
Definition at line 111 of file RctTextToRctDigi.cc.
References bxSynchro(), edm::hlt::Exception, i, j, LogDebug, m_file, m_fileEventOffset, m_nevt, m_textFileName, NUM_RCT_CRATES, edm::Event::put(), putEmptyDigi(), and tmp.
|
private |
Create empty digi collection.
Append empty digi collection/n.
Definition at line 77 of file RctTextToRctDigi.cc.
References i, j, NUM_RCT_CRATES, and edm::Event::put().
Referenced by produce().
|
private |
file handle
Definition at line 64 of file RctTextToRctDigi.h.
Referenced by bxSynchro(), produce(), RctTextToRctDigi(), and ~RctTextToRctDigi().
|
private |
Number of events to be offset wrt input.
Definition at line 58 of file RctTextToRctDigi.h.
Referenced by bxSynchro(), and produce().
|
private |
Event counter.
Definition at line 61 of file RctTextToRctDigi.h.
Referenced by bxSynchro(), and produce().
|
private |
Name out input file.
Definition at line 55 of file RctTextToRctDigi.h.
Referenced by produce(), and RctTextToRctDigi().