Functions
RawUtil.cxx File Reference
#include "Utilities/RawUtil.h"
#include "art/Framework/Services/Registry/ServiceHandle.h"
#include "CMap/service/CMapService.h"
#include "Geometry/Geometry.h"
#include "RawData/RawDigit.h"
#include <cmath>
#include <algorithm>

Go to the source code of this file.

Functions

static bool digi_sort (const art::Ptr< rawdata::RawDigit > d1, const art::Ptr< rawdata::RawDigit > d2)
 Collection of basic utilities for working with raw digits. More...
 

Function Documentation

static bool digi_sort ( const art::Ptr< rawdata::RawDigit d1,
const art::Ptr< rawdata::RawDigit d2 
)
static

Collection of basic utilities for working with raw digits.

Author
messi.nosp@m.er@i.nosp@m.ndian.nosp@m.a.ed.nosp@m.u
Date
June 2011

Definition at line 19 of file RawUtil.cxx.

References rawdata::RawDigit::TDC().

Referenced by util::TimeSort().

21 {
22  return (d1->TDC()<d2->TDC());
23 }
int32_t TDC() const
The time of the last baseline sample.
Definition: RawDigit.h:94