LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
LArRawInputDriver.h
Go to the documentation of this file.
1 
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 {
22  class ParameterSet;
23 }
24 
26 namespace lris {
27  class LArRawInputDriver;
28 }
29 
33 public:
34  // Required constructor
37  art::SourceHelper const& pm);
38 
39  // Required by FileReaderSource:
40  void closeCurrentFile();
41  void readFile(std::string const& name, art::FileBlock*& fb);
42  bool readNext(art::RunPrincipal* const& inR,
43  art::SubRunPrincipal* const& inSR,
44  art::RunPrincipal*& outR,
45  art::SubRunPrincipal*& outSR,
46  art::EventPrincipal*& outE);
47 
48 private:
49  // --- data members:
50  typedef std::vector<std::string> stringvec_t;
51 
53  std::string currentDir_;
54  stringvec_t inputfiles_;
58 }; // LArRawInputDriver
art::SubRunID currentSubRunID_
stringvec_t::const_iterator nextfile_
intermediate_table::const_iterator const_iterator
art::SourceHelper const & principalMaker_
parameter set interface
stringvec_t::const_iterator filesdone_
TFile fb("Li6.root")
std::vector< std::string > stringvec_t
Conversion of binary data to root files.
Definition: MVAAlg.h:12