SRCVNResult.cxx
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // \file SRCVNResult.cxx
3 // \brief This is a class for an CVN result in the standard record.
4 // \author rocco
5 ////////////////////////////////////////////////////////////////////////
6 #include<limits>
7 
9 
10 namespace caf
11 {
12 
14  output(),
15  numuid(std::numeric_limits<float>::signaling_NaN()),
16  nueid(std::numeric_limits<float>::signaling_NaN()),
17  nutauid(std::numeric_limits<float>::signaling_NaN()),
18  ncid(std::numeric_limits<float>::signaling_NaN()),
19  cosmicid(std::numeric_limits<float>::signaling_NaN()),
20  maxval(std::numeric_limits<float>::signaling_NaN()),
21  argmax(0),
22  noutput(0)
23  { }
24 
25 
27 
29  {
30  numuid = -5;
31  nueid = -5;
32  nutauid = -5;
33  ncid = -5;
34  cosmicid = -5;
35  maxval = -5;
36  argmax = 999;
37  noutput = 0;
38  }
39 } // end namespace caf
40 ////////////////////////////////////////////////////////////////////////
Definition: FillPIDs.h:18
ofstream output
float maxval
Maximum value among net outputs.
Definition: SRCVNResult.h:25
static Var numuid(const std::shared_ptr< CAFAnaModel > &model)
Definition: SliceLIDVar.h:63
virtual void setDefault()
Definition: SRCVNResult.cxx:28
float nutauid
Likelihood Charge Current NuTau.
Definition: SRCVNResult.h:22
float nueid
Likelihood Charge Current NuE.
Definition: SRCVNResult.h:21
float cosmicid
unsigned int noutput
Number of entries in output vector.
Definition: SRCVNResult.h:27
float cosmicid
Likelihood Cosmic Interaction.
Definition: SRCVNResult.h:24
static Var nutauid(const std::shared_ptr< CAFAnaModel > &model)
Definition: SliceLIDVar.h:93
static Var nueid(const std::shared_ptr< CAFAnaModel > &model)
Definition: SliceLIDVar.h:83
virtual ~SRCVNResult()
Definition: SRCVNResult.cxx:26
float numuid
Likelihood Charge Current NuMu.
Definition: SRCVNResult.h:20
This module creates Common Analysis Files.
Definition: FileReducer.h:10
unsigned int argmax
Index of maximum value.
Definition: SRCVNResult.h:26