65 lines
1.5 KiB
C++
65 lines
1.5 KiB
C++
// This code implementation is the intellectual property of
|
|
// the RD44 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.3 1999/04/15 08:47:10 asaim Exp $
|
|
// GEANT4 tag $Name: geant4-00-01 $
|
|
//
|
|
//
|
|
//---------------------------------------------------------------
|
|
//
|
|
// 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
|
|
|
|
|