Message: Re: Why B2a cann't use radioactive decay ? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Why B2a cann't use radioactive decay ? 

Forum: Multithreading
Re: Question Why B2a cann't use radioactive decay ?
Re: Question Re: Why B2a cann't use radioactive decay ? (Andrea Dotti)
Date: 14 Jan, 2014
From: <lili>

Dear Andrea,
     I am sorry that I didn't express my question clearly. Well, what I meant is that when I added the radioactive physics codes in B2a, there were no visible hits anymore. I commented the line: #include FTFP_BERT.hh,  and  the following three line codes:
 G4VModularPhysicsList* physicsList =new ....
Then I added this:
#include "B2PhysicsList"
runManager->SetUserInitialization(new B2PhysicsList());

Next, I modified the B2PrimaryGeneratorAction according to B3's. At the same time, I copied B3's physicsList to B2a's path and made some responding changes.

Actually, it worked well when I didn't use MT mode. However, if MT mode is active ,no hits were generated. Similarly, if I modified B3 according to B2a, I got the same results.

- What do you mean by "show the hits"? I mean the hits can be visible in QT.

- Does your code work as expected in MT mode but without radioactive decay? I.e. Does your problem appear only if radioactive decay is active? Yes,it worked well. I just integrated B2a and B3 codes.

- How do you add Radioactive Decay? I added the radioactive decay according to B3.

Thank you so much for your kindly answer. Best wishes. Lili

 Add Message Add Message
to: "Re: Why B2a cann't use radioactive decay ?"

 Subscribe Subscribe

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