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
n
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
c
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
src
RecoEcal
EgammaCoreTools
interface
ClusterEtLess.h
Go to the documentation of this file.
1
#ifndef RecoECAL_ECALClusters_ClusterEtLess_h
2
#define RecoECAL_ECALClusters_ClusterEtLess_h
3
4
#include "
DataFormats/CaloRecHit/interface/CaloCluster.h
"
5
6
// Less than operator for sorting EcalRecHits according to energy.
7
inline
bool
isClusterEtLess
(
const
reco::CaloCluster
&
x
,
const
reco::CaloCluster
&
y
) {
8
return
((
x
.energy() *
sin
(
x
.position().theta())) < (
y
.energy() *
sin
(
y
.position().theta())));
9
}
10
11
#endif
funct::sin
Sin< T >::type sin(const T &t)
Definition:
Sin.h:22
CaloCluster.h
reco::CaloCluster
Definition:
CaloCluster.h:31
isClusterEtLess
bool isClusterEtLess(const reco::CaloCluster &x, const reco::CaloCluster &y)
Definition:
ClusterEtLess.h:7
detailsBasic3DVector::y
float float y
Definition:
extBasic3DVector.h:14
x
float x
Definition:
beamSpotDipStandalone.cc:55
Generated for CMSSW Reference Manual by
1.8.14