#include <GctDigiToPsbText.h>
Public Member Functions | |
GctDigiToPsbText (const edm::ParameterSet &) | |
~GctDigiToPsbText () | |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Private Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
Private Attributes | |
std::ofstream | fdebug |
handle for debug file More... | |
std::ofstream | m_file [4] |
handles for output files More... | |
edm::InputTag | m_gctInputLabel |
label for input digis More... | |
bool | m_hexUpperCase |
write upper case hex words More... | |
std::string | m_textFileName |
basename for output files More... | |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
typedef WorkerT< EDAnalyzer > | WorkerType |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions inherited from edm::EDAnalyzer | |
CurrentProcessingContext const * | currentContext () const |
Definition at line 24 of file GctDigiToPsbText.h.
|
explicit |
open output text files
Definition at line 8 of file GctDigiToPsbText.cc.
References edm::hlt::Exception, convertXMLtoSQLite_cfg::fileName, i, m_file, m_textFileName, and dbtoconf::out.
GctDigiToPsbText::~GctDigiToPsbText | ( | ) |
close files
Definition at line 28 of file GctDigiToPsbText.cc.
|
privatevirtual |
buffer
flush data to files
Implements edm::EDAnalyzer.
Definition at line 36 of file GctDigiToPsbText.cc.
References cycle, data, edm::Event::getByLabel(), i, compare_using_db::ifile, j, edm::InputTag::label(), m_file, m_gctInputLabel, and m_hexUpperCase.
|
private |
handle for debug file
Definition at line 47 of file GctDigiToPsbText.h.
|
private |
handles for output files
Definition at line 44 of file GctDigiToPsbText.h.
Referenced by analyze(), GctDigiToPsbText(), and ~GctDigiToPsbText().
|
private |
|
private |
write upper case hex words
Definition at line 41 of file GctDigiToPsbText.h.
Referenced by analyze().
|
private |
basename for output files
Definition at line 38 of file GctDigiToPsbText.h.
Referenced by GctDigiToPsbText().