Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
garsoft
ReconstructionDataProducts
Shower.cxx
Go to the documentation of this file.
1
//
2
// Shower.cxx
3
// garsoft-mrb
4
//
5
// Created by Brian Rebel on 10/6/16.
6
// Copyright © 2016 Brian Rebel. All rights reserved.
7
// Additions by Tom Junk, 2018
8
9
#include "
ReconstructionDataProducts/Shower.h
"
10
11
namespace
gar
{
12
namespace
rec
{
13
14
//--------------------------------------------------------------------------
15
Shower::Shower
()
16
{
17
return
;
18
}
19
20
//--------------------------------------------------------------------------
21
Shower::Shower
(
float
energy
,
22
float
*vtx,
23
float
*vtxDir,
24
double
time
)
25
:
fEnergy
(energy),
fTime
(time)
26
{
27
fVertex
[0] = vtx[0];
28
fVertex
[1] = vtx[1];
29
fVertex
[2] = vtx[2];
30
31
fVtxDir
[0] = vtxDir[0];
32
fVtxDir
[1] = vtxDir[1];
33
fVtxDir
[2] = vtxDir[2];
34
35
return
;
36
}
37
38
}
// rec
39
}
// gar
tracks.rec
rec
Definition:
tracks.py:88
generate_CCQE_events.energy
string energy
Definition:
generate_CCQE_events.py:15
gar::rec::Shower::fVertex
float fVertex[3]
Shower vertex position.
Definition:
Shower.h:30
gar::rec::Shower::Shower
Shower()
Definition:
Shower.cxx:15
time
gar::rec::Shower::fVtxDir
float fVtxDir[3]
Shower vertex direction.
Definition:
Shower.h:31
gar::rec::Shower::fTime
double fTime
Timestamp.
Definition:
Shower.h:32
gar
General GArSoft Utilities.
Definition:
anatest_module.cc:57
gar::rec::Shower::fEnergy
float fEnergy
energy of the shower
Definition:
Shower.h:29
Shower.h
Generated by
1.8.11