All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SRShowerSelection.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // \file SRShowerSelection.h
3 ////////////////////////////////////////////////////////////////////////
4 #ifndef SRSHOWERSELECTION_H
5 #define SRSHOWERSELECTION_H
6 
8 
9 namespace caf
10 {
11  /// Shower Selection metrics calculated by ShowerSelectionVals
13  {
14  public:
17 
18  // density gradient metics: split the shower up into N segments,
19  // fit to the form of [0]/(X^[1]) and extract the fit
20  float densityGradient; ///< Constant in the density gradient fit
21  float densityGradientPower; ///< Power in the density gradient fit
22 
23  // shower track fit metrics: fit a recob::Track to the shower stub
24  // using Pandora sliding linear fit, then extract variabls
25  float trackLength; ///< Lenth of fitted track [cm]
26  float trackWidth; ///< Width of fitted track (Average redidual) [cm]
27 
28  // shower residuals: DCA of each other shower in slice to the slice in question
29  std::vector<float> showerResiduals; ///< Vector of residuals, size (sliceShowers-1) [cm]
30  };
31 
32 } // end namespace
33 
34 #endif // SRSHOWERSELECTION_H
35 //////////////////////////////////////////////////////////////////////////////
Shower Selection metrics calculated by ShowerSelectionVals.
float densityGradient
Constant in the density gradient fit.
std::vector< float > showerResiduals
Vector of residuals, size (sliceShowers-1) [cm].
float trackWidth
Width of fitted track (Average redidual) [cm].
float trackLength
Lenth of fitted track [cm].
float densityGradientPower
Power in the density gradient fit.