1 #ifndef CommonTools_UtilAlgos_TwoObjectCalculator_H
2 #define CommonTools_UtilAlgos_TwoObjectCalculator_H
5 template <
typename LHS,
typename RHS >
double operator()(
const LHS & lhs,
const RHS & rhs){
6 double cdphi =
cos(lhs.phi()-rhs.phi());
10 static std::string
description() {
return " calculate cos(Delta Phi(Obj1, Obj2))";}
double operator()(const LHS &lhs, const RHS &rhs)
static std::string description()
Cos< T >::type cos(const T &t)
static std::string calculationType()