LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
LArRawInputDriver.h
Go to the documentation of this file.
1 
16 
17 #include <fstream>
18 #include <string>
19 #include <vector>
20 
22 namespace lris {
23  class LArRawInputDriver;
24 }
25 
29  public:
30  // Required constructor
33  art::SourceHelper const &pm);
34 
35  // Required by FileReaderSource:
36  void closeCurrentFile();
37  void readFile(std::string const &name,
38  art::FileBlock* &fb);
39  bool readNext(art::RunPrincipal* const &inR,
40  art::SubRunPrincipal* const &inSR,
41  art::RunPrincipal* &outR,
42  art::SubRunPrincipal* &outSR,
43  art::EventPrincipal* &outE);
44 
45  private:
46  // --- data members:
47  typedef std::vector<std::string> stringvec_t;
48 
50  std::string currentDir_;
51  stringvec_t inputfiles_;
55 }; // LArRawInputDriver
art::SubRunID currentSubRunID_
void readFile(std::string const &name, art::FileBlock *&fb)
stringvec_t::const_iterator nextfile_
art::SourceHelper const & principalMaker_
LArRawInputDriver(fhicl::ParameterSet const &pset, art::ProductRegistryHelper &helper, art::SourceHelper const &pm)
intermediate_table::const_iterator const_iterator
TFile fb("Li6.root")
stringvec_t::const_iterator filesdone_
std::vector< std::string > stringvec_t
Conversion of binary data to root files.
bool readNext(art::RunPrincipal *const &inR, art::SubRunPrincipal *const &inSR, art::RunPrincipal *&outR, art::SubRunPrincipal *&outSR, art::EventPrincipal *&outE)