Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:30:19

0001 #ifndef SIMG4CORE_CUSTOMPHYSICS_APRIMEPHYSICS_H
0002 #define SIMG4CORE_CUSTOMPHYSICS_APRIMEPHYSICS_H
0003 
0004 // Geant4
0005 #include "G4VPhysicsConstructor.hh"
0006 
0007 class APrimePhysics : public G4VPhysicsConstructor {
0008 public:
0009   /**
0010        * Class constructor.
0011        * @param name The name of the physics.
0012        */
0013   APrimePhysics(double APMass, const G4String& scalefile, const G4double cxBias, const G4String& name = "APrime");
0014 
0015   /**
0016        * Class destructor.
0017        */
0018   ~APrimePhysics() override;
0019 
0020   /**
0021        * Construct particles.
0022        */
0023   void ConstructParticle() override;
0024 
0025   /**
0026        * Construct the process.
0027        */
0028   void ConstructProcess() override;
0029 
0030 private:
0031   /**
0032        * Definition of the APrime particle.
0033        */
0034   G4ParticleDefinition* aprimeDef_;
0035   double apmass;
0036   G4String mgfile;
0037   G4double biasFactor;
0038 };
0039 
0040 #endif