Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
lardata
lardata
RawData
utils
LArRawInputDriver.h
Go to the documentation of this file.
1
////////////////////////////////////////////////////////////////////////
2
/// \file LArRawInputDriver.h
3
/// \brief Source to convert raw binary files to root files
4
///
5
/// \author brebel@fnal.gov, soderber@fnal.gov
6
////////////////////////////////////////////////////////////////////////
7
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
{
class
ParameterSet; }
22
23
///Conversion of binary data to root files
24
namespace
lris
{
25
class
LArRawInputDriver;
26
}
27
28
class
lris::LArRawInputDriver
{
29
/// Class to fill the constraints on a template argument to the class,
30
/// FileReaderSource
31
public
:
32
// Required constructor
33
LArRawInputDriver
(
fhicl::ParameterSet
const
&pset,
34
art::ProductRegistryHelper
&helper,
35
art::SourceHelper
const
&
pm
);
36
37
// Required by FileReaderSource:
38
void
closeCurrentFile();
39
void
readFile
(
std::string
const
&
name
,
40
art::FileBlock
* &fb);
41
bool
readNext(
art::RunPrincipal
*
const
&inR,
42
art::SubRunPrincipal
*
const
&inSR,
43
art::RunPrincipal
* &outR,
44
art::SubRunPrincipal
* &outSR,
45
art::EventPrincipal
* &outE);
46
47
private
:
48
// --- data members:
49
typedef
std::vector<std::string>
stringvec_t
;
50
51
art::SourceHelper
const
&
principalMaker_
;
52
std::string
currentDir_
;
53
stringvec_t
inputfiles_
;
54
stringvec_t::const_iterator
nextfile_
;
55
stringvec_t::const_iterator
filesdone_
;
56
art::SubRunID
currentSubRunID_
;
57
};
// LArRawInputDriver
name
static QCString name
Definition:
declinfo.cpp:673
SubRunID.h
art::RunPrincipal
Definition:
RunPrincipal.h:17
lris::LArRawInputDriver
Definition:
LArRawInputDriver.h:28
lris::LArRawInputDriver::currentSubRunID_
art::SubRunID currentSubRunID_
Definition:
LArRawInputDriver.h:56
string
std::string string
Definition:
nybbler.cc:12
art::SubRunID
Definition:
SubRunID.h:19
lris::LArRawInputDriver::nextfile_
stringvec_t::const_iterator nextfile_
Definition:
LArRawInputDriver.h:54
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:51
readFile
void readFile(string fileName, string &content)
Definition:
test_suite.cc:16
fhicl
Definition:
InputSourceFactory.h:7
art::SubRunPrincipal
Definition:
SubRunPrincipal.h:17
lris::LArRawInputDriver::inputfiles_
stringvec_t inputfiles_
Definition:
LArRawInputDriver.h:53
lris::LArRawInputDriver::filesdone_
stringvec_t::const_iterator filesdone_
Definition:
LArRawInputDriver.h:55
lris::LArRawInputDriver::stringvec_t
std::vector< std::string > stringvec_t
Definition:
LArRawInputDriver.h:49
lris::LArRawInputDriver::currentDir_
std::string currentDir_
Definition:
LArRawInputDriver.h:52
lris
Conversion of binary data to root files.
Definition:
ImportFull311File_source.cc:5
art::EventPrincipal
Definition:
EventPrincipal.h:19
art
Definition:
BasicOptionsHandler.h:9
art::FileBlock
Definition:
FileBlock.h:17
art::SourceHelper
Definition:
SourceHelper.h:31
ResimTags.pm
pm
Definition:
ResimTags.py:94
fhicl::ParameterSet
Definition:
ParameterSet.h:36
Generated by
1.8.11