HOPS
HOPS class reference
MHO_NormFX.hh
Go to the documentation of this file.
1 #ifndef MHO_NormFX_HH__
2 #define MHO_NormFX_HH__
3 
4 #include <cmath>
5 #include <complex>
6 
8 #include "MHO_TableContainer.hh"
9 #include "MHO_UnaryOperator.hh"
10 
11 namespace hops
12 {
13 
26 class MHO_NormFX: public MHO_UnaryOperator< visibility_type >
27 {
28  public:
29  MHO_NormFX(): fWeights(nullptr){};
30  virtual ~MHO_NormFX(){};
31 
37  void SetWeights(weight_type* w) { fWeights = w; }
38 
39  protected:
41 
49  virtual bool InitializeInPlace(XArgType* in) = 0;
58  virtual bool InitializeOutOfPlace(const XArgType* in, XArgType* out) = 0;
59 
67  virtual bool ExecuteInPlace(XArgType* in) = 0;
76  virtual bool ExecuteOutOfPlace(const XArgType* in, XArgType* out) = 0;
77 
79 };
80 
81 } // namespace hops
82 
83 #endif
Class MHO_NormFX.
Definition: MHO_NormFX.hh:27
MHO_NormFX()
Definition: MHO_NormFX.hh:29
void SetWeights(weight_type *w)
Setter for weights.
Definition: MHO_NormFX.hh:37
virtual bool InitializeInPlace(XArgType *in)=0
Function InitializeInPlace.
weight_type * fWeights
Definition: MHO_NormFX.hh:78
virtual bool InitializeOutOfPlace(const XArgType *in, XArgType *out)=0
Function InitializeOutOfPlace.
virtual bool ExecuteInPlace(XArgType *in)=0
Function ExecuteInPlace.
virtual ~MHO_NormFX()
Definition: MHO_NormFX.hh:30
virtual bool ExecuteOutOfPlace(const XArgType *in, XArgType *out)=0
Function ExecuteOutOfPlace.
Class MHO_UnaryOperator.
Definition: MHO_UnaryOperator.hh:24
Definition: MHO_ChannelLabeler.hh:17
MHO_TableContainer< visibility_element_type, baseline_axis_pack > visibility_type
Definition: MHO_BaselineContainers.hh:52