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
w
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
CaloRec
src
CaloCellDumper.h
Go to the documentation of this file.
1
//Dear emacs, this is -*-c++-*-
2
3
/*
4
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
#include "
AthenaBaseComps/AthAlgorithm.h
"
8
#include "
StoreGate/ReadHandleKey.h
"
9
#include "
CaloEvent/CaloCellContainer.h
"
10
11
#include <fstream>
12
13
14
15
class
CaloCellDumper
:
public
AthAlgorithm
{
16
17
public
:
18
CaloCellDumper
(
const
std::string&
name
, ISvcLocator * pSvcLocator);
19
20
virtual
StatusCode
initialize
()
override
;
21
virtual
StatusCode
execute
()
override
;
22
23
virtual
StatusCode
finalize
()
override
;
24
25
private
:
26
std::ofstream
m_outfile
;
27
std::ifstream
m_reffile
;
28
SG::ReadHandleKey<CaloCellContainer>
m_key
{
this
,
"InputContainer"
,
"AllCalo"
,
"Input CaloCellContainer key"
};
29
Gaudi::Property<std::string>
m_fileName
{
this
,
"FileName"
,
"CaloCells.txt"
,
"Name of the output text file"
};
30
Gaudi::Property<std::string>
m_refName
{
this
,
"RefName"
,
""
,
"Name of reference file to which cells are to be compared."
};
31
Gaudi::Property<float>
m_eCut
{
this
,
"EnergyCut"
,std::numeric_limits<float>::lowest(),
"Energy cut for cell dumping"
};
32
Gaudi::Property<bool>
m_compact
{
this
,
"Compact"
,
true
,
"compact or detailed cell identifer"
};
33
34
};
35
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
CaloCellDumper::m_refName
Gaudi::Property< std::string > m_refName
Definition:
CaloCellDumper.h:30
CaloCellDumper::CaloCellDumper
CaloCellDumper(const std::string &name, ISvcLocator *pSvcLocator)
Definition:
CaloCellDumper.cxx:23
CaloCellDumper::m_reffile
std::ifstream m_reffile
Definition:
CaloCellDumper.h:27
CaloCellDumper::m_key
SG::ReadHandleKey< CaloCellContainer > m_key
Definition:
CaloCellDumper.h:28
CaloCellDumper::m_eCut
Gaudi::Property< float > m_eCut
Definition:
CaloCellDumper.h:31
SG::ReadHandleKey< CaloCellContainer >
CaloCellDumper::m_compact
Gaudi::Property< bool > m_compact
Definition:
CaloCellDumper.h:32
AthAlgorithm.h
CaloCellDumper::execute
virtual StatusCode execute() override
Definition:
CaloCellDumper.cxx:62
CaloCellDumper::finalize
virtual StatusCode finalize() override
Definition:
CaloCellDumper.cxx:52
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgorithm
Definition:
AthAlgorithm.h:47
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:240
CaloCellContainer.h
CaloCellDumper
Definition:
CaloCellDumper.h:15
CaloCellDumper::m_outfile
std::ofstream m_outfile
Definition:
CaloCellDumper.h:26
CaloCellDumper::m_fileName
Gaudi::Property< std::string > m_fileName
Definition:
CaloCellDumper.h:29
CaloCellDumper::initialize
virtual StatusCode initialize() override
Definition:
CaloCellDumper.cxx:27
Generated on Fri May 9 2025 21:07:09 for ATLAS Offline Software by
1.8.18