Import Geant4 5.0.0 source tree
This commit is contained in:
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4MScoreProcess.hh,v 1.3 2002/04/10 13:14:16 dressel Exp $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
// $Id: G4MScoreProcess.hh,v 1.7 2002/10/22 13:25:55 dressel Exp $
|
||||
// GEANT4 tag $Name: geant4-05-00 $
|
||||
//
|
||||
// ----------------------------------------------------------------------
|
||||
// Class G4MScoreProcess
|
||||
@@ -31,7 +31,7 @@
|
||||
//
|
||||
// Used internally by scoring in the "mass" world.
|
||||
// This is a forced post step process messaging a "scorer"
|
||||
// derived from G4VPScorer.
|
||||
// derived from G4VScorer.
|
||||
|
||||
// Author: Michael Dressel (Michael.Dressel@cern.ch)
|
||||
// ----------------------------------------------------------------------
|
||||
@@ -39,16 +39,18 @@
|
||||
#define G4MScoreProcess_hh G4MScoreProcess_hh
|
||||
|
||||
#include "G4VProcess.hh"
|
||||
#include "G4VTrackTerminator.hh"
|
||||
|
||||
class G4VPScorer;
|
||||
class G4VScorer;
|
||||
|
||||
class G4MScoreProcess : public G4VProcess, public G4VTrackTerminator
|
||||
|
||||
class G4MScoreProcess : public G4VProcess
|
||||
{
|
||||
|
||||
public: // with description
|
||||
|
||||
G4MScoreProcess(G4VPScorer &aScorer,
|
||||
const G4String &aName = "MScoreProcess");
|
||||
explicit G4MScoreProcess(G4VScorer &aScorer,
|
||||
const G4String &aName = "MScoreProcess");
|
||||
// take reference to scorer and coppy particle name and
|
||||
// create a G4ParticleChange
|
||||
|
||||
@@ -62,37 +64,44 @@ public: // with description
|
||||
// make processed being forced
|
||||
|
||||
virtual G4VParticleChange * PostStepDoIt(const G4Track&, const G4Step&);
|
||||
// message "scorer" with G4Step and a G4PStep from the "mass"
|
||||
// message "scorer" with G4Step and a G4GeometryCellStep from the "mass"
|
||||
// geometry
|
||||
|
||||
virtual void KillTrack() const;
|
||||
|
||||
// to be called by the importance process if the track should
|
||||
// be killed after scoring
|
||||
virtual const G4String &GetName() const ;
|
||||
|
||||
public: // without description
|
||||
|
||||
// no operation in AtRestDoIt and AlongStepDoIt
|
||||
|
||||
G4double
|
||||
virtual G4double
|
||||
AlongStepGetPhysicalInteractionLength(const G4Track&,
|
||||
G4double ,
|
||||
G4double ,
|
||||
G4double& ,
|
||||
G4GPILSelection*) {return -1.0;}
|
||||
G4GPILSelection*);
|
||||
|
||||
G4double
|
||||
virtual G4double
|
||||
AtRestGetPhysicalInteractionLength(const G4Track&,
|
||||
G4ForceCondition*) {return -1.0;}
|
||||
G4ForceCondition*);
|
||||
|
||||
G4VParticleChange* AtRestDoIt(const G4Track&,
|
||||
const G4Step&) {return 0;}
|
||||
G4VParticleChange* AlongStepDoIt(const G4Track&,
|
||||
const G4Step&) {return 0;}
|
||||
virtual G4VParticleChange* AtRestDoIt(const G4Track&,
|
||||
const G4Step&);
|
||||
virtual G4VParticleChange* AlongStepDoIt(const G4Track&,
|
||||
const G4Step&);
|
||||
|
||||
private:
|
||||
|
||||
G4MScoreProcess(const G4MScoreProcess &);
|
||||
G4MScoreProcess &operator=(const G4MScoreProcess &);
|
||||
|
||||
|
||||
private:
|
||||
|
||||
G4VPScorer &fScorer;
|
||||
G4VScorer &fScorer;
|
||||
mutable G4bool fKillTrack;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user