#include <TwoObjectCalculator.h>
Public Member Functions | |
template<typename LHS , typename RHS > | |
double | operator() (const LHS &lhs, const RHS &rhs) |
Static Public Member Functions | |
static std::string | calculationType () |
static std::string | description () |
Definition at line 4 of file TwoObjectCalculator.h.
static std::string CosDphiCalculator::calculationType | ( | ) | [inline, static] |
Definition at line 9 of file TwoObjectCalculator.h.
{ return "CosDphiCalculator";}
static std::string CosDphiCalculator::description | ( | ) | [inline, static] |
Definition at line 10 of file TwoObjectCalculator.h.
{ return " calculate cos(Delta Phi(Obj1, Obj2))";}
double CosDphiCalculator::operator() | ( | const LHS & | lhs, |
const RHS & | rhs | ||
) | [inline] |
Definition at line 5 of file TwoObjectCalculator.h.
References funct::cos().
{ double cdphi = cos(lhs.phi()-rhs.phi()); return cdphi; }