LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
LArRawInputDriverLongBo.h
Go to the documentation of this file.
1
8
#include "
fhiclcpp/ParameterSet.h
"
9
#include "
art/Framework/Core/ProductRegistryHelper.h
"
10
#include "
art/Framework/IO/Sources/SourceHelper.h
"
11
#include "
art/Framework/Core/FileBlock.h
"
12
#include "
art/Framework/Principal/RunPrincipal.h
"
13
#include "
art/Framework/Principal/SubRunPrincipal.h
"
14
#include "
art/Framework/Principal/EventPrincipal.h
"
15
#include "
canvas/Persistency/Provenance/SubRunID.h
"
16
17
#include <fstream>
18
#include <string>
19
#include <vector>
20
22
namespace
lris
{
23
class
LArRawInputDriverLongBo;
24
}
25
26
class
lris::LArRawInputDriverLongBo
{
29
public
:
30
// Required constructor
31
LArRawInputDriverLongBo
(
fhicl::ParameterSet
const
&pset,
32
art::ProductRegistryHelper
&helper,
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
49
art::SourceHelper
const
&
principalMaker_
;
50
std::string
currentDir_
;
51
stringvec_t
inputfiles_
;
52
stringvec_t::const_iterator
nextfile_
;
53
stringvec_t::const_iterator
filesdone_
;
54
art::SubRunID
currentSubRunID_
;
55
};
// LArRawInputDriverLongBo
lris::LArRawInputDriverLongBo::closeCurrentFile
void closeCurrentFile()
Definition:
LArRawInputDriverLongBo.cxx:284
SubRunID.h
art::RunPrincipal
Definition:
RunPrincipal.h:28
art::SubRunID
Definition:
SubRunID.h:17
lris::LArRawInputDriverLongBo::stringvec_t
std::vector< std::string > stringvec_t
Definition:
LArRawInputDriverLongBo.h:47
RunPrincipal.h
lris::LArRawInputDriverLongBo::currentDir_
std::string currentDir_
Definition:
LArRawInputDriverLongBo.h:50
lris::LArRawInputDriverLongBo::nextfile_
stringvec_t::const_iterator nextfile_
Definition:
LArRawInputDriverLongBo.h:52
art::ProductRegistryHelper
Definition:
ProductRegistryHelper.h:81
lris::LArRawInputDriverLongBo::principalMaker_
art::SourceHelper const & principalMaker_
Definition:
LArRawInputDriverLongBo.h:49
ParameterSet.h
EventPrincipal.h
const_iterator
intermediate_table::const_iterator const_iterator
Definition:
intermediate_table.cc:25
lris::LArRawInputDriverLongBo::LArRawInputDriverLongBo
LArRawInputDriverLongBo(fhicl::ParameterSet const &pset, art::ProductRegistryHelper &helper, art::SourceHelper const &pm)
Definition:
LArRawInputDriverLongBo.cxx:267
fb
TFile fb("Li6.root")
art::SubRunPrincipal
Definition:
SubRunPrincipal.h:28
lris::LArRawInputDriverLongBo::inputfiles_
stringvec_t inputfiles_
Definition:
LArRawInputDriverLongBo.h:51
lris::LArRawInputDriverLongBo::readFile
void readFile(std::string const &name, art::FileBlock *&fb)
Definition:
LArRawInputDriverLongBo.cxx:289
SourceHelper.h
SubRunPrincipal.h
lris::LArRawInputDriverLongBo::currentSubRunID_
art::SubRunID currentSubRunID_
Definition:
LArRawInputDriverLongBo.h:54
lris
Conversion of binary data to root files.
Definition:
LArRawInputDriver.cxx:209
lris::LArRawInputDriverLongBo::readNext
bool readNext(art::RunPrincipal *const &inR, art::SubRunPrincipal *const &inSR, art::RunPrincipal *&outR, art::SubRunPrincipal *&outSR, art::EventPrincipal *&outE)
Definition:
LArRawInputDriverLongBo.cxx:304
art::EventPrincipal
Definition:
EventPrincipal.h:30
lris::LArRawInputDriverLongBo
Definition:
LArRawInputDriverLongBo.h:26
art::FileBlock
Definition:
FileBlock.h:17
lris::LArRawInputDriverLongBo::filesdone_
stringvec_t::const_iterator filesdone_
Definition:
LArRawInputDriverLongBo.h:53
ProductRegistryHelper.h
art::SourceHelper
Definition:
SourceHelper.h:37
FileBlock.h
fhicl::ParameterSet
Definition:
ParameterSet.h:34
lardata
v06_47_03
source
lardata
RawData
utils
LArRawInputDriverLongBo.h
Generated on Thu Jul 26 2018 13:09:54 for LArSoft by
1.8.11