GlitchCoupling Class Reference

Study and characterize glitch-to glitch coupling between 2 trigger data sets. More...

#include <GlitchCoupling.h>

Collaboration diagram for GlitchCoupling:
Collaboration graph
[legend]

List of all members.

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.

Detailed Description

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.

Author:
Florent Robinet

Constructor & Destructor Documentation

GlitchCoupling::GlitchCoupling ( const int  aVerbose = 0  ) 

Constructor of the GlitchCoupling class.

Parameters:
aVerbose verbosity level
GlitchCoupling::~GlitchCoupling ( void   )  [virtual]

Destructor of the GlitchCoupling class.


Member Function Documentation

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.

Parameters:
aC input index: 0=target, 1=source
aTriggers input triggers
bool GlitchCoupling::WriteMonitors ( const string  aRootFileName  ) 

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