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 181 of file CCHitFinderAlg.h.

Member Function Documentation

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

Definition at line 189 of file CCHitFinderAlg.h.

189 { ++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()
T min(sqlite3 *const db, std::string const &table_name, std::string const &column_name)
Definition: statistics.h:55
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
def fill(s)
Definition: translator.py:93
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 182 of file CCHitFinderAlg.h.

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

multi-Gaussian stats

Definition at line 183 of file CCHitFinderAlg.h.


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