Pixie16 Analysis Software Suite
Analysis code for processing of .ldf files
ChanEvent.hpp File Reference

A Class to define what a channel event is. More...

#include <vector>
#include "DetectorLibrary.hpp"
#include "pixie16app_defs.h"
#include "Identifier.hpp"
#include "Globals.hpp"
#include "Trace.hpp"
Include dependency graph for ChanEvent.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  ChanEvent
 A channel event. More...
 

Functions

bool CompareCorrectedTime (const ChanEvent *a, const ChanEvent *b)
 
bool CompareTime (const ChanEvent *a, const ChanEvent *b)
 

Detailed Description

A Class to define what a channel event is.

Function Documentation

bool CompareCorrectedTime ( const ChanEvent a,
const ChanEvent b 
)

Sort by increasing corrected time

Parameters
[in]a: the left hand side for comparison
[in]b: the right hand side for comparison
Returns
True if LHS is less the RHS
bool CompareTime ( const ChanEvent a,
const ChanEvent b 
)

Sort by increasing raw time

Parameters
[in]a: the left hand side for comparison
[in]b: the right hand side for comparison
Returns
True if LHS is less the RHS