ATLAS Offline Software
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 
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