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 
10 
11 namespace gar {
12  namespace rec {
13 
14  //--------------------------------------------------------------------------
16  {
17  return;
18  }
19 
20  //--------------------------------------------------------------------------
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
rec
Definition: tracks.py:88
float fVertex[3]
Shower vertex position.
Definition: Shower.h:30
float fVtxDir[3]
Shower vertex direction.
Definition: Shower.h:31
double fTime
Timestamp.
Definition: Shower.h:32
General GArSoft Utilities.
float fEnergy
energy of the shower
Definition: Shower.h:29