Message: Use FTFP_BERT and user physics list together Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Use FTFP_BERT and user physics list together 

Forum: Physics List
Date: 14 Mar, 2015
From: JungEun Elena Suh <JungEun Elena Suh>

Dear all

I have one question to use physics list.

I want to simulate Cherenkov process and hadronic interactions together.

Until now I used my on user physics list.(constructed by G4VUserPhysicsList)
Now I want to add FTFP_BERT physics list.
I tried it like...

  runManager-> SetUserInitialization(new OpNoviceDetectorConstruction());
  G4VModularPhysicsList* physicsList = new FTFP_BERT;
  physicsList->RegisterPhysics(new G4Cerenkov());

However it shows me an error as below.
 error: no matching function for call to G4VModularPhysicsList::RegisterPhysics(G4Cerenkov*)

Maybe they are not compatible...?

Or I tried to add FTFP_BERT inside user defined physics list, but I don't know how to do it..

Could you please show me the direction which I can follow?

Thank you,

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

1 Idea: Re: Use FTFP_BERT and user physics list together   (Michael H. Kelsey - 14 Mar, 2015)
 Add Message Add Message
to: "Use FTFP_BERT and user physics list together"

 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 ]