Classes | Namespaces | Functions
LazyFrameSource.cxx File Reference
#include "LazyFrameSource.h"
#include "art/Framework/Principal/Handle.h"
#include "lardataobj/RawData/RawDigit.h"
#include "art/Framework/Principal/Event.h"
#include "art/Framework/Principal/Run.h"
#include "TTimeStamp.h"
#include "WireCellIface/IFrame.h"
#include "WireCellUtil/NamedFactory.h"

Go to the source code of this file.

Classes

class  wcls::LazyTrace
 
class  wcls::LazyFrame
 

Namespaces

 wcls
 

Functions

 WIRECELL_FACTORY (wclsLazyFrameSource, wcls::LazyFrameSource, wcls::IArtEventVisitor, WireCell::IFrameSource) using namespace wcls
 
static double tdiff (const art::Timestamp &ts1, const art::Timestamp &ts2)
 

Function Documentation

static double tdiff ( const art::Timestamp ts1,
const art::Timestamp ts2 
)
static

Definition at line 156 of file LazyFrameSource.cxx.

157 {
158  TTimeStamp tts1(ts1.timeHigh(), ts1.timeLow());
159  TTimeStamp tts2(ts2.timeHigh(), ts2.timeLow());
160  return tts2.AsDouble() - tts1.AsDouble();
161 }
constexpr std::uint32_t timeLow() const
Definition: Timestamp.h:29
constexpr std::uint32_t timeHigh() const
Definition: Timestamp.h:34
WIRECELL_FACTORY ( wclsLazyFrameSource  ,
wcls::LazyFrameSource  ,
wcls::IArtEventVisitor  ,
WireCell::IFrameSource   
)