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 };
76 
77 #endif
WatcherStreamFileReader::getNextEvent
const EventMsgView * getNextEvent()
Definition: WatcherStreamFileReader.cc:178
WatcherStreamFileReader::~WatcherStreamFileReader
~WatcherStreamFileReader()
Definition: WatcherStreamFileReader.cc:154
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:395
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:156
WatcherStreamFileReader::corruptedDir_
std::string corruptedDir_
Definition: WatcherStreamFileReader.h:58
WatcherStreamFileReader::inprocessDir_
std::string inprocessDir_
Definition: WatcherStreamFileReader.h:50
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::getHeader
const InitMsgView * getHeader()
Definition: WatcherStreamFileReader.cc:161
WatcherStreamFileReader::processedDir_
std::string processedDir_
Definition: WatcherStreamFileReader.h:54
edm::ParameterSet
Definition: ParameterSet.h:47
WatcherStreamFileReader::getInputFile
edm::StreamerInputFile * getInputFile()
Definition: WatcherStreamFileReader.cc:194
WatcherStreamFileReader::streamerInputFile_
std::unique_ptr< edm::StreamerInputFile > streamerInputFile_
Definition: WatcherStreamFileReader.h:62
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
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