CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_4_5_patch3/src/SimG4Core/Notification/interface/BeginOfTrack.h

Go to the documentation of this file.
00001 #ifndef SimG4Core_BeginOfTrack_H
00002 #define SimG4Core_BeginOfTrack_H
00003 
00004 #include "G4Track.hh"
00005 
00006 class BeginOfTrack
00007 {
00008 public:
00009     BeginOfTrack(const G4Track * tTrack) : aTrack(tTrack) {}
00010     const G4Track * operator()() const { return aTrack; }
00011 private:
00012     const G4Track * aTrack;
00013 };
00014 
00015 #endif