LArRawInputDriverLongBo.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 /// \file LArRawInputDriver.h
3 /// \brief Source to convert raw binary files to root files for Long Bo TPC
4 ///
5 /// \author brebel@fnal.gov, soderber@fnal.gov
6 ////////////////////////////////////////////////////////////////////////
7 
9 
10 #include <string>
11 #include <vector>
12 
13 namespace art {
14  class EventPrincipal;
15  class FileBlock;
16  class ProductRegistryHelper;
17  class RunPrincipal;
18  class SourceHelper;
19  class SubRunPrincipal;
20 }
21 namespace fhicl { class ParameterSet; }
22 
23 ///Conversion of binary data to root files
24 namespace lris {
25  class LArRawInputDriverLongBo;
26 }
27 
29  /// Class to fill the constraints on a template argument to the class,
30  /// FileReaderSource
31  public:
32  // Required constructor
35  art::SourceHelper const &pm);
36 
37  // Required by FileReaderSource:
38  void closeCurrentFile();
39  void readFile(std::string const &name,
40  art::FileBlock* &fb);
41  bool readNext(art::RunPrincipal* const &inR,
42  art::SubRunPrincipal* const &inSR,
43  art::RunPrincipal* &outR,
44  art::SubRunPrincipal* &outSR,
45  art::EventPrincipal* &outE);
46 
47  private:
48  // --- data members:
49  typedef std::vector<std::string> stringvec_t;
50 
53  stringvec_t inputfiles_;
57 }; // LArRawInputDriverLongBo
static QCString name
Definition: declinfo.cpp:673
std::string string
Definition: nybbler.cc:12
std::vector< std::string > stringvec_t
stringvec_t::const_iterator nextfile_
intermediate_table::const_iterator const_iterator
art::SourceHelper const & principalMaker_
void readFile(string fileName, string &content)
Definition: test_suite.cc:16
Conversion of binary data to root files.
stringvec_t::const_iterator filesdone_