LArSoft  v07_13_02
Liquid Argon Software toolkit - http://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 185 of file CCHitFinderAlg.h.

Member Function Documentation

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

Definition at line 193 of file CCHitFinderAlg.h.

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

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

Definition at line 852 of file CCHitFinderAlg.cxx.

References min.

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

852  {
853  ++MultiGausFits[std::min(nGaus, (unsigned int) MultiGausFits.size()) - 1];
854  } // CCHitFinderAlg::FitStats_t::AddMultiGaus()
std::vector< unsigned int > MultiGausFits
multi-Gaussian stats
Int_t min
Definition: plot.C:26
void hit::CCHitFinderAlg::FitStats_t::Reset ( unsigned int  nGaus)

Definition at line 844 of file CCHitFinderAlg.cxx.

References trkf::fill().

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

844  {
845  if (nGaus == 0) return;
846  MultiGausFits.resize(nGaus);
847  std::fill(MultiGausFits.begin(), MultiGausFits.end(), 0);
848  FastFits = 0;
849  } // 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 186 of file CCHitFinderAlg.h.

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

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

multi-Gaussian stats

Definition at line 187 of file CCHitFinderAlg.h.

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


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