Main Page
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
d
e
f
l
m
o
p
s
t
u
v
Related Functions
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Package Documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
PhysicsTools
UtilAlgos
interface
TwoObjectCalculator.h
Go to the documentation of this file.
1
#ifndef CommonTools_UtilAlgos_TwoObjectCalculator_H
2
#define CommonTools_UtilAlgos_TwoObjectCalculator_H
3
4
#include <string>
5
#include <cmath>
6
7
struct
CosDphiCalculator
{
8
template
<
typename
LHS,
typename
RHS >
double
operator()
(
const
LHS & lhs,
const
RHS & rhs){
9
double
cdphi =
cos
(lhs.phi()-rhs.phi());
10
return
cdphi;
11
}
12
static
std::string
calculationType
(){
return
"CosDphiCalculator"
;}
13
static
std::string
description
() {
return
" calculate cos(Delta Phi(Obj1, Obj2))"
;}
14
};
15
16
#endif
CosDphiCalculator::calculationType
static std::string calculationType()
Definition:
TwoObjectCalculator.h:12
CosDphiCalculator::description
static std::string description()
Definition:
TwoObjectCalculator.h:13
funct::cos
Cos< T >::type cos(const T &t)
Definition:
Cos.h:22
CosDphiCalculator::operator()
double operator()(const LHS &lhs, const RHS &rhs)
Definition:
TwoObjectCalculator.h:8
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
CosDphiCalculator
Definition:
TwoObjectCalculator.h:7
Generated for CMSSW Reference Manual by
1.8.16