81 lines
2.7 KiB
C++
81 lines
2.7 KiB
C++
//
|
|
// ********************************************************************
|
|
// * DISCLAIMER *
|
|
// * *
|
|
// * The following disclaimer summarizes all the specific disclaimers *
|
|
// * of contributors to this software. The specific disclaimers,which *
|
|
// * govern, are listed with their locations in: *
|
|
// * http://cern.ch/geant4/license *
|
|
// * *
|
|
// * Neither the authors of this software system, nor their employing *
|
|
// * institutes,nor the agencies providing financial support for this *
|
|
// * work make any representation or warranty, express or implied, *
|
|
// * regarding this software system or assume any liability for its *
|
|
// * use. *
|
|
// * *
|
|
// * 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.9 2003/05/21 20:41:21 asaim Exp $
|
|
// GEANT4 tag $Name: geant4-07-01 $
|
|
//
|
|
//
|
|
//---------------------------------------------------------------
|
|
//
|
|
// G4UserTrackingAction.hh
|
|
//
|
|
// class description:
|
|
// This class represents actions taken place by the user at
|
|
// the start/end point of processing one track.
|
|
//
|
|
// 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: // with description
|
|
//--------
|
|
|
|
// Constructor & Destructor
|
|
G4UserTrackingAction(){;}
|
|
virtual ~G4UserTrackingAction(){;}
|
|
|
|
// Member functions
|
|
void SetTrackingManagerPointer(G4TrackingManager* pValue);
|
|
virtual void PreUserTrackingAction(const G4Track*){;}
|
|
virtual void PostUserTrackingAction(const G4Track*){;}
|
|
|
|
//-----------
|
|
protected:
|
|
//-----------
|
|
|
|
// Member data
|
|
G4TrackingManager* fpTrackingManager;
|
|
|
|
};
|
|
|
|
#endif
|
|
|
|
|