LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
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 178 of file CCHitFinderAlg.h.

Member Function Documentation

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

Definition at line 186 of file CCHitFinderAlg.h.

Referenced by hit::CCHitFinderAlg::FitNG().

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

Definition at line 840 of file CCHitFinderAlg.cxx.

Referenced by hit::CCHitFinderAlg::FitNG(), and hit::CCHitFinderAlg::RunCCHitFinder().

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

Definition at line 832 of file CCHitFinderAlg.cxx.

References trkf::fill().

Referenced by hit::CCHitFinderAlg::reconfigure().

833  {
834  if (nGaus == 0) return;
835  MultiGausFits.resize(nGaus);
836  std::fill(MultiGausFits.begin(), MultiGausFits.end(), 0);
837  FastFits = 0;
838  } // 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 179 of file CCHitFinderAlg.h.

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

multi-Gaussian stats

Definition at line 180 of file CCHitFinderAlg.h.


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