CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TestFileReader.h
Go to the documentation of this file.
1 #ifndef IOPool_Streamer_TestFileReader_h
2 #define IOPool_Streamer_TestFileReader_h
3 
6 
8 
9 #include "boost/shared_ptr.hpp"
10 
11 #include <vector>
12 #include <memory>
13 #include <string>
14 #include <fstream>
15 
16 namespace edmtestp {
18  public:
19  TestFileReader(std::string const& filename, edm::EventBuffer& to,
20  edm::ProductRegistry& prods);
21  virtual ~TestFileReader();
22 
23  void start();
24  void join();
25 
26  private:
27  void readEvents();
28  static void run(TestFileReader*);
29 
30  std::string filename_;
31  boost::shared_ptr<edm::StreamerInputFile> streamReader_;
32  //std::ifstream ist_;
33  //edm::EventReader reader_;
35  boost::shared_ptr<boost::thread> me_;
36  };
37 
38 }
39 
40 #endif
41 
boost::shared_ptr< edm::StreamerInputFile > streamReader_
boost::shared_ptr< boost::thread > me_
TestFileReader(std::string const &filename, edm::EventBuffer &to, edm::ProductRegistry &prods)
edm::EventBuffer & to_
author Stefano ARGIRO author Bill Tanenbaum
tuple filename
Definition: lut2db_cfg.py:20
static void run(TestFileReader *)