Study and characterize glitch-to glitch coupling between 2 trigger data sets. More...
#include <GlitchCoupling.h>
Public Member Functions | |
bool | SetSegments (Segments *aSeg) |
bool | SetTriggers (const int aC, ReadTriggers *aTriggers) |
Sets input source/target triggers. | |
bool | WriteMonitors (const string aRootFileName) |
Constructors and destructors | |
GlitchCoupling (const int aVerbose=0) | |
Constructor of the GlitchCoupling class. | |
virtual | ~GlitchCoupling (void) |
Destructor of the GlitchCoupling class. |
Study and characterize glitch-to glitch coupling between 2 trigger data sets.
The coupling is characterized using 'monitors' which are histograms measuring the glitch coincidence rate as a function of the glitch parameters. This the reason why this class inherits from the Coinc class. The 2 trigger sets are defined by 2 ReadTriggers objects the user must provide with the SetTriggers() function. The trigger set indexed with '0' is called the 'target' sample while the index '1' designates the 'source' sample. The user must cluster the triggers before calling the SetTriggers() function. Only "TIME" clustering methods are supported.
By default, the coupling is only characterized over the time common to both trigger samples. The user can reduce this time range using the Coinc::SetSegments() function.
The minimum use of this class is defined by the following sequence of function calls:
After the coupling characterization, this class offers many functions to design a veto targetting the target triggers and using the source triggers.
GlitchCoupling::GlitchCoupling | ( | const int | aVerbose = 0 |
) |
Constructor of the GlitchCoupling class.
aVerbose | verbosity level |
GlitchCoupling::~GlitchCoupling | ( | void | ) | [virtual] |
Destructor of the GlitchCoupling class.
bool GlitchCoupling::SetSegments | ( | Segments * | aSeg | ) | [inline] |
bool GlitchCoupling::SetTriggers | ( | const int | aC, | |
ReadTriggers * | aTriggers | |||
) |
Sets input source/target triggers.
The input triggers must be clustered before calling this function.
aC | input index: 0=target, 1=source | |
aTriggers | input triggers |
bool GlitchCoupling::WriteMonitors | ( | const string | aRootFileName | ) |