Message: Re: A01HadronPhysics.cc in Geant 10.0? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: A01HadronPhysics.cc in Geant 10.0? 

Forum: Hadronic Processes
Re: None A01HadronPhysics.cc in Geant 10.0? (Kihyeon Cho)
Date: 03 Feb, 2014
From: Kihyeon Cho <Kihyeon Cho>

Thanks. I find the solution as follows: 

Step1. In A01app.cc code 
  
  1. Add header 
    #include "FTFP_BERT.hh"  

  2. Comment out obsolete header 
    //#include "A01PhysicsList.hh" 
  
  3. Replace A01PhysicsList with FTFP_BERT 

 // ================ Exercise 2: Start ================================= 

 //// Replaced   
 // 
 //// Step 1: Create factory object 
 //  runManager->SetUserInitialization(new A01PhysicsList); 
 // 
 // 
      G4VModularPhysicsList* physicsList = new FTFP_BERT; 
      runManager->SetUserInitialization(physicsList); 
 //          
 // 
 // ================ Exercise 3: End ================================== 


Step 2. Delete include files and source codes which are not used. 
        The deleted file lists are as follows: 

       ~/include/GeneralPhysics.hh 
                 HadronPhysics.hh 
                 A01IonPhysics.hh 
                          
       ~/src/A01GeneralPhysics.cc 
             A01HadronPhysics.cc 
             A01PhysicsList.cc 

It seems to work. Thank you. 

Kihyeon Cho 

 Add Message Add Message
to: "Re: A01HadronPhysics.cc in Geant 10.0?"

 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 ]