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
Simulation
G4SimCnv
G4SimTPCnv
G4SimTPCnv
TrackRecordStreamer_p0.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 TRACKRECORDSTREAMER_P0_H
6
#define TRACKRECORDSTREAMER_P0_H
7
8
#include "
AthenaPoolServices/T_AthenaRootConverter.h
"
9
#include "
G4SimTPCnv/TrackRecord_p0.h
"
10
#include "
TrackRecord/TrackRecord.h
"
11
12
//#include <iostream>
13
14
class
TrackRecordStreamer_p0
15
:
public
T_AthenaRootConverter
<TrackRecord, TrackRecord_p0 >
16
{
17
public
:
18
TrackRecordStreamer_p0
() {
19
SetClassNameAndChecksum
(
"TrackRecord"
, 275360258U);
20
}
21
22
void
CopyOldToNew
(
const
TrackRecord_p0
&old_obj,
TrackRecord
&new_obj )
23
{
24
25
TrackRecord_p0
a
(old_obj);
26
new_obj=
TrackRecord
();
27
new_obj.
SetPDGCode
(
a
.GetPDGCode());
28
new_obj.
SetEnergy
(
a
.GetEnergy());
29
new_obj.
SetMomentum
(
a
.GetMomentum());
30
new_obj.
SetPosition
(
a
.GetPosition());
31
new_obj.
SetTime
(0.);
32
new_obj.
SetBarcode
(0);
33
new_obj.
SetVolName
(
"None"
);
34
}
35
36
};
37
38
39
40
#endif
TrackRecordStreamer_p0::TrackRecordStreamer_p0
TrackRecordStreamer_p0()
Definition:
TrackRecordStreamer_p0.h:18
TrackRecordStreamer_p0
Definition:
TrackRecordStreamer_p0.h:16
TrackRecord::SetPDGCode
void SetPDGCode(int pcode)
Set PDG code.
Definition:
TrackRecord.h:103
T_AthenaRootConverter
Definition:
T_AthenaRootConverter.h:65
TrackRecord::SetVolName
void SetVolName(const std::string &theName)
Set Volume name.
Definition:
TrackRecord.h:115
TrackRecord::SetTime
void SetTime(double time)
Set time.
Definition:
TrackRecord.h:109
TrackRecord::SetPosition
void SetPosition(CLHEP::Hep3Vector p)
Set position.
Definition:
TrackRecord.h:91
TrackRecord::SetBarcode
void SetBarcode(int barcode)
Set barcode.
Definition:
TrackRecord.h:138
TrackRecord.h
TrackRecord::SetMomentum
void SetMomentum(CLHEP::Hep3Vector e)
Set momentum.
Definition:
TrackRecord.h:97
TrackRecord_p0
Definition:
TrackRecord_p0.h:10
TrackRecord
Definition:
TrackRecord.h:12
a
TList * a
Definition:
liststreamerinfos.cxx:10
T_AthenaRootConverterBase::SetClassNameAndChecksum
void SetClassNameAndChecksum(const std::string &classname, unsigned checksum)
Set the name of the class for which this converter is implemented and the particualar ROOT streamerIn...
Definition:
T_AthenaRootConverter.h:55
T_AthenaRootConverter.h
Athena ROOT Streaming Converter - template class to be extended by a user prividing a conversion func...
TrackRecord::SetEnergy
void SetEnergy(double e)
Set energy.
Definition:
TrackRecord.h:85
TrackRecord_p0.h
TrackRecordStreamer_p0::CopyOldToNew
void CopyOldToNew(const TrackRecord_p0 &old_obj, TrackRecord &new_obj)
The converter function which copies the content of the object from its old shape to the new shape To ...
Definition:
TrackRecordStreamer_p0.h:22
Generated on Wed Apr 16 2025 21:21:12 for ATLAS Offline Software by
1.8.18