Files
geant4/source/tracking/include/G4UserTrackingAction.hh
T
2016-06-08 15:55:53 +02:00

65 lines
1.5 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: G4UserTrackingAction.hh,v 1.5 1999/12/15 14:53:57 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
//
//
//---------------------------------------------------------------
//
// G4UserTrackingAction.hh
//
// Description:
// This class represents actions taken place by the user at each
// end of stepping.
//
// Contact:
// Questions and comments to this code should be sent to
// Katsuya Amako (e-mail: Katsuya.Amako@kek.jp)
// Takashi Sasaki (e-mail: Takashi.Sasaki@kek.jp)
//
//---------------------------------------------------------------
class G4UserTrackingAction;
#ifndef G4UserTrackingAction_h
#define G4UserTrackingAction_h 1
class G4TrackingManager; // Forward declaration
class G4Track;
///////////////////////////
class G4UserTrackingAction
///////////////////////////
{
//--------
public:
//--------
// Constructor & Destructor
G4UserTrackingAction(){;}
virtual ~G4UserTrackingAction(){;}
// Member functions
void SetTrackingManagerPointer(G4TrackingManager* pValue);
virtual void PreUserTrackingAction(const G4Track* aTrack){;}
virtual void PostUserTrackingAction(const G4Track* aTrack){;}
//-----------
protected:
//-----------
// Member data
G4TrackingManager* fpTrackingManager;
};
#endif