Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
IOPool
Streamer
interface
StreamDQMInputFile.h
Go to the documentation of this file.
1
#ifndef IOPool_Streamer_StreamDQMInputFile_h
2
#define IOPool_Streamer_StreamDQMInputFile_h
3
4
#include "
IOPool/Streamer/interface/DQMEventMessage.h
"
5
6
#include "boost/shared_ptr.hpp"
7
8
#include<string>
9
#include<vector>
10
#include<fstream>
11
12
class
StreamDQMInputFile
13
{
14
public
:
15
17
explicit
StreamDQMInputFile
(
const
std::string&
name
);
18
19
~StreamDQMInputFile
();
20
21
bool
next
() ;
23
const
DQMEventMsgView
*
currentRecord
()
const
{
return
currentEvMsg_
.get(); }
26
private
:
27
28
int
readDQMEventMessage
();
29
30
boost::shared_ptr<DQMEventMsgView>
currentEvMsg_
;
31
std::auto_ptr<std::ifstream>
ist_
;
32
std::vector<char>
eventBuf_
;
33
};
34
35
#endif
StreamDQMInputFile::eventBuf_
std::vector< char > eventBuf_
Definition:
StreamDQMInputFile.h:32
StreamDQMInputFile::currentEvMsg_
boost::shared_ptr< DQMEventMsgView > currentEvMsg_
Definition:
StreamDQMInputFile.h:30
mergeVDriftHistosByStation.name
string name
Definition:
mergeVDriftHistosByStation.py:77
StreamDQMInputFile::ist_
std::auto_ptr< std::ifstream > ist_
Definition:
StreamDQMInputFile.h:31
StreamDQMInputFile::currentRecord
const DQMEventMsgView * currentRecord() const
Definition:
StreamDQMInputFile.h:23
StreamDQMInputFile::StreamDQMInputFile
StreamDQMInputFile(const std::string &name)
Definition:
StreamDQMInputFile.cc:13
StreamDQMInputFile::readDQMEventMessage
int readDQMEventMessage()
Definition:
StreamDQMInputFile.cc:35
StreamDQMInputFile
Definition:
StreamDQMInputFile.h:12
DQMEventMsgView
Definition:
DQMEventMessage.h:74
StreamDQMInputFile::~StreamDQMInputFile
~StreamDQMInputFile()
Definition:
StreamDQMInputFile.cc:8
StreamDQMInputFile::next
bool next()
Definition:
StreamDQMInputFile.cc:26
DQMEventMessage.h
Generated for CMSSW Reference Manual by
1.8.5