Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
Main Page
Related Pages
Modules
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
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
y
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
Properties
Related Functions
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
v
w
x
z
Files
File List
File 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
l
m
n
o
p
q
r
s
t
u
v
w
x
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
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
x
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
Macros
_
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
GitLab
LXR
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Calorimeter
CaloUtils
CaloUtils
CaloBadCellHelper.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef CALOBADCELLHELPER_H
6
#define CALOBADCELLHELPER_H
7
//-----------------------------------------------------------------------
8
// File and Version Information:
9
// $Id: CaloBadCellHelper.h 1.0 2010-04-16 22:19:05 menke Exp $
10
//
11
// Description: tests a cell for badness and returns true if it can not
12
// be guessed from L1 trigger info
13
//
14
// Environment:
15
// Software developed for the ATLAS Detector at the CERN LHC
16
//
17
// Author List:
18
// Sven Menke, Guillaume Unal
19
//
20
//-----------------------------------------------------------------------
21
22
#include "
CaloEvent/CaloCell.h
"
23
24
struct
CaloBadCellHelper
25
{
26
public
:
27
static
bool
isBad
(
const
CaloCell
* pCell,
bool
treatL1PredictedCellsAsGood) {
28
bool
badcell=
false
;
29
if
(pCell->
badcell
() ) {
30
if
(treatL1PredictedCellsAsGood) {
31
const
CaloDetDescrElement
* caloDDE = pCell->
caloDDE
();
32
if
(caloDDE) {
33
int
theCellSubCalo = caloDDE->
getSubCalo
();
34
if
( (theCellSubCalo ==
CaloCell_ID::TILE
) ||
35
!((pCell->
provenance
()) & 0x0200) )
36
badcell=
true
;
37
}
38
}
39
else
40
badcell=
true
;
41
}
42
return
badcell;
43
}
44
};
45
46
#endif // CALOBADCELLHELPER_H
47
CaloDetDescrElement
This class groups all DetDescr information related to a CaloCell. Provides a generic interface for al...
Definition:
Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h:66
CaloCell.h
CaloCell::provenance
uint16_t provenance() const
get provenance (data member)
Definition:
CaloCell.h:338
CaloDetDescrElement::getSubCalo
CaloCell_ID::SUBCALO getSubCalo() const
cell subcalo
Definition:
Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h:433
CaloCell::caloDDE
const CaloDetDescrElement * caloDDE() const
get pointer to CaloDetDescrElement (data member)
Definition:
CaloCell.h:305
CaloCell::badcell
virtual bool badcell() const
check is cell is dead
Definition:
CaloCell.cxx:210
CaloCell_Base_ID::TILE
@ TILE
Definition:
CaloCell_Base_ID.h:46
CaloBadCellHelper
Definition:
CaloBadCellHelper.h:25
CaloCell
Data object for each calorimeter readout cell.
Definition:
CaloCell.h:57
CaloBadCellHelper::isBad
static bool isBad(const CaloCell *pCell, bool treatL1PredictedCellsAsGood)
Definition:
CaloBadCellHelper.h:27
Generated on Mon Mar 24 2025 21:07:54 for ATLAS Offline Software by
1.8.18