Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
IOPool
Streamer
interface
FRDEventFileWriter.h
Go to the documentation of this file.
1
#ifndef IOPool_Streamer_FRDEventFileWriter_h
2
#define IOPool_Streamer_FRDEventFileWriter_h
3
4
5
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
6
#include "
IOPool/Streamer/interface/FRDEventMessage.h
"
7
8
#include <fstream>
9
10
class
FRDEventFileWriter
11
{
12
public
:
13
14
explicit
FRDEventFileWriter
(
edm::ParameterSet
const
& ps);
15
explicit
FRDEventFileWriter
(
std::string
const
&
fileName
);
16
~FRDEventFileWriter
();
17
18
void
doOutputEvent
(
FRDEventMsgView
const
&
msg
);
19
void
doOutputEventFragment
(
unsigned
char
* dataPtr,
20
unsigned
long
dataSize);
21
22
uint32
adler32
()
const
{
return
(
adlerb_
<< 16) |
adlera_
; }
23
24
void
start
() {}
25
void
stop
() {}
26
27
private
:
28
29
void
initialize
(
std::string
const
&
name
);
30
31
std::auto_ptr<std::ofstream>
ost_
;
32
std::string
fileName_
;
33
34
uint32
adlera_
;
35
uint32
adlerb_
;
36
37
};
38
#endif
FRDEventFileWriter::stop
void stop()
Definition:
FRDEventFileWriter.h:25
FRDEventMsgView
Definition:
FRDEventMessage.h:63
FRDEventFileWriter::adlerb_
uint32 adlerb_
Definition:
FRDEventFileWriter.h:35
FRDEventFileWriter::FRDEventFileWriter
FRDEventFileWriter(edm::ParameterSet const &ps)
Definition:
FRDEventFileWriter.cc:7
FRDEventFileWriter::ost_
std::auto_ptr< std::ofstream > ost_
Definition:
FRDEventFileWriter.h:31
mergeVDriftHistosByStation.name
string name
Definition:
mergeVDriftHistosByStation.py:77
convertXMLtoSQLite_cfg.fileName
tuple fileName
Definition:
convertXMLtoSQLite_cfg.py:12
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
FRDEventFileWriter::doOutputEventFragment
void doOutputEventFragment(unsigned char *dataPtr, unsigned long dataSize)
Definition:
FRDEventFileWriter.cc:43
ParameterSet.h
FRDEventFileWriter::initialize
void initialize(std::string const &name)
Definition:
FRDEventFileWriter.cc:65
uint32
unsigned int uint32
Definition:
MsgTools.h:13
FRDEventFileWriter::doOutputEvent
void doOutputEvent(FRDEventMsgView const &msg)
Definition:
FRDEventFileWriter.cc:22
FRDEventFileWriter::~FRDEventFileWriter
~FRDEventFileWriter()
Definition:
FRDEventFileWriter.cc:17
FRDEventFileWriter::adler32
uint32 adler32() const
Definition:
FRDEventFileWriter.h:22
FRDEventFileWriter::start
void start()
Definition:
FRDEventFileWriter.h:24
edm::ParameterSet
Definition:
ParameterSet.h:35
lumiQueryAPI.msg
tuple msg
Definition:
lumiQueryAPI.py:1771
FRDEventFileWriter::adlera_
uint32 adlera_
Definition:
FRDEventFileWriter.h:34
FRDEventFileWriter
Definition:
FRDEventFileWriter.h:10
FRDEventFileWriter::fileName_
std::string fileName_
Definition:
FRDEventFileWriter.h:32
FRDEventMessage.h
Generated for CMSSW Reference Manual by
1.8.5