RegResult.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 /// \file RegResult.h
3 /// \brief RegResult for Regression CVN
4 /// \author Nitish Nayak - nayakb@uci.edu
5 ////////////////////////////////////////////////////////////////////////
6 
7 #ifndef CVN_REGRESULT_H
8 #define CVN_REGRESULT_H
9 
10 namespace cvn
11 {
12  /// Result, basic output of Regression CVN neural net
13  class RegResult
14  {
15  public:
16  RegResult(const float output)
17  :fOutput(output) {}
18 
20  :fOutput() {}
21 
22  float Output() const { return fOutput; }
23 
24  protected:
25  float fOutput; ///< Output from Regression CVN
26  };
27 
28  /// Neutrino energy output from RegCVN
29  class RegNuResult: public RegResult
30  {
31  public:
32  RegNuResult(const float output)
33  :RegResult(output) {}
34 
36  :RegResult() {}
37  };
38 
39  /// Electron energy output from RegCVN
40  class RegProngResult: public RegResult
41  {
42  public:
43  RegProngResult(const float output)
44  :RegResult(output) {}
45 
47  :RegResult() {}
48  };
49 
50  /// Hadronic energy output from RegHadCVN
51  class RegHadronResult: public RegResult
52  {
53  public:
54  RegHadronResult(const float output)
55  :RegResult(output) {}
56 
58  :RegResult() {}
59  };
60 }
61 
62 #endif // CVN_REGRESULT_H
ofstream output
RegHadronResult(const float output)
Definition: RegResult.h:54
Neutrino energy output from RegCVN.
Definition: RegResult.h:29
RegNuResult(const float output)
Definition: RegResult.h:32
float Output() const
Definition: RegResult.h:22
Defines an enumeration for prong classification.
Electron energy output from RegCVN.
Definition: RegResult.h:40
RegResult(const float output)
Definition: RegResult.h:16
Result, basic output of Regression CVN neural net.
Definition: RegResult.h:13
float fOutput
Output from Regression CVN.
Definition: RegResult.h:25
RegProngResult(const float output)
Definition: RegResult.h:43
Hadronic energy output from RegHadCVN.
Definition: RegResult.h:51