CFEL - ASG Software Suite  2.5.0
CASS
Namespaces | Functions
helperfunctionsforstdc.hpp File Reference

file contains functions that help analysing an acqiris waveform More...

#include <iostream>
#include <cmath>
#include <cstdlib>
#include <sstream>
#include "channel.hpp"
#include "cass_event.h"
#include "acqiris_device.hpp"
#include "signal_producer.h"
+ Include dependency graph for helperfunctionsforstdc.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 cass
 
 cass::ACQIRIS
 

Functions

template<typename T >
const Channel * cass::ACQIRIS::extactRightChannel (const CASSEvent &evt, const uint32_t instrument, const size_t &ChannelNumber)
 extracts the requested channel from the data More...
 
template<typename T >
void cass::ACQIRIS::linearRegression (const size_t nbrPoints, const double x[], const double y[], double &m, double &c)
 linear Regression More...
 
template<typename T >
void cass::ACQIRIS::gewichtetlinearRegression (const size_t nbrPoints, const double x[], const double y[], const double correctX, double &m, double &c)
 A weighted linear Regression. More...
 
template<typename T >
void cass::ACQIRIS::createNewtonPolynomial (const double *x, const double *y, double *coeff)
 create Newton Polynomial More...
 
template<typename T >
double cass::ACQIRIS::evalNewtonPolynomial (const double *x, const double *coeff, double X)
 evaluate Newton Polynomial More...
 
template<typename T >
double cass::ACQIRIS::findXForGivenY (const double *x, const double *coeff, const double Y, const double Start)
 Achims Numerical Approximation. More...
 
template<typename T >
void cass::ACQIRIS::getfwhm (const Channel &c, SignalProducer::signal_t &s, const double &)
 extract full width at half maximum (fwhm) More...
 
template<typename T >
void cass::ACQIRIS::CoM (const Channel &c, SignalProducer::signal_t &s, const double &thresh)
 Center of Mass. More...
 
template<typename T >
void cass::ACQIRIS::startstop (const Channel &c, SignalProducer::signal_t &s, const double &thresh)
 find start and stop of pulse More...
 
template<typename T >
void cass::ACQIRIS::getmaximum (const Channel &c, SignalProducer::signal_t &s, const double &)
 find Maximum of puls and calcs the height More...
 

Detailed Description

file contains functions that help analysing an acqiris waveform

Author
Lutz Foucar

Definition in file helperfunctionsforstdc.hpp.