Public Member Functions | Private Attributes | List of all members
gar::rec::Shower Class Reference

#include <Shower.h>

Public Member Functions

 Shower ()
 
 Shower (float energy, float *vtx, float *vtxDir, double time)
 
const float * Vertex () const
 
const float * VtxDir () const
 
float const & Energy () const
 
double Time () const
 

Private Attributes

float fEnergy
 energy of the shower More...
 
float fVertex [3]
 Shower vertex position. More...
 
float fVtxDir [3]
 Shower vertex direction. More...
 
double fTime
 Timestamp. More...
 

Detailed Description

Definition at line 20 of file Shower.h.

Constructor & Destructor Documentation

gar::rec::Shower::Shower ( )

Definition at line 15 of file Shower.cxx.

16  {
17  return;
18  }
gar::rec::Shower::Shower ( float  energy,
float *  vtx,
float *  vtxDir,
double  time 
)

Definition at line 21 of file Shower.cxx.

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  }
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
float fEnergy
energy of the shower
Definition: Shower.h:29

Member Function Documentation

float const & gar::rec::Shower::Energy ( ) const
inline

Definition at line 54 of file Shower.h.

54 { return fEnergy; }
float fEnergy
energy of the shower
Definition: Shower.h:29
double gar::rec::Shower::Time ( ) const
inline

Definition at line 55 of file Shower.h.

55 { return fTime; }
double fTime
Timestamp.
Definition: Shower.h:32
const float * gar::rec::Shower::Vertex ( ) const
inline

Definition at line 52 of file Shower.h.

52 { return fVertex; }
float fVertex[3]
Shower vertex position.
Definition: Shower.h:30
const float * gar::rec::Shower::VtxDir ( ) const
inline

Definition at line 53 of file Shower.h.

53 { return fVtxDir; }
float fVtxDir[3]
Shower vertex direction.
Definition: Shower.h:31

Member Data Documentation

float gar::rec::Shower::fEnergy
private

energy of the shower

Definition at line 29 of file Shower.h.

double gar::rec::Shower::fTime
private

Timestamp.

Definition at line 32 of file Shower.h.

float gar::rec::Shower::fVertex[3]
private

Shower vertex position.

Definition at line 30 of file Shower.h.

float gar::rec::Shower::fVtxDir[3]
private

Shower vertex direction.

Definition at line 31 of file Shower.h.


The documentation for this class was generated from the following files: