57 lines
1.3 KiB
C++
57 lines
1.3 KiB
C++
// This code implementation is the intellectual property of
|
|
// the GEANT4 collaboration.
|
|
//
|
|
// By copying, distributing or modifying the Program (or any work
|
|
// based on the Program) you indicate your acceptance of this statement,
|
|
// and all its terms.
|
|
//
|
|
// $Id: G4RTTrackingAction.hh,v 1.3 2000/03/09 17:38:32 asaim Exp $
|
|
// GEANT4 tag $Name: geant4-03-00 $
|
|
//
|
|
//
|
|
|
|
// class description:
|
|
//
|
|
// This is a concrete class of G4UserTrackingAction. This class is used
|
|
// by G4RayTracer for managing a ray tracked through volumes. An object
|
|
// of this class is constructed by G4RayTracer and set to G4TrackingManager
|
|
// with replacement of user defined tracking action during the period of
|
|
// ray tracing.
|
|
//
|
|
|
|
///////////////////////
|
|
//G4RTTrackingAction.hh
|
|
///////////////////////
|
|
|
|
|
|
#ifndef G4RTTrackingAction_h
|
|
#define G4RTTrackingAction_h 1
|
|
|
|
#include "G4UserTrackingAction.hh"
|
|
|
|
class G4Track;
|
|
|
|
///////////////////////////
|
|
class G4RTTrackingAction : public G4UserTrackingAction
|
|
///////////////////////////
|
|
{
|
|
|
|
//--------
|
|
public:
|
|
//--------
|
|
|
|
// Constructor & Destructor
|
|
G4RTTrackingAction(){;}
|
|
virtual ~G4RTTrackingAction(){;}
|
|
|
|
// Member functions
|
|
virtual void PreUserTrackingAction(const G4Track* aTrack);
|
|
virtual void PostUserTrackingAction(const G4Track* aTrack){;}
|
|
|
|
|
|
};
|
|
|
|
#endif
|
|
|
|
|