14 #include <tr1/functional>
112 std::tr1::function<void(result_t::const_iterator, result_t::iterator)>
_func;
storage_t::const_iterator const_iterator
a const iterator on the storage
Event to store all LCLS Data.
fftw_plan _fftw_plan
fftw plan - stores fftw optimization data for given data type+size
fftwf_complex fftw_complex_type
const name_t name() const
retrieve the name of this processor
virtual void process(const CASSEvent &evt, result_t &result)
process the event
calculate the absolute squared fft of an histogram
int _fft_tmp_padding
info about temporary memory for the fftw calculation
shared_pointer _hist
pp containing histogram to calculate the autocorrelation for
base class for processors.
void fft2d(result_t::const_iterator in, result_t::iterator out)
calculate the absolute square fft for 2d data
pp312(const name_t &name)
constructor
std::tr1::function< void(result_t::const_iterator, result_t::iterator)> _func
function to call for processing
virtual void loadSettings(size_t)
load the settings of this pp
file contains processors baseclass declaration
storage_t::iterator iterator
a iterator on the storage
void fft1d(result_t::const_iterator in, result_t::iterator out)
calculate the absolute square fft for 1d data
std::string name_t
define the name type
std::tr1::shared_ptr< Processor > shared_pointer
a shared pointer of this
std::pair< int, int > shape_t
define the shape
size_t _Nx
the shape of the incomming histogram
virtual const result_t & result(const CASSEvent::id_t eventid=0)
retrieve a result for a given id.
fftw_complex fftw_complex_type