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
PhysicsAnalysis
DerivationFramework
DerivationFrameworkMCTruth
src
TruthMetaDataWriter.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef DERIVATIONFRAMEWORK_TRUTHMETADATAWRITER_H
6
#define DERIVATIONFRAMEWORK_TRUTHMETADATAWRITER_H
7
8
#include "
AthenaBaseComps/AthAlgTool.h
"
9
#include "
CxxUtils/checker_macros.h
"
10
#include "
DerivationFrameworkInterfaces/IAugmentationTool.h
"
11
12
// Handles to services
13
#include "GaudiKernel/ServiceHandle.h"
14
15
// Service for the metadata (tag info)
16
#include "
EventInfoMgt/ITagInfoMgr.h
"
17
18
// EDM classes - typedefs, so have to #include them
19
#include "
xAODTruth/TruthMetaDataContainer.h
"
20
21
// Standard library includes
22
#include <string>
23
#include <unordered_set>
24
25
// Forward declarations
26
class
IHepMCWeightSvc
;
27
28
namespace
DerivationFramework
{
29
30
class
ATLAS_NOT_THREAD_SAFE
TruthMetaDataWriter
:
public
AthAlgTool
,
public
IAugmentationTool
{
31
// ^ meta-data handling in addBranches
32
public
:
33
TruthMetaDataWriter
(
const
std::string&
t
,
const
std::string&
n
,
const
IInterface*
p
);
34
~
TruthMetaDataWriter
();
35
virtual
StatusCode
initialize
()
override
;
36
virtual
StatusCode
addBranches()
const override
;
37
38
private
:
40
ServiceHandle< StoreGateSvc >
m_metaStore
;
42
ServiceHandle< IHepMCWeightSvc >
m_weightSvc
;
44
xAOD::TruthMetaDataContainer
* m_tmd =
nullptr
;
46
std::string
m_metaName
;
48
mutable
std::unordered_set<uint32_t>
m_existingMetaDataChan
;
50
ServiceHandle< ITagInfoMgr >
m_tagInfoMgr{
51
"TagInfoMgr"
,
name
()};
52
53
};
54
}
55
56
#endif
DerivationFramework::TruthMetaDataWriter::m_metaName
std::string m_metaName
SG key and name for meta data.
Definition:
TruthMetaDataWriter.h:46
IHepMCWeightSvc
IService to read/write HepMC's WeightContainer key names from/to IOVMetaDataContainers author: will b...
Definition:
IHepMCWeightSvc.h:18
ATLAS_NOT_THREAD_SAFE
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
Definition:
checker_macros.h:212
IAugmentationTool.h
initialize
void initialize()
Definition:
run_EoverP.cxx:894
ITagInfoMgr.h
DerivationFramework::TruthMetaDataWriter::m_weightSvc
ServiceHandle< IHepMCWeightSvc > m_weightSvc
Service for retrieving the weight names.
Definition:
TruthMetaDataWriter.h:42
read_hist_ntuple.t
t
Definition:
read_hist_ntuple.py:5
DerivationFramework::IAugmentationTool
Definition:
IAugmentationTool.h:24
DerivationFramework::TruthMetaDataWriter::m_metaStore
ServiceHandle< StoreGateSvc > m_metaStore
Connection to the metadata store.
Definition:
TruthMetaDataWriter.h:40
DerivationFramework::TruthMetaDataWriter
Definition:
TruthMetaDataWriter.h:30
python.utils.AtlRunQueryDQUtils.p
p
Definition:
AtlRunQueryDQUtils.py:210
beamspotman.n
n
Definition:
beamspotman.py:731
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
DerivationFramework
THE reconstruction tool.
Definition:
ParticleSortingAlg.h:24
DataVector
Derived DataVector<T>.
Definition:
DataVector.h:794
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:228
AthAlgTool
Definition:
AthAlgTool.h:26
checker_macros.h
Define macros for attributes used to control the static checker.
TruthMetaDataContainer.h
DerivationFramework::TruthMetaDataWriter::m_existingMetaDataChan
std::unordered_set< uint32_t > m_existingMetaDataChan
Set for tracking the mc channels for which we already added meta data.
Definition:
TruthMetaDataWriter.h:48
ServiceHandle< StoreGateSvc >
Generated on Fri Mar 14 2025 21:22:41 for ATLAS Offline Software by
1.8.18