Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:29:49

0001 #ifndef SimG4Core_BeginOfTrack_H
0002 #define SimG4Core_BeginOfTrack_H
0003 
0004 #include "G4Track.hh"
0005 
0006 class BeginOfTrack {
0007 public:
0008   BeginOfTrack(const G4Track* tTrack) : aTrack(tTrack) {}
0009   const G4Track* operator()() const { return aTrack; }
0010 
0011 private:
0012   const G4Track* aTrack;
0013 };
0014 
0015 #endif