Message: Re: Use of QBBC Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Use of QBBC 

Forum: Physics List
Re: Question Use of QBBC (Stan Lucian)
Date: 26 Oct, 2014
From: michel maire <michel maire>

On Sat, 25 Oct 2014 20:24:21 GMT, Stan Lucian wrote:
> Hello all, I'm trying to modify the Radioactive Decay rdecay01 example.
> I've amply modified it, but I'm having trouble with the physics list. Is
> there anyway to just add the QBBC to the physicslist.cc already existing
> within the example, or do I have to manually specify all the physics
> processes? Thanks
> 

 You can use physics constructors, as in examples basic/B3, or hadronic/Hadr06 :

  PhysicsList::PhysicsList()
 :G4VModularPhysicsList()
 {
   G4int verb = 1;
   SetVerboseLevel(verb);

  // Hadron Elastic scattering
  RegisterPhysics( new HadronElasticPhysicsHP(verb) );

  // Hadron Inelastic Physics
  ////RegisterPhysics( new G4HadronPhysicsFTFP_BERT_HP(verb));
  ////RegisterPhysics( new G4HadronPhysicsQGSP_BIC_HP(verb));
  RegisterPhysics( new G4HadronInelasticQBBC(verb));        
  ////RegisterPhysics( new G4HadronPhysicsINCLXX(verb));

  // Ion Physics
  RegisterPhysics( new G4IonPhysics(verb));
  ////RegisterPhysics( new G4IonINCLXXPhysics(verb));

  // Gamma-Nuclear Physics
  RegisterPhysics( new GammaPhysics("gamma"));

  // EM physics
  RegisterPhysics(new EmStandardPhysics());

  // Decay
  RegisterPhysics(new G4DecayPhysics());

  // Radioactive decay
  RegisterPhysics(new G4RadioactiveDecayPhysics());      
}

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

1 None: Re: Use of QBBC   (Stan Lucian - 05 Nov, 2014)
 Add Message Add Message
to: "Re: Use of QBBC"

 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 ]