ReadCoinc Class Reference

Read coincidence files. More...

#include <ReadCoinc.h>

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

List of all members.

Public Member Functions

int GetNCoinc (void)
 Returns the total number of coinc.
bool ProcessLag (const int alagindex)
 Process one lag.
Constructors and destructors



 ReadCoinc (const string apattern, const int averbose=0)
 Constructor of the ReadCoinc class.
virtual ~ReadCoinc (void)
 Destructor of the ReadCoinc class.

Protected Attributes

Segments ** NetSeg
 segments for a given network

Detailed Description

Read coincidence files.

This class was designed to read coincident triggers stored in TTrees saved in ROOT files (following the GWOLLUM convention). This class provides many functions to access the coinc characteristics.

Author:
Florent Robinet

Constructor & Destructor Documentation

ReadCoinc::ReadCoinc ( const string  apattern,
const int  averbose = 0 
)

Constructor of the ReadCoinc class.

The coinc files designated by the file pattern 'apattern' are loaded. The verbosity level, set by 'averbose', follows the GWOLLUM convention for verbosity.

Parameters:
apattern input file pattern
averbose verbosity level
ReadCoinc::~ReadCoinc ( void   )  [virtual]

Destructor of the ReadCoinc class.


Member Function Documentation

int ReadCoinc::GetNCoinc ( void   )  [inline]

Returns the total number of coinc.

bool ReadCoinc::ProcessLag ( const int  alagindex  ) 

Process one lag.

The coinc analysis is run for lag with index 'alagindex'. If alagindex=-1, all the lag but the zero-lag are processed.

Parameters:
alagindex lag index

Member Data Documentation

Segments** ReadCoinc::NetSeg [protected]

segments for a given network


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

Generated on 26 Sep 2014 by  doxygen 1.6.1