ATLAS Offline Software
Loading...
Searching...
No Matches
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
14class AtlasTrajectory : public G4Trajectory
15{
16
17public:
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
31private:
32
33 using G4Trajectory::DrawTrajectory;
34
37
38};
39
40#endif
AtlasTrajectory(const G4Track *aTrack, int subDetVolLevel)
Constructor.
void AppendStep(const G4Step *aStep)
Overriden from G4 in order to do vertex analysis.
int m_subDetVolLevel
The level in the G4 volume hierarchy at which can we find the sub-detector name.
void DrawTrajectory(G4int) const
Visualization stuff.