ATLAS Offline Software
Simulation
G4Sim
MCTruthBase
MCTruthBase
AtlasTrajectory.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 MCTruthBase_AtlasTrajectory_H
6
#define MCTruthBase_AtlasTrajectory_H
7
8
#include "G4Trajectory.hh"
9
14
class
AtlasTrajectory
:
public
G4Trajectory
15
{
16
17
public
:
18
20
AtlasTrajectory
(
const
G4Track* aTrack,
int
subDetVolLevel);
21
23
void
AppendStep
(
const
G4Step* aStep);
24
26
#if G4VERSION_NUMBER >= 1010
27
void
DrawTrajectory
()
const override
{
DrawTrajectory
(0); }
28
#endif
29
void
DrawTrajectory
(G4int)
const
;
30
31
private
:
32
33
using
G4Trajectory::DrawTrajectory;
34
36
int
m_subDetVolLevel
;
37
38
};
39
40
#endif
AtlasTrajectory::DrawTrajectory
void DrawTrajectory(G4int) const
Visualization stuff.
Definition:
AtlasTrajectory.cxx:49
AtlasTrajectory::AtlasTrajectory
AtlasTrajectory(const G4Track *aTrack, int subDetVolLevel)
Constructor.
Definition:
AtlasTrajectory.cxx:19
AtlasTrajectory::m_subDetVolLevel
int m_subDetVolLevel
The level in the G4 volume hierarchy at which can we find the sub-detector name.
Definition:
AtlasTrajectory.h:36
AtlasTrajectory
Class to store G4 trajectory information.
Definition:
AtlasTrajectory.h:15
AtlasTrajectory::AppendStep
void AppendStep(const G4Step *aStep)
Overriden from G4 in order to do vertex analysis.
Definition:
AtlasTrajectory.cxx:24
Generated on Thu Nov 7 2024 21:10:29 for ATLAS Offline Software by
1.8.18