Message: RegisterProcess to Physics List QGSP_BERT_EMZ Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None RegisterProcess to Physics List QGSP_BERT_EMZ 

Forum: Physics List
Date: 14 Mar, 2014
From: Stefan E. Mueller <Stefan E. Mueller>

Hi,

I want to use the "standard" physics list QGSP_BERT_EMZ, and I have successfully included it in my MAIN-program doing


  G4PhysListFactory *physListFactory = new G4PhysListFactory();
  G4VModularPhysicsList* physics = physListFactory->GetReferencePhysList("QGSP_BERT_EMZ");
  physics->SetVerboseLevel(1);
  runManager->SetUserInitialization(physics);

This works. However, as I understood it, these physics lists can be used as starting points, 
so I wonder how I would include additional processes that are not included in the standard list 
(e.g. G4AnnihiToMuPair for positrons). I have tried to register this process doing 


 G4ParticleDefinition* positron = G4Positron::PositronDefinition();
  G4AnnihiToMuPair* anni = new G4AnnihiToMuPair();
  physics->RegisterProcess(anni, positron);

but I get the message that 

 error: G4bool G4VUserPhysicsList::RegisterProcess(G4VProcess*, G4ParticleDefinition*) is protected

Any help is appreciated,

Stefan

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

1 Idea: Re: RegisterProcess to Physics List QGSP_BERT_EMZ   (Vladimir Ivanchenko - 14 Mar, 2014)
(_ Question: Re: RegisterProcess to Physics List QGSP_BERT_EMZ   (Stefan E. Mueller - 19 Mar, 2014)
(_ Feedback: Re: RegisterProcess to Physics List QGSP_BERT_EMZ   (Andrea Dotti - 19 Mar, 2014)
(_ Question: Re: RegisterProcess to Physics List QGSP_BERT_EMZ   (Stefan E. Mueller - 20 Mar, 2014)
(_ Question: Re: RegisterProcess to Physics List QGSP_BERT_EMZ   (Stefan E. Mueller - 25 Mar, 2014)
(_ Idea: Re: RegisterProcess to Physics List QGSP_BERT_EMZ   (Andrea Dotti - 25 Mar, 2014)
(_ Ok: Re: RegisterProcess to Physics List QGSP_BERT_EMZ   (Stefan E. Mueller - 26 Mar, 2014)
 Add Message Add Message
to: "RegisterProcess to Physics List QGSP_BERT_EMZ"

 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 ]