LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
LArRawInputDriver.h
Go to the documentation of this file.
1
8
#include "
canvas/Persistency/Provenance/SubRunID.h
"
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
30
class
lris::LArRawInputDriver
{
33
public
:
34
// Required constructor
35
LArRawInputDriver
(
fhicl::ParameterSet
const
& pset,
36
art::ProductRegistryHelper
& helper,
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
52
art::SourceHelper
const
&
principalMaker_
;
53
std::string
currentDir_
;
54
stringvec_t
inputfiles_
;
55
stringvec_t::const_iterator
nextfile_
;
56
stringvec_t::const_iterator
filesdone_
;
57
art::SubRunID
currentSubRunID_
;
58
};
// LArRawInputDriver
SubRunID.h
art::RunPrincipal
Definition:
RunPrincipal.h:16
lris::LArRawInputDriver
Definition:
LArRawInputDriver.h:30
lris::LArRawInputDriver::currentSubRunID_
art::SubRunID currentSubRunID_
Definition:
LArRawInputDriver.h:57
art::SubRunID
Definition:
SubRunID.h:19
lris::LArRawInputDriver::nextfile_
stringvec_t::const_iterator nextfile_
Definition:
LArRawInputDriver.h:55
const_iterator
intermediate_table::const_iterator const_iterator
Definition:
intermediate_table.cc:28
art::ProductRegistryHelper
Definition:
ProductRegistryHelper.h:39
lris::LArRawInputDriver::principalMaker_
art::SourceHelper const & principalMaker_
Definition:
LArRawInputDriver.h:52
fhicl
parameter set interface
Definition:
BeamFlashTrackMatchTaggerAlg.h:17
art::SubRunPrincipal
Definition:
SubRunPrincipal.h:16
lris::LArRawInputDriver::inputfiles_
stringvec_t inputfiles_
Definition:
LArRawInputDriver.h:54
lris::LArRawInputDriver::filesdone_
stringvec_t::const_iterator filesdone_
Definition:
LArRawInputDriver.h:56
fb
TFile fb("Li6.root")
lris::LArRawInputDriver::stringvec_t
std::vector< std::string > stringvec_t
Definition:
LArRawInputDriver.h:50
lris::LArRawInputDriver::currentDir_
std::string currentDir_
Definition:
LArRawInputDriver.h:53
lris
Conversion of binary data to root files.
Definition:
LArRawInputDriver.cxx:213
art::EventPrincipal
Definition:
EventPrincipal.h:17
art
Definition:
MVAAlg.h:12
art::FileBlock
Definition:
FileBlock.h:17
art::SourceHelper
Definition:
SourceHelper.h:30
fhicl::ParameterSet
Definition:
ParameterSet.h:36
lardata
v09_16_03
source
lardata
RawData
utils
LArRawInputDriver.h
Generated on Thu May 2 2024 20:59:35 for LArSoft by
1.8.11