Energy.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // \file Energy.h
3 // \brief Energy container. Base of other reconstruction classes.
4 // \version $Id: Energy.h,v 1.4 2012-10-26 21:31:55 bckhouse Exp $
5 // \author $Author: bckhouse $
6 // \date $Date: 2012-10-26 21:31:55 $
7 ////////////////////////////////////////////////////////////////////////
8 #ifndef RBENERGY_H
9 #define RBENERGY_H
10 
11 
12 namespace rb
13 {
14  /// \brief A container for energy information.
15  ///
16  /// The base rb::Energy object is a simple container that contains
17  /// one field: E. Energy estimators with extra output should
18  /// inherit from this class.
19  ///
20  class Energy
21  {
22  public:
23  Energy();
24 #ifndef __GCCXML__
25  Energy(float energy);
26 
27  void SetE(float energy);
28  float E() const;
29 #endif // __GCCXML__
30  protected:
31  float fE;
32  };
33 }
34 
35 #endif // RBENERGY_H
36 /////////////////////////////////////////////////////////////////////////////////////////////
float fE
Definition: Energy.h:31
void SetE(float energy)
Definition: Energy.cxx:21
float E() const
Definition: Energy.cxx:27
double energy
Definition: plottest35.C:25
Perform a "2 point" Hough transform on a collection of hits.
A container for energy information.
Definition: Energy.h:20