Import Geant4 10.7.0 source tree

This commit is contained in:
Gabriele Cosmo
2020-12-04 12:30:43 +01:00
parent 67ba86d073
commit dab42d2018
3770 changed files with 226369 additions and 286486 deletions
+25 -30
View File
@@ -23,61 +23,56 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
//
//
//
//---------------------------------------------------------------
//
// G4VUserTrackInformation
//
// Class Description:
// 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.
// Abstract class from which the user can derive a concrete class for
// storing user's information associated with a G4Track object.
//
// It is user's responsibility
// 1) Construct a concrete class object and set the pointer to
// proper G4Track object
// It is user's responsibility:
// 1) To construct a concrete class object and set the pointer to the
// proper G4Track
// 2) Concrete class derived from this class is expected to use G4Allocator
// for memory management or something equivarent for performance reason
// for memory management or something equivarent for performance reason
//
// To set a pointer of a concrete class object to G4Track in
// 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.
// The concrete class object is deleted by Geant4 kernel when the
// associated G4Track is deleted.
#ifndef G4VUserTrackInformation_H
#define G4VUserTrackInformation_H 1
// Author: Makoto Asai, 2 June 2000
// --------------------------------------------------------------------
#ifndef G4VUserTrackInformation_hh
#define G4VUserTrackInformation_hh 1
#include "globals.hh"
class G4VUserTrackInformation
{
public: // With Description
{
public:
G4VUserTrackInformation();
G4VUserTrackInformation(const G4String& infoType);
// String is provided to indicate Type of UserTrackInfo class
// User is recommended to set the type of his/her class
// String is provided to indicate the Type of UserTrackInfo class
// User is recommended to set the type of his/her class
G4VUserTrackInformation(const G4VUserTrackInformation&);
G4VUserTrackInformation(const G4VUserTrackInformation&);
G4VUserTrackInformation& operator=(const G4VUserTrackInformation&);
virtual ~G4VUserTrackInformation();
virtual void Print() const {};
const G4String& GetType() const;
// get Type of this UserTrackInfo
// Get Type of this UserTrackInfo
protected:
G4String* pType;
G4String* pType = nullptr;
};
#endif