39 PeakFinder(std::string elem,
double min,
double max,
double binwidth,
bool singlemode);
ippl::Vector< T, Dim > Vector_t
void addParticle(const Vector_t< double, 3 > &R)
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 close_m()
Close output file.