In file No file:

void SetColumn (Iterator sourceBegin, Iterator sourceEnd, const Column& column, const Function& expression)

Set column to a new value

Documentation

Set column to a new value. Loops through the list of events and calculates the expression for each event. The specified column is the set to then new value. The column name can be either a string or a column class.

Example:

    // Calculate the significance from the amplitude and sigma
    Set s1 ("input.xml");
    SetColumn (s1.Begin(), s1.End(), 
              Column ("Significance"),
              Column ("Amplitude") / Column ("Sigma"));
    

Returns:
void
Parameters:
sourceBegin - Start iterator of event list
sourceEnd - End iterator of event list
column - Name of column/Column object
expression - New column value

alphabetic index hierarchy of classes


Please send questions and comments to sigg_d@ligo-wa.caltech.edu


generated by doc++