Oplot Class Reference

Plot Omicron triggers. More...

#include <Oplot.h>

Inheritance diagram for Oplot:
Inheritance graph
[legend]
Collaboration diagram for Oplot:
Collaboration graph
[legend]

List of all members.

Public Member Functions

double GetSNRThreshold (const int aCollIndex)
 Returns the SNR thrshold of given collection.
void PrintLoudestEventMap (const string aFileName="")
 Prints the loudest event map.
void SetSNRThresholds (const double aSNR0, const double aSNR1, const double aSNR2, const double aSNR3)
 Defines new SNR thrsholds.
void SetTimeRange (const int aTimeMin, const int aTimeMax)
 Defines a new time range for the plots.
Constructors and destructors



 Oplot (const string aPattern, const string aDirectory="", const int aVerbose=0)
 Constructor of the Oplot class.
virtual ~Oplot (void)
 Destructor of the Oplot class.

Detailed Description

Plot Omicron triggers.

This class was specifically designed to plot Omicron triggers. It inherits from the TriggerPlot class. This class is actually just a wrapper of TriggerPlot as it defines 4 trigger collections differing by a SNR threshold. These collections are then assigned a given plotting style (colors, markers...).

Author:
Florent Robinet

Constructor & Destructor Documentation

Oplot::Oplot ( const string  aPattern,
const string  aDirectory = "",
const int  aVerbose = 0 
)

Constructor of the Oplot class.

The 4 TriggerPlot collections are defined over TIME clusters (not triggers!) with 4 different SNR thresholds (atomatically set) and 4 different plotting styles.

Parameters:
aPattern input file pattern
aDirectory trigger ROOT directory
aVerbose verbosity level
Oplot::~Oplot ( void   )  [virtual]

Destructor of the Oplot class.


Member Function Documentation

double Oplot::GetSNRThreshold ( const int  aCollIndex  ) 

Returns the SNR thrshold of given collection.

Parameters:
aCollIndex collection index
void Oplot::PrintLoudestEventMap ( const string  aFileName = ""  ) 

Prints the loudest event map.

After the plots have been made (see TriggerPlot::MakeCollections()), the loudest event of the plot can be mapped. The resulting map can be saved in a file if aFileName is used.

Parameters:
aFileName output file name
void Oplot::SetSNRThresholds ( const double  aSNR0,
const double  aSNR1,
const double  aSNR2,
const double  aSNR3 
)

Defines new SNR thrsholds.

Parameters:
SNR0 first SNR threshold
SNR1 second SNR threshold
SNR2 third SNR threshold
SNR3 fourth SNR threshold
void Oplot::SetTimeRange ( const int  aTimeMin,
const int  aTimeMax 
)

Defines a new time range for the plots.

By default, the time range is given by the input trigger files.

Parameters:
aTimeMin starting time
aTimeMax stopping time

The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Friends Defines

Generated on 29 Sep 2016 by  doxygen 1.6.1