Public Member Functions | Protected Attributes | List of all members
rb::Energy Class Reference

A container for energy information. More...

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N20-11-28/RecoBase/Energy.h"

Inheritance diagram for rb::Energy:
numue::NumuE

Public Member Functions

 Energy ()
 
 Energy (float energy)
 
void SetE (float energy)
 
float E () const
 

Protected Attributes

float fE
 

Detailed Description

A container for energy information.

The base rb::Energy object is a simple container that contains one field: E. Energy estimators with extra output should inherit from this class.

Definition at line 20 of file Energy.h.

Constructor & Destructor Documentation

rb::Energy::Energy ( )

Definition at line 13 of file Energy.cxx.

Referenced by SetE().

13  :
14  fE()
15  { }
float fE
Definition: Energy.h:31
rb::Energy::Energy ( float  energy)

Definition at line 17 of file Energy.cxx.

17  :
18  fE(energy)
19  { }
float fE
Definition: Energy.h:31
double energy
Definition: plottest35.C:25

Member Function Documentation

float rb::Energy::E ( ) const
void rb::Energy::SetE ( float  energy)

Definition at line 21 of file Energy.cxx.

References Energy(), and fE.

Referenced by numue::NumuEAlg::FDEnergy(), numue::NumuEAlg::MuonEnergies(), numue::NumuEAlg::NDEnergy(), and numue::TrackOverlapECalc::produce().

22  {
23  fE = Energy;
24  }
float fE
Definition: Energy.h:31

Member Data Documentation

float rb::Energy::fE
protected

Definition at line 31 of file Energy.h.

Referenced by E(), and SetE().


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