CVNCosmicFiltList.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 /// \file CVNCosmicFiltList.h
3 /// \brief Result for collection of time slices evaluated by CVN for cosmic rejectionN
4 /// \author Evan Niner - edniner@fnal.gov
5 ////////////////////////////////////////////////////////////////////////
6 
7 #ifndef TENSORFLOWPRODUCTS_CVNCOSMICFILTLIST_H
8 #define TENSORFLOWPRODUCTS_CVNCOSMICFILTLIST_H
9 
10 #include <vector>
11 
12 namespace cvntf
13 {
14 
16  {
17  unsigned int nHits; ///<number of hits in time window
18  float timeWinMin;
19  float timeWinMax;
20  float numuVal; ///< Cosmic CVN numu score for each time slice
21  float nueVal; ///< Cosmic CVN nue score for each time slice
22  float nutauVal; ///< Cosmic CVN nutau score for each time slice
23  float ncVal; ///< Cosmic CVN nc score for each time slice
24  float cosmicVal; ///< Cosmic CVN cosmic score for each time slice
25  bool passSel;
26  };
27 
29  {
30  public:
31  CVNCosmicFiltList(std::vector<CVNCosmicFilt> cfl);
33 
34  CVNCosmicFilt GetTimeSlice(unsigned int iSlice) const { return cosmicSliceList[iSlice];};
35 
36  unsigned int ListSize() const { return cosmicSliceList.size();};
37 
38  void AddElement(CVNCosmicFilt cf) {cosmicSliceList.push_back(cf);};
39 
40  private:
41  std::vector<CVNCosmicFilt> cosmicSliceList;
42 
43  };
44 }
45 
46 #endif // TENSORFLOWPRODUCTS_CVNCOSMICFILTLIST_H
47 
float ncVal
Cosmic CVN nc score for each time slice.
float cosmicVal
Cosmic CVN cosmic score for each time slice.
unsigned int ListSize() const
float nutauVal
Cosmic CVN nutau score for each time slice.
CVNCosmicFilt GetTimeSlice(unsigned int iSlice) const
float nueVal
Cosmic CVN nue score for each time slice.
std::vector< CVNCosmicFilt > cosmicSliceList
float numuVal
Cosmic CVN numu score for each time slice.
unsigned int nHits
number of hits in time window