CMS 3D CMS Logo

WatcherStreamFileReader.h
Go to the documentation of this file.
1 #ifndef IOPool_Streamer_StreamerFileReader_h
2 #define IOPool_Streamer_StreamerFileReader_h
3 
6 
8 
9 #include <string>
10 #include <iostream>
11 #include <deque>
12 
22 namespace edm {
23  class StreamerInputFile;
24 }
25 
27 public:
30 
31  const InitMsgView* getHeader();
32  const EventMsgView* getNextEvent();
33  const bool newHeader();
34 
36 
37  void closeFile();
38 
39 private:
43 
46  std::vector<std::string> filePatterns_;
47 
51 
55 
59 
62  std::unique_ptr<edm::StreamerInputFile> streamerInputFile_;
63 
65 
67 
68  int timeOut_;
69 
70  std::deque<std::string> filesInQueue_;
71 
72  bool end_;
73 
75 
77 
79 };
80 
81 #endif
WatcherStreamFileReader::getNextEvent
const EventMsgView * getNextEvent()
Definition: WatcherStreamFileReader.cc:210
WatcherStreamFileReader::~WatcherStreamFileReader
~WatcherStreamFileReader()
Definition: WatcherStreamFileReader.cc:186
WatcherStreamFileReader::fileName_
std::string fileName_
Definition: WatcherStreamFileReader.h:64
WatcherStreamFileReader::filePatterns_
std::vector< std::string > filePatterns_
Definition: WatcherStreamFileReader.h:46
WatcherStreamFileReader::closeFile
void closeFile()
Definition: WatcherStreamFileReader.cc:393
WatcherStreamFileReader::filesInQueue_
std::deque< std::string > filesInQueue_
Definition: WatcherStreamFileReader.h:70
edm
HLT enums.
Definition: AlignableModifier.h:19
WatcherStreamFileReader::newHeader
const bool newHeader()
Definition: WatcherStreamFileReader.cc:188
WatcherStreamFileReader::corruptedDir_
std::string corruptedDir_
Definition: WatcherStreamFileReader.h:58
WatcherStreamFileReader::inprocessDir_
std::string inprocessDir_
Definition: WatcherStreamFileReader.h:50
WatcherStreamFileReader::curDir_
std::string curDir_
Definition: WatcherStreamFileReader.h:78
InitMessage.h
EventMsgView
Definition: EventMessage.h:72
WatcherStreamFileReader::timeOut_
int timeOut_
Definition: WatcherStreamFileReader.h:68
WatcherStreamFileReader::verbosity_
int verbosity_
Definition: WatcherStreamFileReader.h:74
edm::StreamerInputFile
Definition: StreamerInputFile.h:19
WatcherStreamFileReader::WatcherStreamFileReader
WatcherStreamFileReader(edm::ParameterSet const &pset)
Definition: WatcherStreamFileReader.cc:114
WatcherStreamFileReader::fileListCmd_
std::string fileListCmd_
Definition: WatcherStreamFileReader.h:76
WatcherStreamFileReader::getHeader
const InitMsgView * getHeader()
Definition: WatcherStreamFileReader.cc:193
WatcherStreamFileReader::processedDir_
std::string processedDir_
Definition: WatcherStreamFileReader.h:54
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition: ParameterSet.h:47
WatcherStreamFileReader::getInputFile
edm::StreamerInputFile * getInputFile()
Definition: WatcherStreamFileReader.cc:226
WatcherStreamFileReader::streamerInputFile_
std::unique_ptr< edm::StreamerInputFile > streamerInputFile_
Definition: WatcherStreamFileReader.h:62
WatcherStreamFileReader
Definition: WatcherStreamFileReader.h:26
WatcherStreamFileReader::end_
bool end_
Definition: WatcherStreamFileReader.h:72
EventMessage.h
ParameterSet.h
WatcherStreamFileReader::tokenFile_
std::string tokenFile_
Definition: WatcherStreamFileReader.h:66
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
InitMsgView
Definition: InitMessage.h:61
WatcherStreamFileReader::inputDir_
std::string inputDir_
Definition: WatcherStreamFileReader.h:42