CMS 3D CMS Logo

BeginOfTrack.h
Go to the documentation of this file.
1 #ifndef SimG4Core_BeginOfTrack_H
2 #define SimG4Core_BeginOfTrack_H
3 
4 #include "G4Track.hh"
5 
7 {
8 public:
9  BeginOfTrack(const G4Track * tTrack) : aTrack(tTrack) {}
10  const G4Track * operator()() const { return aTrack; }
11 private:
12  const G4Track * aTrack;
13 };
14 
15 #endif
const G4Track * aTrack
Definition: BeginOfTrack.h:12
const G4Track * operator()() const
Definition: BeginOfTrack.h:10
BeginOfTrack(const G4Track *tTrack)
Definition: BeginOfTrack.h:9