CFEL - ASG Software Suite  2.5.0
CASS
Public Member Functions | Protected Attributes | List of all members
cass::weighted_minus Class Reference

binary function for weighted subtraction. More...

#include <convenience_functions.h>

+ Inheritance diagram for cass::weighted_minus:
+ Collaboration diagram for cass::weighted_minus:

Public Member Functions

 weighted_minus (float first_weight, float second_weight)
 constructor. More...
 
float operator() (const float first, const float second)
 operator More...
 

Protected Attributes

float _first_weight
 
float _second_weight
 

Detailed Description

binary function for weighted subtraction.

Author
Lutz Foucar

Definition at line 87 of file convenience_functions.h.

Constructor & Destructor Documentation

cass::weighted_minus::weighted_minus ( float  first_weight,
float  second_weight 
)
inline

constructor.

Parameters
first_weightthe weight value of the first histogram
second_weightthe weight value of the second histogram

Definition at line 95 of file convenience_functions.h.

Member Function Documentation

float cass::weighted_minus::operator() ( const float  first,
const float  second 
)
inline

operator

Definition at line 99 of file convenience_functions.h.

References _first_weight, and _second_weight.

Member Data Documentation

float cass::weighted_minus::_first_weight
protected

Definition at line 102 of file convenience_functions.h.

Referenced by operator()().

float cass::weighted_minus::_second_weight
protected

Definition at line 102 of file convenience_functions.h.

Referenced by operator()().


The documentation for this class was generated from the following file: