Message: Re: trouble with G4Cerenkov after upgrade to 4.9.5.p01 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: trouble with G4Cerenkov after upgrade to 4.9.5.p01 

Forum: Processes Involving Optical Photons
Re: Question trouble with G4Cerenkov after upgrade to 4.9.5.p01 (Aram Teymurazyan)
Re: None Re: trouble with G4Cerenkov after upgrade to 4.9.5.p01 (Aram Teymurazyan)
Date: 21 Sep, 2012
From: Gumplinger Peter <Gumplinger Peter>

Dear Aram,

Very sorry, the Application Developers Example 5.4 is wrong and outdated.

The interface change was long ago - 2009 - and you had it right already in 9.3. The interface did not change again from 9.3 to 9.5.

Since the interface change (from 9.1 to 9.2) you get messages written to your log-file or screen telling you that:

NOTE: this is now a G4VProcess!
Required change in UserPhysicsList:
change: pmanager->AddContinuousProcess(theCerenkovProcess);
to:     pmanager->AddProcess(theCerenkovProcess);
        pmanager->SetProcessOrdering(theCerenkovProcess,idxPostStep);

I'll make sure the documentation is going to be corrected for the 9.6 release.

Now, I don't know why you didn't get Cerenkov photons when you moved from 9.3 to 9.5.p01 with nothing changed in your code.

BTW, there is now a "better way" to instantiate optical photon processes. You can use G4OpticalPhysics builder. Please, see examples/extended/optical/LXe/src/LXePhysicsList.cc of 9.5

Peter

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

1 None: Re: trouble with G4Cerenkov after upgrade to 4.9.5.p01   (Aram Teymurazyan - 21 Sep, 2012)
 Add Message Add Message
to: "Re: trouble with G4Cerenkov after upgrade to 4.9.5.p01"

 Subscribe Subscribe

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