LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
LArRawInputDriverJP250L.h
Go to the documentation of this file.
1
8
#include <string>
9
10
namespace
art
{
11
class
EventPrincipal;
12
class
FileBlock;
13
class
ProductRegistryHelper;
14
class
RunPrincipal;
15
class
SourceHelper;
16
class
SubRunPrincipal;
17
}
18
namespace
fhicl
{
19
class
ParameterSet;
20
}
21
22
class
TTree;
23
25
namespace
lris
{
26
class
LArRawInputDriverJP250L;
27
}
28
29
class
lris::LArRawInputDriverJP250L
{
32
public
:
33
// Required constructor
34
LArRawInputDriverJP250L
(
fhicl::ParameterSet
const
& pset,
35
art::ProductRegistryHelper
& helper,
36
art::SourceHelper
const
& pm);
37
38
// Required by FileReaderSource:
39
void
closeCurrentFile();
40
void
readFile(std::string
const
& name,
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
art::SourceHelper
const
&
principalMaker_
;
50
51
// added by E.Iwai
52
TTree*
m_eventTree
;
53
unsigned
int
m_nEvent
;
54
unsigned
int
m_current
;
55
unsigned
short
m_runID
;
56
unsigned
int
m_unixtime
;
57
unsigned
short
m_nChannels
;
58
unsigned
short
m_nSamples
;
59
unsigned
short
*
m_data
;
60
61
};
// LArRawInputDriverJP250L
lris::LArRawInputDriverJP250L::m_unixtime
unsigned int m_unixtime
unix timestamp of the start of the run
Definition:
LArRawInputDriverJP250L.h:56
art::RunPrincipal
Definition:
RunPrincipal.h:16
lris::LArRawInputDriverJP250L::m_nEvent
unsigned int m_nEvent
number of triggers in the TTree
Definition:
LArRawInputDriverJP250L.h:53
lris::LArRawInputDriverJP250L::m_runID
unsigned short m_runID
run ID, has to start from 1
Definition:
LArRawInputDriverJP250L.h:55
art::ProductRegistryHelper
Definition:
ProductRegistryHelper.h:39
lris::LArRawInputDriverJP250L::m_eventTree
TTree * m_eventTree
TTree containing information from each trigger.
Definition:
LArRawInputDriverJP250L.h:52
fhicl
parameter set interface
Definition:
BeamFlashTrackMatchTaggerAlg.h:17
art::SubRunPrincipal
Definition:
SubRunPrincipal.h:16
lris::LArRawInputDriverJP250L::m_data
unsigned short * m_data
the ADC of each time sample for each channel
Definition:
LArRawInputDriverJP250L.h:59
fb
TFile fb("Li6.root")
lris::LArRawInputDriverJP250L
Definition:
LArRawInputDriverJP250L.h:29
lris::LArRawInputDriverJP250L::m_nChannels
unsigned short m_nChannels
number of channels in the detector
Definition:
LArRawInputDriverJP250L.h:57
lris::LArRawInputDriverJP250L::m_nSamples
unsigned short m_nSamples
number of time samples per channel
Definition:
LArRawInputDriverJP250L.h:58
lris
Conversion of binary data to root files.
Definition:
LArRawInputDriver.cxx:213
art::EventPrincipal
Definition:
EventPrincipal.h:17
lris::LArRawInputDriverJP250L::principalMaker_
art::SourceHelper const & principalMaker_
Definition:
LArRawInputDriverJP250L.h:49
art
Definition:
MVAAlg.h:12
art::FileBlock
Definition:
FileBlock.h:17
lris::LArRawInputDriverJP250L::m_current
unsigned int m_current
current entry in the TTree
Definition:
LArRawInputDriverJP250L.h:54
art::SourceHelper
Definition:
SourceHelper.h:30
fhicl::ParameterSet
Definition:
ParameterSet.h:36
lardata
v09_16_03
source
lardata
RawData
utils
LArRawInputDriverJP250L.h
Generated on Thu May 2 2024 20:59:35 for LArSoft by
1.8.11