CMS 3D CMS Logo

APrimePhysics.h
Go to the documentation of this file.
1 #ifndef SIMG4CORE_CUSTOMPHYSICS_APRIMEPHYSICS_H
2 #define SIMG4CORE_CUSTOMPHYSICS_APRIMEPHYSICS_H
3 
4 // Geant4
5 #include "G4VPhysicsConstructor.hh"
6 
7 class APrimePhysics : public G4VPhysicsConstructor {
8 public:
13  APrimePhysics(double APMass, const G4String& scalefile, const G4double cxBias, const G4String& name = "APrime");
14 
18  ~APrimePhysics() override;
19 
23  void ConstructParticle() override;
24 
28  void ConstructProcess() override;
29 
30 private:
34  G4ParticleDefinition* aprimeDef_;
35  double apmass;
36  G4String mgfile;
37  G4double biasFactor;
38 };
39 
40 #endif
G4ParticleDefinition * aprimeDef_
Definition: APrimePhysics.h:34
G4double biasFactor
Definition: APrimePhysics.h:37
~APrimePhysics() override
void ConstructParticle() override
void ConstructProcess() override
APrimePhysics(double APMass, const G4String &scalefile, const G4double cxBias, const G4String &name="APrime")
G4String mgfile
Definition: APrimePhysics.h:36