All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
hit::CCHitFinderAlg::FitStats_t Struct Reference

Public Member Functions

void Reset (unsigned int nGaus)
 
void AddMultiGaus (unsigned int nGaus)
 
void AddFast ()
 

Public Attributes

unsigned int FastFits
 count of single-Gaussian fast fits More...
 
std::vector< unsigned int > MultiGausFits
 multi-Gaussian stats More...
 

Detailed Description

Definition at line 182 of file CCHitFinderAlg.h.

Member Function Documentation

void hit::CCHitFinderAlg::FitStats_t::AddFast ( )
inline

Definition at line 190 of file CCHitFinderAlg.h.

190 { ++FastFits; }
unsigned int FastFits
count of single-Gaussian fast fits
void hit::CCHitFinderAlg::FitStats_t::AddMultiGaus ( unsigned int  nGaus)

Definition at line 846 of file CCHitFinderAlg.cxx.

846  {
847  ++MultiGausFits[std::min(nGaus, (unsigned int) MultiGausFits.size()) - 1];
848  } // CCHitFinderAlg::FitStats_t::AddMultiGaus()
std::vector< unsigned int > MultiGausFits
multi-Gaussian stats
void hit::CCHitFinderAlg::FitStats_t::Reset ( unsigned int  nGaus)

Definition at line 838 of file CCHitFinderAlg.cxx.

838  {
839  if (nGaus == 0) return;
840  MultiGausFits.resize(nGaus);
841  std::fill(MultiGausFits.begin(), MultiGausFits.end(), 0);
842  FastFits = 0;
843  } // CCHitFinderAlg::FitStats_t::Reset()
unsigned int FastFits
count of single-Gaussian fast fits
void fill(const art::PtrVector< recob::Hit > &hits, int only_plane)
std::vector< unsigned int > MultiGausFits
multi-Gaussian stats

Member Data Documentation

unsigned int hit::CCHitFinderAlg::FitStats_t::FastFits

count of single-Gaussian fast fits

Definition at line 183 of file CCHitFinderAlg.h.

std::vector<unsigned int> hit::CCHitFinderAlg::FitStats_t::MultiGausFits

multi-Gaussian stats

Definition at line 184 of file CCHitFinderAlg.h.


The documentation for this struct was generated from the following files: