ATLAS Offline Software
Simulation
G4SimCnv
G4SimTPCnv
G4SimTPCnv
TrackRecord_p1.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TRACKRECORD_P1_H
6
#define TRACKRECORD_P1_H
7
#include <string>
8
9
class
TrackRecord_p1
{
10
public
:
11
TrackRecord_p1
() :
m_PDG_code
(0),
m_energy
(0),
12
m_momentumX
(0),
m_momentumY
(0),
m_momentumZ
(0),
13
m_positionX
(0),
m_positionY
(0),
m_positionZ
(0),
14
m_time
(0),
m_barCode
(0),
m_volName
(
""
) {};
15
int
PDG_code
()
const
{
return
m_PDG_code
;}
16
float
energy
()
const
{
return
m_energy
;}
17
float
momentumX
()
const
{
return
m_momentumX
;}
18
float
momentumY
()
const
{
return
m_momentumY
;}
19
float
momentumZ
()
const
{
return
m_momentumZ
;}
20
float
positionX
()
const
{
return
m_positionX
;}
21
float
positionY
()
const
{
return
m_positionY
;}
22
float
positionZ
()
const
{
return
m_positionZ
;}
23
float
time
()
const
{
return
m_time
;}
24
int
barCode
()
const
{
return
m_barCode
;}
25
const
std::string&
volName
()
const
{
return
m_volName
;}
26
friend
class
TrackRecordCnv_p1
;
27
28
private
:
29
int
m_PDG_code
;
30
float
m_energy
;
31
float
m_momentumX
,
m_momentumY
,
m_momentumZ
;
32
float
m_positionX
,
m_positionY
,
m_positionZ
;
33
float
m_time
;
34
int
m_barCode
;
35
std::string
m_volName
;
36
};
37
38
#endif
TrackRecord_p1::energy
float energy() const
Definition:
TrackRecord_p1.h:16
TrackRecord_p1::m_momentumX
float m_momentumX
Definition:
TrackRecord_p1.h:31
TrackRecord_p1::momentumY
float momentumY() const
Definition:
TrackRecord_p1.h:18
TrackRecord_p1::momentumZ
float momentumZ() const
Definition:
TrackRecord_p1.h:19
TrackRecord_p1::positionY
float positionY() const
Definition:
TrackRecord_p1.h:21
TrackRecord_p1::time
float time() const
Definition:
TrackRecord_p1.h:23
TrackRecordCnv_p1
Definition:
TrackRecordCnv_p1.h:22
TrackRecord_p1::m_volName
std::string m_volName
Definition:
TrackRecord_p1.h:35
TrackRecord_p1::barCode
int barCode() const
Definition:
TrackRecord_p1.h:24
TrackRecord_p1::m_momentumY
float m_momentumY
Definition:
TrackRecord_p1.h:31
TrackRecord_p1::m_positionZ
float m_positionZ
Definition:
TrackRecord_p1.h:32
TrackRecord_p1::TrackRecord_p1
TrackRecord_p1()
Definition:
TrackRecord_p1.h:11
TrackRecord_p1::m_time
float m_time
Definition:
TrackRecord_p1.h:33
TrackRecord_p1::m_positionX
float m_positionX
Definition:
TrackRecord_p1.h:32
TrackRecord_p1::momentumX
float momentumX() const
Definition:
TrackRecord_p1.h:17
TrackRecord_p1::m_energy
float m_energy
Definition:
TrackRecord_p1.h:30
TrackRecord_p1::positionX
float positionX() const
Definition:
TrackRecord_p1.h:20
TrackRecord_p1::volName
const std::string & volName() const
Definition:
TrackRecord_p1.h:25
TrackRecord_p1::m_positionY
float m_positionY
Definition:
TrackRecord_p1.h:32
TrackRecord_p1::m_momentumZ
float m_momentumZ
Definition:
TrackRecord_p1.h:31
TrackRecord_p1::m_PDG_code
int m_PDG_code
Definition:
TrackRecord_p1.h:29
TrackRecord_p1::PDG_code
int PDG_code() const
Definition:
TrackRecord_p1.h:15
TrackRecord_p1::positionZ
float positionZ() const
Definition:
TrackRecord_p1.h:22
TrackRecord_p1::m_barCode
int m_barCode
Definition:
TrackRecord_p1.h:34
TrackRecord_p1
Definition:
TrackRecord_p1.h:9
Generated on Thu Nov 7 2024 21:29:09 for ATLAS Offline Software by
1.8.18