Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
wire-cell-build
iface
inc
WireCellIface
IFrameSlicer.h
Go to the documentation of this file.
1
#ifndef WIRECELL_IFRAMESLICER
2
#define WIRECELL_IFRAMESLICER
3
4
#include "
WireCellUtil/IComponent.h
"
5
#include "
WireCellIface/IFunctionNode.h
"
6
#include "
WireCellIface/IFrame.h
"
7
#include "
WireCellIface/ISliceFrame.h
"
8
9
namespace
WireCell
{
10
11
/** A frame slicer conceptually performs a transpose of a frame
12
* from being tick-major order to being channel-major while on the
13
* way possibly rebinning the per-tick samples by applying some
14
* metric function (typically just a sum) and possibly some
15
* uncertainty function.
16
*
17
* Note, there could be a closely related IQueuedoutNode which
18
* instead returns a queue of ISlice which might be more suited to
19
* stream processing. OTOH, implementations of this IFrameSlicer
20
* are expected produce an ISliceFrame which spans the same time
21
* as the input IFrame.
22
*/
23
class
IFrameSlicer
:
public
IFunctionNode
<IFrame,ISliceFrame>
24
{
25
public
:
26
typedef
std::shared_ptr<IFrameSlicer>
pointer
;
27
28
virtual
~IFrameSlicer
() ;
29
30
virtual
std::string
signature
() {
31
return
typeid
(
IFrameSlicer
).
name
();
32
}
33
34
// supply:
35
// virtual bool operator()(const input_pointer& in, output_pointer& out);
36
37
};
38
39
40
}
41
42
#endif
name
static QCString name
Definition:
declinfo.cpp:673
string
std::string string
Definition:
nybbler.cc:12
WireCell::IFrameSlicer::pointer
std::shared_ptr< IFrameSlicer > pointer
Definition:
IFrameSlicer.h:26
IComponent.h
IFrame.h
WireCell
Definition:
Main.h:22
IFunctionNode.h
WireCell::IFrameSlicer::signature
virtual std::string signature()
Set the signature for all subclasses.
Definition:
IFrameSlicer.h:30
WireCell::IFrameSlicer
Definition:
IFrameSlicer.h:23
WireCell::IFunctionNode
Definition:
IFunctionNode.h:34
ISliceFrame.h
WireCell::IFrameSlicer::~IFrameSlicer
virtual ~IFrameSlicer()
Definition:
IfaceDesctructors.cxx:139
Generated by
1.8.11