ATLAS Offline Software
TrackRecord_p2.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 G4SIMTPCNV_TRACKRECORD_P2_H
6 #define G4SIMTPCNV_TRACKRECORD_P2_H
7 #include <string>
8 
10 public:
12  int PDG_code() const {return m_PDG_code;}
13  int status() const {return m_status;}
14  float energy() const {return m_energy;}
15  float momentumX() const {return m_momentumX;}
16  float momentumY() const {return m_momentumY;}
17  float momentumZ() const {return m_momentumZ;}
18  float positionX() const {return m_positionX;}
19  float positionY() const {return m_positionY;}
20  float positionZ() const {return m_positionZ;}
21  float time() const {return m_time;}
22  int uniqueID() const {return m_uniqueID;}
23  const std::string& volName() const {return m_volName;}
24  friend class TrackRecordCnv_p2;
25 
26 private:
27  int m_PDG_code{0};
28  int m_status{0};
29  float m_energy{0};
32  float m_time{0};
33  int m_uniqueID{0};
34  std::string m_volName{""};
35 };
36 
37 #endif // G4SIMTPCNV_TRACKRECORD_P2_H
TrackRecord_p2::time
float time() const
Definition: TrackRecord_p2.h:21
TrackRecordCnv_p2
Definition: TrackRecordCnv_p2.h:22
TrackRecord_p2
Definition: TrackRecord_p2.h:9
TrackRecord_p2::positionX
float positionX() const
Definition: TrackRecord_p2.h:18
TrackRecord_p2::TrackRecord_p2
TrackRecord_p2()
Definition: TrackRecord_p2.h:11
TrackRecord_p2::PDG_code
int PDG_code() const
Definition: TrackRecord_p2.h:12
TrackRecord_p2::m_momentumY
float m_momentumY
Definition: TrackRecord_p2.h:30
TrackRecord_p2::positionZ
float positionZ() const
Definition: TrackRecord_p2.h:20
TrackRecord_p2::momentumX
float momentumX() const
Definition: TrackRecord_p2.h:15
TrackRecord_p2::m_PDG_code
int m_PDG_code
Definition: TrackRecord_p2.h:27
TrackRecord_p2::m_positionZ
float m_positionZ
Definition: TrackRecord_p2.h:31
TrackRecord_p2::m_uniqueID
int m_uniqueID
Definition: TrackRecord_p2.h:33
TrackRecord_p2::m_energy
float m_energy
Definition: TrackRecord_p2.h:29
TrackRecord_p2::m_momentumZ
float m_momentumZ
Definition: TrackRecord_p2.h:30
TrackRecord_p2::m_positionY
float m_positionY
Definition: TrackRecord_p2.h:31
TrackRecord_p2::volName
const std::string & volName() const
Definition: TrackRecord_p2.h:23
TrackRecord_p2::positionY
float positionY() const
Definition: TrackRecord_p2.h:19
TrackRecord_p2::uniqueID
int uniqueID() const
Definition: TrackRecord_p2.h:22
TrackRecord_p2::status
int status() const
Definition: TrackRecord_p2.h:13
TrackRecord_p2::m_status
int m_status
Definition: TrackRecord_p2.h:28
TrackRecord_p2::energy
float energy() const
Definition: TrackRecord_p2.h:14
TrackRecord_p2::m_momentumX
float m_momentumX
Definition: TrackRecord_p2.h:30
TrackRecord_p2::m_volName
std::string m_volName
Definition: TrackRecord_p2.h:34
TrackRecord_p2::m_time
float m_time
Definition: TrackRecord_p2.h:32
TrackRecord_p2::momentumY
float momentumY() const
Definition: TrackRecord_p2.h:16
TrackRecord_p2::m_positionX
float m_positionX
Definition: TrackRecord_p2.h:31
TrackRecord_p2::momentumZ
float momentumZ() const
Definition: TrackRecord_p2.h:17