 |
Belle II Software
release-05-01-25
|
13 #include <simulation/longlivedneutral/G4LongLivedNeutralPhysics.h>
14 #include <simulation/longlivedneutral/G4LongLivedNeutral.h>
15 #include <simulation/longlivedneutral/G4LongLivedNeutralDecay.h>
16 #include <simulation/longlivedneutral/G4LongLivedNeutralTransportation.h>
17 #include <framework/logging/Logger.h>
19 #include <G4ProcessManager.hh>
20 #include <CLHEP/Units/SystemOfUnits.h>
24 using namespace CLHEP;
26 G4LongLivedNeutralPhysics::G4LongLivedNeutralPhysics()
27 : G4VPhysicsConstructor(
"LongLivedNeutralPhysics"),
45 B2DEBUG(20,
"G4LongLivedNeutralPhysics::ConstructProcess");
47 G4ProcessManager* pmanager =
fLLPN->GetProcessManager();
50 for (
int i = 0; i <= pmanager->GetProcessListLength(); ++i) {
51 pmanager->RemoveProcess(i);
53 pmanager->RemoveProcess(0);
A class to hold long-lived neutral particle description.
This class is a decay process.
G4LongLivedNeutral * fLLPN
Pointer to the neutral long lived definition in GEANT4.
Abstract base class for different kinds of events.
virtual void ConstructProcess()
This method will be invoked in the Construct() method.
Concrete class that does the geometrical transport.
virtual void ConstructParticle()
Adds monopole and anti-monopole to GEANT4 with a pdg of +/-99666 and parameters taken from current cl...
~G4LongLivedNeutralPhysics()
Destructor.