NSCL DDAS  12.1-001
Support for XIA DDAS at FRIB
Classes | Namespaces | Functions
RawChannel.h File Reference

Defines a raw channel hit storage struct for Readout/sorting. More...

#include <stdint.h>
#include <stddef.h>
Include dependency graph for RawChannel.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  DDASReadout::RawChannel
 A struct containing a pointer to a hit and its properties. More...
 

Namespaces

 DDASReadout
 

Functions

bool operator< (const DDASReadout::RawChannel &c1, const DDASReadout::RawChannel &c2)
 operator< More...
 
bool operator> (const DDASReadout::RawChannel &c1, const DDASReadout::RawChannel &c2)
 operator> More...
 
bool operator== (const DDASReadout::RawChannel &c1, const DDASReadout::RawChannel &c2)
 operator== More...
 

Detailed Description

Defines a raw channel hit storage struct for Readout/sorting.

Function Documentation

◆ operator<()

bool operator< ( const DDASReadout::RawChannel c1,
const DDASReadout::RawChannel c2 
)

operator<

Parameters
c1,c2Channels with timestamps for comparison.
Returns
bool
Return values
trueIf c1 time < c2 time.
falseOtherwise.

Assumes SetTime() has been called.

◆ operator==()

bool operator== ( const DDASReadout::RawChannel c1,
const DDASReadout::RawChannel c2 
)

operator==

Parameters
c1,c2Channels with timestamps for comparison.
Returns
bool
Return values
trueIf c1 time, c2 time are equal.
falseOtherwise.

Assumes SetTime() has been called.

◆ operator>()

bool operator> ( const DDASReadout::RawChannel c1,
const DDASReadout::RawChannel c2 
)

operator>

Parameters
c1,c2Channels with timestamps for comparison.
Returns
bool
Return values
trueIf c1 time > c2 time.
falseOtherwise.

Assumes SetTime() has been called.