Diana Software
Public Member Functions | List of all members
QSameTimeNeighbour Class Reference

Neighbours if two events have the same time. More...

Inheritance diagram for QSameTimeNeighbour:
QReaderNeighbour QModuleTimeProfiling

Public Member Functions

void Init (const QReader &reader)
 Initialization (empty) More...
 
QReaderNeighbour::NeighbourInfo GetNeighbourInfo (const QEvent &thisEvent, const QEvent &otherEvent)
 Gett the neighbour info for two events. More...
 
- Public Member Functions inherited from QReaderNeighbour
 QReaderNeighbour ()
 
virtual ~QReaderNeighbour ()
 
void InitBase (const QReader &reader)
 
virtual NeighbourInfo GetNeighbourInfoBase (const QEvent &thisEvent, const QEvent &otherEvent)
 
virtual bool GetWantsNeighboursBase (const QEvent &thisEvent)
 
virtual bool GetWantsNeighbours (const QEvent &thisEvent)
 
int GetFillStrategy () const
 
- Public Member Functions inherited from QModuleTimeProfiling
 QModuleTimeProfiling ()
 ctor initialized internal variables More...
 
virtual ~QModuleTimeProfiling ()
 dtor does nothing More...
 
void SetTimeProfilingOn (bool val)
 Set the time profiling on/off. More...
 
bool GetTimeProfilingOn () const
 Check if the time profiling is on. More...
 
void ResetTimer ()
 Reset the timer to now. More...
 
double GetTimer () const
 return the time since the last reset More...
 
virtual void StartProcessCall ()
 Start of a process call. More...
 
virtual void EndProcessCall ()
 End a process call and increment time and calls. More...
 
unsigned long long GetProcessCalls () const
 Return the total number of process calls. More...
 
double GetTotalProcessTime () const
 Return the total processing time. More...
 
double GetProcessCallTime () const
 Return the average time of a single process call. More...
 
std::string GetTimeProfileReport (const std::string &prefix="") const
 Report the time profiling. More...
 

Additional Inherited Members

- Public Types inherited from QReaderNeighbour
enum  FillStrategies { kExhaustiveFillStrategy , kAssociativeFillStrategy , kFilterFillStrategy }
 
- Protected Attributes inherited from QReaderNeighbour
FillStrategies fFillStrategy
 
- Protected Attributes inherited from QModuleTimeProfiling
bool fTimeProfilingOn
 Report the time profiling. More...
 
unsigned long long int fProcessCalls
 NUmber of calls to the process. More...
 
double fProcessTime
 Total time spent running the process. More...
 

Detailed Description

Neighbours if two events have the same time.

Author
M. Vignati

IsInWindow: If both events have the same start run time and event time is identical.

IsNeighbour: If both events have the same start run time and event time is identical.

Definition at line 20 of file QSameTimeNeighbour.hh.

Member Function Documentation

◆ GetNeighbourInfo()

QReaderNeighbour::NeighbourInfo QSameTimeNeighbour::GetNeighbourInfo ( const QEvent thisEvent,
const QEvent otherEvent 
)
virtual

Gett the neighbour info for two events.

Implements QReaderNeighbour.

Definition at line 11 of file QSameTimeNeighbour.cc.

References QReaderNeighbour::NeighbourInfo::fIsInWindow, QReaderNeighbour::NeighbourInfo::fIsNeighbour, QEvent::Get(), and QHeader::GetTime().

◆ Init()

Q_BEGIN_NAMESPACE void QSameTimeNeighbour::Init ( const QReader reader)
virtual

Initialization (empty)

Implements QReaderNeighbour.

Definition at line 9 of file QSameTimeNeighbour.cc.


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