AlcapDAQ  1
Functions
MaxBinCFAPGenerator.cpp File Reference
#include "MaxBinCFAPGenerator.h"
#include "TPulseIsland.h"
#include "TAnalysedPulse.h"
#include "TVAnalysedPulseGenerator.h"
#include <algorithm>
#include <vector>

Go to the source code of this file.

Functions

static bool IsTimeOrdered (TAnalysedPulse *a, TAnalysedPulse *b)
 

Function Documentation

static bool IsTimeOrdered ( TAnalysedPulse a,
TAnalysedPulse b 
)
static

Definition at line 13 of file MaxBinCFAPGenerator.cpp.

References TAnalysedPulse::GetTime().

Referenced by MaxBinCFAPGenerator::ProcessPulses().

13  {
14  // Want a to be before b
15  return ( a->GetTime() < b->GetTime() );
16 }