QCFVariableWindow Class Reference

Inheritance diagram for QCFVariableWindow:

QCoincidenceFiller

List of all members.


Detailed Description

base class for coincidence analysis

Author:
Sergio Di Domizio

Carlos Martinez
Build coincidences using a variable time window: an event belongs to a coincidence if it occurred less than a certain (fixed) time window after the last event in that coincidence.


Public Member Functions

 QCFVariableWindow ()
 default constructor
 QCFVariableWindow (unsigned long long timeWindow)
 constructor with time window
virtual ~QCFVariableWindow ()
 destructor

Protected Member Functions

virtual bool BuildCoincidences ()
 process the list of events to build coincidences

Private Member Functions

bool FitsInLastCoincidence (const QCoincidentEvent &coinc) const

Constructor & Destructor Documentation

QCFVariableWindow::QCFVariableWindow ( unsigned long long  timeWindow  ) 

constructor with time window

Parameters:
timeWindow coincidence time window in ns


Member Function Documentation

bool QCFVariableWindow::BuildCoincidences (  )  [protected, virtual]

process the list of events to build coincidences

In the implementation of this method it can be assumed that the list of events that is used to build the coincidences is time ordered.

Implements QCoincidenceFiller.

References QCoincidence::AddEvent(), QCoincidenceFiller::fCoincidences, and QCoincidenceFiller::GetEvents().


The documentation for this class was generated from the following files:

Generated on Tue Nov 16 10:50:04 2010 for CUORE Software by  doxygen 1.5.6