Import Geant4 11.3.0 source tree

This commit is contained in:
Gabriele Cosmo
2024-12-06 11:11:40 +01:00
parent e58e650b32
commit 32390e802b
1984 changed files with 98713 additions and 83996 deletions
+10 -4
View File
@@ -58,14 +58,18 @@ class G4PrimaryTransformer
inline void SetVerboseLevel(G4int vl)
{ verboseLevel = vl; }
void SetUnknnownParticleDefined(G4bool vl);
// By invoking this method, the user can alter the treatment of unknown
// particles. The ideal place to invoke this method is in the
// BeginOfRunAction().
void SetUnknownParticleDefined(G4bool vl);
void SetChargedUnknownParticleDefined(G4bool vl);
// By invoking these methods, the user can alter the treatment of,
// respectively, 'unknown' and 'chargedunknown' particles.
// The ideal place to invoke these methods is in the BeginOfRunAction().
inline G4bool GetUnknownParticleDefined() const
{ return unknownParticleDefined; }
inline G4bool GetChargedUnknownParticleDefined() const
{ return chargedUnknownParticleDefined; }
protected:
void GenerateTracks(G4PrimaryVertex* primaryVertex);
@@ -96,11 +100,13 @@ class G4PrimaryTransformer
G4ParticleTable* particleTable = nullptr;
G4ParticleDefinition* unknown = nullptr;
G4ParticleDefinition* chargedunknown = nullptr;
G4ParticleDefinition* opticalphoton = nullptr;
G4int verboseLevel = 0;
G4int trackID = 0;
G4int nWarn = 0;
G4bool unknownParticleDefined = false;
G4bool chargedUnknownParticleDefined = false;
G4bool opticalphotonDefined = false;
static G4double kETolerance;