File indexing completed on 2023-03-17 11:24:49
0001 #ifndef SIMG4CORE_CUSTOMPHYSICS_APRIMEPHYSICS_H
0002 #define SIMG4CORE_CUSTOMPHYSICS_APRIMEPHYSICS_H
0003
0004
0005 #include "G4VPhysicsConstructor.hh"
0006
0007 class APrimePhysics : public G4VPhysicsConstructor {
0008 public:
0009
0010
0011
0012
0013 APrimePhysics(double APMass, const G4String& scalefile, const G4double cxBias, const G4String& name = "APrime");
0014
0015
0016
0017
0018 ~APrimePhysics() override;
0019
0020
0021
0022
0023 void ConstructParticle() override;
0024
0025
0026
0027
0028 void ConstructProcess() override;
0029
0030 private:
0031
0032
0033
0034 G4ParticleDefinition* aprimeDef_;
0035 double apmass;
0036 G4String mgfile;
0037 G4double biasFactor;
0038 };
0039
0040 #endif