In file No file:

int MakeHistogram (Histogram1& hist, ConstIterator sourceBegin, ConstIterator sourceEnd, const Function& func, const Condition& cond = Condition::True(), const TimeWindow& window = TimeWindow (1.))

1D histogram generation

Documentation

Make a one-dimensional histogram. The specified event function is used to add events to the histogram which fullfill the event condition.

Example:

    // Histogram the amplitude of events from set s1 which are
    // within the time interval 677000000 to 678000000.
    Set s1 ("input.xml");
    Histogram1 h1 (20, 0, 100);
    MakeHistogram (h1, s1.Begin(), s1.End(), Column("Amplitude"),
                   Time(677000000) <= Column("Time") < Time(678000000));
    

Returns:
Number of events added to histogram
Parameters:
hist - 1D histogram
sourceBegin - Start iterator of event list
sourceEnd - End iterator of event list
func - Event function used for histogram axis
cond - Condition to select events
window - Time window for analysis

alphabetic index hierarchy of classes


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


generated by doc++