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
Generators
TruthIO
TruthIO
WriteHepMC.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TRUTHIO_WRITEHEPMC_H
6
#define TRUTHIO_WRITEHEPMC_H
7
8
#include "
GeneratorModules/GenBase.h
"
9
#include "
AtlasHepMC/IO_GenEvent.h
"
10
#include <memory>
11
12
14
class
WriteHepMC
:
public
GenBase
{
15
public
:
16
17
WriteHepMC
(
const
std::string&
name
, ISvcLocator* pSvcLocator);
18
StatusCode
initialize
();
19
StatusCode
execute
();
20
21
std::string
m_outfile
;
22
int
m_precision
;
23
24
#ifdef HEPMC3
25
std::unique_ptr<HepMC3::WriterAsciiHepMC2>
m_hepmcio
;
26
#else
27
std::unique_ptr<HepMC::IO_GenEvent>
m_hepmcio
;
28
29
#endif
30
};
31
32
#endif
WriteHepMC
Write the MC event record to file in IO_GenEvent text format.
Definition:
WriteHepMC.h:14
IO_GenEvent.h
WriteHepMC::m_outfile
std::string m_outfile
Definition:
WriteHepMC.h:21
WriteHepMC::m_hepmcio
std::unique_ptr< HepMC::IO_GenEvent > m_hepmcio
Definition:
WriteHepMC.h:27
WriteHepMC::m_precision
int m_precision
Definition:
WriteHepMC.h:22
GenBase
Base class for common behaviour of MC truth algorithms.
Definition:
GenBase.h:47
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
GenBase.h
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:240
WriteHepMC::WriteHepMC
WriteHepMC(const std::string &name, ISvcLocator *pSvcLocator)
Definition:
WriteHepMC.cxx:8
WriteHepMC::initialize
StatusCode initialize()
Definition:
WriteHepMC.cxx:16
WriteHepMC::execute
StatusCode execute()
Definition:
WriteHepMC.cxx:29
Generated on Thu Apr 17 2025 21:22:39 for ATLAS Offline Software by
1.8.18