CMS 3D CMS Logo

WatcherStreamFileReader.h
Go to the documentation of this file.
1 #ifndef CalibCalorimetry_EcalLaserSorting_WatcherStreamFileReader_h
2 #define CalibCalorimetry_EcalLaserSorting_WatcherStreamFileReader_h
3 
6 
8 
9 #include <string>
10 #include <iostream>
11 #include <deque>
12 
22 namespace edm::streamer {
23  class StreamerInputFile;
24 }
25 
27 public:
30 
33  const bool newHeader();
34 
36 
37  void closeFile();
38 
39 private:
40  void moveJustReadFile();
44 
47  std::vector<std::string> filePatterns_;
48 
52 
56 
60 
63  std::unique_ptr<edm::streamer::StreamerInputFile> streamerInputFile_;
64 
66 
68 
69  int timeOut_;
70 
71  std::deque<std::string> filesInQueue_;
72 
73  bool end_;
74 
76 };
77 
78 #endif
std::vector< std::string > filePatterns_
const edm::streamer::EventMsgView * getNextEvent()
std::deque< std::string > filesInQueue_
std::unique_ptr< edm::streamer::StreamerInputFile > streamerInputFile_
edm::streamer::StreamerInputFile * getInputFile()
WatcherStreamFileReader(edm::ParameterSet const &pset)
const edm::streamer::InitMsgView * getHeader()