LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
LArRawInputDriverShortBo.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
LArRawInputDriverShortBo;
24
}
25
26
class
lris::LArRawInputDriverShortBo
{
29
public
:
30
// Required constructor
31
LArRawInputDriverShortBo
(
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
};
// LArRawInputDriverShortBo
SubRunID.h
lris::LArRawInputDriverShortBo
Definition:
LArRawInputDriverShortBo.h:26
art::RunPrincipal
Definition:
RunPrincipal.h:28
art::SubRunID
Definition:
SubRunID.h:17
RunPrincipal.h
lris::LArRawInputDriverShortBo::filesdone_
stringvec_t::const_iterator filesdone_
Definition:
LArRawInputDriverShortBo.h:53
art::ProductRegistryHelper
Definition:
ProductRegistryHelper.h:81
lris::LArRawInputDriverShortBo::principalMaker_
art::SourceHelper const & principalMaker_
Definition:
LArRawInputDriverShortBo.h:49
ParameterSet.h
lris::LArRawInputDriverShortBo::stringvec_t
std::vector< std::string > stringvec_t
Definition:
LArRawInputDriverShortBo.h:47
lris::LArRawInputDriverShortBo::readFile
void readFile(std::string const &name, art::FileBlock *&fb)
Definition:
LArRawInputDriverShortBo.cxx:242
EventPrincipal.h
const_iterator
intermediate_table::const_iterator const_iterator
Definition:
intermediate_table.cc:25
fb
TFile fb("Li6.root")
lris::LArRawInputDriverShortBo::LArRawInputDriverShortBo
LArRawInputDriverShortBo(fhicl::ParameterSet const &pset, art::ProductRegistryHelper &helper, art::SourceHelper const &pm)
Definition:
LArRawInputDriverShortBo.cxx:221
art::SubRunPrincipal
Definition:
SubRunPrincipal.h:28
lris::LArRawInputDriverShortBo::closeCurrentFile
void closeCurrentFile()
Definition:
LArRawInputDriverShortBo.cxx:237
lris::LArRawInputDriverShortBo::inputfiles_
stringvec_t inputfiles_
Definition:
LArRawInputDriverShortBo.h:51
SourceHelper.h
SubRunPrincipal.h
lris::LArRawInputDriverShortBo::nextfile_
stringvec_t::const_iterator nextfile_
Definition:
LArRawInputDriverShortBo.h:52
lris
Conversion of binary data to root files.
Definition:
LArRawInputDriver.cxx:209
lris::LArRawInputDriverShortBo::currentSubRunID_
art::SubRunID currentSubRunID_
Definition:
LArRawInputDriverShortBo.h:54
art::EventPrincipal
Definition:
EventPrincipal.h:30
art::FileBlock
Definition:
FileBlock.h:17
ProductRegistryHelper.h
art::SourceHelper
Definition:
SourceHelper.h:37
FileBlock.h
lris::LArRawInputDriverShortBo::readNext
bool readNext(art::RunPrincipal *const &inR, art::SubRunPrincipal *const &inSR, art::RunPrincipal *&outR, art::SubRunPrincipal *&outSR, art::EventPrincipal *&outE)
Definition:
LArRawInputDriverShortBo.cxx:257
lris::LArRawInputDriverShortBo::currentDir_
std::string currentDir_
Definition:
LArRawInputDriverShortBo.h:50
fhicl::ParameterSet
Definition:
ParameterSet.h:34
lardata
v06_47_03
source
lardata
RawData
utils
LArRawInputDriverShortBo.h
Generated on Thu Jul 26 2018 13:09:54 for LArSoft by
1.8.11