CMS 3D CMS Logo

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