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
RecoEcal
EgammaCoreTools
interface
EcalClusterSeverityLevelAlgo.h
Go to the documentation of this file.
1
#ifndef RecoEcal_EgammaCoreTools_EcalClusterSeverityLevelAlgo_hh
2
#define RecoEcal_EgammaCoreTools_EcalClusterSeverityLevelAlgo_hh
3
4
#include "
DataFormats/DetId/interface/DetId.h
"
5
#include "
DataFormats/CaloRecHit/interface/CaloCluster.h
"
6
#include "
DataFormats/EcalRecHit/interface/EcalRecHitCollections.h
"
7
#include "
RecoLocalCalo/EcalRecAlgos/interface/EcalSeverityLevelAlgo.h
"
8
#include "
CondFormats/EcalObjects/interface/EcalChannelStatus.h
"
9
#include "
FWCore/Framework/interface/EventSetup.h
"
10
11
class
CaloTopology
;
12
class
EBDetId
;
13
class
EcalClusterSeverityLevelAlgo
{
14
public
:
15
// the severity is the fraction of cluster energy
16
// taken by good channels
17
// (e.g. not noisy, dead and recovered etc.)
18
static
float
goodFraction
(
const
reco::CaloCluster
&,
const
EcalRecHitCollection
&,
const
EcalSeverityLevelAlgo
&);
19
// fraction of SC energy around closest problematic
20
static
float
fractionAroundClosestProblematic
(
const
reco::CaloCluster
&,
21
const
EcalRecHitCollection
&,
22
const
CaloTopology
* topology,
23
const
EcalSeverityLevelAlgo
&);
24
// retrieve closest problematic channel wrt seed crystal using as distance sqrt(ieta^2+ieta^2+iphi^2+iphi^2). Return a null detId in case not found within a search region of 11 (ieta) x 51 (iphi)
25
static
DetId
closestProblematic
(
const
reco::CaloCluster
&,
26
const
EcalRecHitCollection
&,
27
const
CaloTopology
* topology,
28
const
EcalSeverityLevelAlgo
&);
29
// retrieve the distance in ieta,iphi (number of crystals) of the closest problematic channel wrt seed crystal (defined as above)
30
// return -1,-1 if no crystal is found within a search region of 11 (eta) x 51 (phi)
31
static
std::pair<int, int>
etaphiDistanceClosestProblematic
(
const
reco::CaloCluster
&,
32
const
EcalRecHitCollection
&,
33
const
CaloTopology
* topology,
34
const
EcalSeverityLevelAlgo
&);
35
};
36
37
#endif
EcalSeverityLevelAlgo
Definition:
EcalSeverityLevelAlgo.h:33
EcalClusterSeverityLevelAlgo::fractionAroundClosestProblematic
static float fractionAroundClosestProblematic(const reco::CaloCluster &, const EcalRecHitCollection &, const CaloTopology *topology, const EcalSeverityLevelAlgo &)
Definition:
EcalClusterSeverityLevelAlgo.cc:36
EBDetId
Definition:
EBDetId.h:17
edm::SortedCollection< EcalRecHit >
EcalClusterSeverityLevelAlgo::closestProblematic
static DetId closestProblematic(const reco::CaloCluster &, const EcalRecHitCollection &, const CaloTopology *topology, const EcalSeverityLevelAlgo &)
Definition:
EcalClusterSeverityLevelAlgo.cc:74
CaloTopology
Definition:
CaloTopology.h:19
EcalRecHitCollections.h
DetId
Definition:
DetId.h:17
reco::CaloCluster
Definition:
CaloCluster.h:31
EcalSeverityLevelAlgo.h
EcalClusterSeverityLevelAlgo::etaphiDistanceClosestProblematic
static std::pair< int, int > etaphiDistanceClosestProblematic(const reco::CaloCluster &, const EcalRecHitCollection &, const CaloTopology *topology, const EcalSeverityLevelAlgo &)
Definition:
EcalClusterSeverityLevelAlgo.cc:112
DetId.h
EventSetup.h
EcalClusterSeverityLevelAlgo
Definition:
EcalClusterSeverityLevelAlgo.h:13
EcalChannelStatus.h
EcalClusterSeverityLevelAlgo::goodFraction
static float goodFraction(const reco::CaloCluster &, const EcalRecHitCollection &, const EcalSeverityLevelAlgo &)
Definition:
EcalClusterSeverityLevelAlgo.cc:10
CaloCluster.h
Generated for CMSSW Reference Manual by
1.8.16