Diana Software
Public Member Functions | Private Attributes | List of all members
MCheckTimeOrdering Class Reference

check that events are ordered in time. More...

Inheritance diagram for MCheckTimeOrdering:

Public Member Functions

void Init (Diana::QEvent &ev)
 Init method. More...
 
void Do (Diana::QEvent &ev)
 Do method. Declare and implement only one of the two versions. More...
 
void Done ()
 Done method. More...
 

Private Attributes

unsigned long long fPreviousTime
 
int fCurrentRun
 

Detailed Description

check that events are ordered in time.

Author
Marco Vignati

If events are not time-ordered this module sends a Panic message.

Definition at line 31 of file MCheckTimeOrdering.hh.

Member Function Documentation

◆ Do()

void MCheckTimeOrdering::Do ( Diana::QEvent &  ev)

Do method. Declare and implement only one of the two versions.

Definition at line 20 of file MCheckTimeOrdering.cc.

References QEvent::Get(), QHeader::GetRun(), and QHeader::GetTime().

◆ Done()

void MCheckTimeOrdering::Done ( )

Done method.

Definition at line 39 of file MCheckTimeOrdering.cc.

◆ Init()

void MCheckTimeOrdering::Init ( Diana::QEvent &  ev)

Init method.

Definition at line 11 of file MCheckTimeOrdering.cc.

References QEvent::Require().

Member Data Documentation

◆ fCurrentRun

int MCheckTimeOrdering::fCurrentRun
private

Definition at line 46 of file MCheckTimeOrdering.hh.

◆ fPreviousTime

unsigned long long MCheckTimeOrdering::fPreviousTime
private

Definition at line 45 of file MCheckTimeOrdering.hh.


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