Files
geant4/source/track/include/G4VUserTrackInformation.hh
T
2016-06-08 16:03:00 +02:00

52 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: G4VUserTrackInformation.hh,v 1.2 2000/06/02 09:09:47 asaim Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
//
//---------------------------------------------------------------
//
// G4VUserTrackInformation
//
// Class Description:
//
// Abstract class which the user can derive his/her own concrete
// class for toring user's information associating with a G4Track
// class object.
//
// It is user's responsibility that
// 1) Concrete class derived from this class MUST use G4Allocator
// for memory management
// 2) Construct a concrete class object and set the pointer to
// proper G4Track object
//
// To set a pointer of a concrete class object to G4Track in
// G4UserTrackingAction concrete implementation, given the G4Track
// object is available only by "pointer to const", SetUserTrackInformation()
// method of G4TrackingManager is available.
//
// The concrete class object is deleted by Geant4 kernel when
// associated G4Track object is deleted.
#ifndef G4VUserTrackInformation_H
#define G4VUserTrackInformation_H 1
class G4VUserTrackInformation
{
public:
G4VUserTrackInformation() {;}
virtual ~G4VUserTrackInformation() {;}
public:
virtual void Print() const = 0;
};
#endif