10 #ifndef _TABLE_OPERATIONS_H_
11 #define _TABLE_OPERATIONS_H_
13 #include <tr1/functional>
208 typedef std::tr1::function<result_t::value_t(result_t::const_iterator)>
func_t;
generate a 2d Histogram from values of 2 columns of a table
size_t _xcolIdx
index of the column with the x-values that needs to be extracted
virtual void loadSettings(size_t)
load the settings of the pp
Event to store all LCLS Data.
virtual void loadSettings(size_t)
load the settings of the pp
size_t _rowIdx
the index of the row
retrieve a specific value of a specific row
pp500(const name_t &)
constructor
std::pair< float, float > _bounds
the boundaries for the condition
func_t _getWeight
the function to return the weight
add a new column where the contents are taken from another results based on the index provided in thi...
virtual void loadSettings(size_t)
load the settings of the pp
virtual void loadSettings(size_t)
load the settings of the pp
virtual void process(const CASSEvent &, result_t &)
process event
pp74(const name_t &)
constructor
shared_pointer _table
pp containing input table
shared_pointer _table
pp containing input table
get all rows with condition on a column
int _weightcolIdx
index of the column with the weights that needs to be exracted
size_t _colIdx
index of the column
virtual void loadSettings(size_t)
load the settings of the pp
func_t::result_type constantWeight(func_t::argument_type unused)
returns a 1
base class for processors.
pp73(const name_t &)
constructor
virtual void process(const CASSEvent &, result_t &)
process event
virtual void process(const CASSEvent &, result_t &)
process event
func_t::result_type weightFromTable(func_t::argument_type tableIt)
returns the weight value from a table
size_t _colIdx
index of the column with the x-values that needs to be extracted
virtual void process(const CASSEvent &, result_t &)
process event
get specific column from table like histogram
std::tr1::function< result_t::value_t(result_t::const_iterator)> func_t
define the function to return the weight value
pp72(const name_t &)
constructor
shared_pointer _table
pp containing input table
file contains processors baseclass declaration
shared_pointer _inResult
pp containing input table
pp79(const name_t &)
constructor
size_t _ycolIdx
index of the column with the y-values that needs to be extracted
shared_pointer _table
pp containing input table
size_t _colIdx
index of the column that will be checked for
virtual void process(const CASSEvent &, result_t &)
process event
std::string name_t
define the name type
std::tr1::shared_ptr< Processor > shared_pointer
a shared pointer of this
size_t _colIdx
index of the column that needs to be extracted
shared_pointer _table
pp containing input table