SRTruthBranch.cxx
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // \brief An SRTruthBranch contains vectors of SRTruth.
3 // It is intended for use in the Common Analysis File ROOT trees.
4 //
5 // \author Dominick Rocoo
6 // \date November 2012
7 ////////////////////////////////////////////////////////////////////////
8 
10 
11 
12 namespace caf
13 {
14 
16  nu(),
17  cosmic(),
18  allnus(),
19  allcosmics(),
20  faveidxeff(std::numeric_limits<short>::signaling_NaN()),
21  faveidxenergy(std::numeric_limits<short>::signaling_NaN()),
22  faveidxpur(std::numeric_limits<short>::signaling_NaN()),
23  faveidxeffpur(std::numeric_limits<short>::signaling_NaN()),
24  faveidxeffthenpur(std::numeric_limits<short>::signaling_NaN()),
25  nnu(std::numeric_limits<short>::signaling_NaN()),
26  ncosmic(std::numeric_limits<short>::signaling_NaN()),
27  nallnus(std::numeric_limits<short>::signaling_NaN()),
28  nallcosmics(std::numeric_limits<short>::signaling_NaN()),
29  global()
30  { }
31 
33 
34 
36  {
37  faveidxeff = -5;
38  faveidxenergy = -5;
39  faveidxpur = -5;
40  faveidxeffpur = -5;
41  faveidxeffthenpur = -5;
42 
43  }
44 
45 
46 } // end namespace caf
47 ////////////////////////////////////////////////////////////////////////
short faveidxeffthenpur
Index of favorite in allnus when neutrinos are sorted by efficiency and slices break ties by purity...
Definition: SRTruthBranch.h:35
short faveidxpur
Index of favorite in allnus when sorted by purity.
Definition: SRTruthBranch.h:33
short faveidxeff
Index of favorite in allnus when sorted by slicer efficiency.
Definition: SRTruthBranch.h:31
short faveidxeffpur
Index of favorite in allnus when sorted by product of efficiency and purity.
Definition: SRTruthBranch.h:34
Sum up livetimes from individual cosmic triggers.
short faveidxenergy
Index of favorite in allnus when sorted by energy.
Definition: SRTruthBranch.h:32
This module creates Common Analysis Files.
Definition: FileReducer.h:10