In file No file:

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

2D histogram generation

Documentation

Make a two-dimensional histogram. The specified event functions are 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 against
    // their time.
    Set s1 ("input.xml");
    Histogram2 h2 (100, 0, 100, 100, 0, 1000000);
    MakeHistogram (h2, s1.Begin(), s1.End(), 
                   Column("Time") - Time(677000000),
                   Column("Amplitude"),
                   Time(677000000) <= Column("Time") < Time(678000000));
    

Returns:
Number of events added to histogram
Parameters:
hist - 2D histogram
sourceBegin - Start iterator of event list
sourceEnd - End iterator of event list
f1 - Event function used for first histogram axis
f2 - Event function used for second 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++