41 PeakFinder(std::string elem,
double min,
double max,
double binwidth,
bool singlemode);
T::PETE_Expr_t::PETE_Return_t max(const PETE_Expr< T > &expr, NDIndex< D > &loc)
T::PETE_Expr_t::PETE_Return_t min(const PETE_Expr< T > &expr, NDIndex< D > &loc)
std::vector< double > container_t
void open_m()
Open output file.
std::list< double > peaks_m
std::ofstream hos_m
used to write out the histrogram
std::ofstream os_m
used to write out the data
double binWidth_m
Bin width in mm.
container_t globHist_m
global histogram values
double min_m
histogram size
unsigned int nBins_m
Number of bins.
std::string outputName_m
Element/probe name, for name output file.
void append_m()
Open output file in append mode.
std::string hist_m
histogram filename with extension (.hist)
std::string fileName_m
filename with extension (.peaks)
void evaluate(const int &turn)
void saveASCII_m()
Write to output file.
void addParticle(const Vector_t &R)
void close_m()
Close output file.