Message: Activate PAI from Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Activate PAI from 

Forum: Physics List
Date: 06 Oct, 2017
From: Francesca <Francesca>

     I am try to activate the PAI model, but on all posts I see this is done externally in the run.mac file using a DetectorMessenger. 
     I'd like to activate it instead already inside my file. Is it possible please? 
I mean, something trivial like:

PhysicsList::PhysicsList(): G4VModularPhysicsList()
  defaultCutValue = 0.0001* mm;
  //G4ProductionCutsTable::GetProductionCutsTable()->SetEnergyRange(25*eV, 1*GeV);
  emPhysicsList = new G4EmLivermorePhysics(0);
  decPhysicsList = new G4DecayPhysics();
  hadPhysicsList = new G4HadronPhysicsQGSP_BIC_HP(0);
  G4cout<< ">> PhysicsList:: G4EmLivermorePhysics activated << "<<G4endl;
  G4cout<< ">> PhysicsList:: Decay activated << "<<G4endl;


(but working, emPhysicsList->AddPhysicsList("pai");does not exist).

kind regards,

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Idea: Re: Activate PAI from   (Vladimir Ivanchenko - 09 Oct, 2017)
 Add Message Add Message
to: "Activate PAI from"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews

[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]