LArSoft
v07_13_02
Liquid Argon Software toolkit - http://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 "
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
LArRawInputDriver;
24
}
25
26
class
lris::LArRawInputDriver
{
29
public
:
30
// Required constructor
31
LArRawInputDriver
(
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
};
// LArRawInputDriver
SubRunID.h
lris::LArRawInputDriver::closeCurrentFile
void closeCurrentFile()
Definition:
LArRawInputDriver.cxx:228
art::RunPrincipal
Definition:
RunPrincipal.h:28
lris::LArRawInputDriver
Definition:
LArRawInputDriver.h:26
lris::LArRawInputDriver::currentSubRunID_
art::SubRunID currentSubRunID_
Definition:
LArRawInputDriver.h:54
lris::LArRawInputDriver::readFile
void readFile(std::string const &name, art::FileBlock *&fb)
Definition:
LArRawInputDriver.cxx:233
art::SubRunID
Definition:
SubRunID.h:17
RunPrincipal.h
lris::LArRawInputDriver::nextfile_
stringvec_t::const_iterator nextfile_
Definition:
LArRawInputDriver.h:52
art::ProductRegistryHelper
Definition:
ProductRegistryHelper.h:81
lris::LArRawInputDriver::principalMaker_
art::SourceHelper const & principalMaker_
Definition:
LArRawInputDriver.h:49
lris::LArRawInputDriver::LArRawInputDriver
LArRawInputDriver(fhicl::ParameterSet const &pset, art::ProductRegistryHelper &helper, art::SourceHelper const &pm)
Definition:
LArRawInputDriver.cxx:212
ParameterSet.h
EventPrincipal.h
const_iterator
intermediate_table::const_iterator const_iterator
Definition:
intermediate_table.cc:25
fb
TFile fb("Li6.root")
art::SubRunPrincipal
Definition:
SubRunPrincipal.h:28
lris::LArRawInputDriver::inputfiles_
stringvec_t inputfiles_
Definition:
LArRawInputDriver.h:51
lris::LArRawInputDriver::filesdone_
stringvec_t::const_iterator filesdone_
Definition:
LArRawInputDriver.h:53
lris::LArRawInputDriver::stringvec_t
std::vector< std::string > stringvec_t
Definition:
LArRawInputDriver.h:47
SourceHelper.h
SubRunPrincipal.h
lris::LArRawInputDriver::currentDir_
std::string currentDir_
Definition:
LArRawInputDriver.h:50
lris
Conversion of binary data to root files.
Definition:
LArRawInputDriver.cxx:209
lris::LArRawInputDriver::readNext
bool readNext(art::RunPrincipal *const &inR, art::SubRunPrincipal *const &inSR, art::RunPrincipal *&outR, art::SubRunPrincipal *&outSR, art::EventPrincipal *&outE)
Definition:
LArRawInputDriver.cxx:248
art::EventPrincipal
Definition:
EventPrincipal.h:30
art::FileBlock
Definition:
FileBlock.h:17
ProductRegistryHelper.h
art::SourceHelper
Definition:
SourceHelper.h:37
FileBlock.h
fhicl::ParameterSet
Definition:
ParameterSet.h:34
lardata
v07_01_01
source
lardata
RawData
utils
LArRawInputDriver.h
Generated on Wed Dec 12 2018 14:42:43 for LArSoft by
1.8.11