#include "WireCellGen/Framer.h"
#include "WireCellIface/SimpleChannelSlice.h"
#include "WireCellUtil/Testing.h"
#include "WireCellUtil/Units.h"
#include <iostream>
Go to the source code of this file.
Definition at line 13 of file _test_framer.cxx.
25 IFramer::output_queue frameq;
27 cerr <<
"test_framer: frame queue size: " << frameq.size() <<
endl;
28 Assert(frameq.size() == 1);
33 Assert(frame->time() == the_time);
34 ITrace::shared_vector traces = frame->traces();
37 int ntraces = traces->size();
39 cerr <<
"test_framer: Frame: #" << frame->ident()
41 <<
" with " << ntraces <<
" traces" 44 for (
auto trace : *traces) {
45 cerr <<
"\ttrace ch:" <<
trace->channel()
46 <<
" start tbin=" <<
trace->tbin()
47 <<
" #time bins=" <<
trace->charge().size()
52 Assert(framer(
nullptr,frameq));
53 Assert(frameq.size() == 1);
microsecond_as<> microsecond
Type of time stored in microseconds, in double precision.
const GenericPointer< typename T::ValueType > & pointer
QTextStream & endl(QTextStream &s)