|Message: Re: trouble with G4Cerenkov after upgrade to 4.9.5.p01||Not Logged In (login)|
Click on the Forum title, e.g. on the "Forums by Category" page, to read a sequence of postings to the Forum and its threads all in one page. If you are only interested in one thread or the thread following a specific posting, click the thread or the posting, which takes you to a smaller page, which contains only the part you are interested in and may be easier to navigate.
Messages are "chained" if there are only replies at the first level, i.e. 1/1.html, 1/1/1.html etc. In case of "chained" messages the message number is replaced by the icon and there is no indentation.
Inline: Display the subject line only or also the text of the posting(s); for the choice "All" the "Outline" choices are switched off.
|1||0||1||no text / full text of posting|
|2||1||All||text for level 1 only / text for All postings|
Outline: Choose the depth of the posting thread, successive toggle controls provide increasing detail.
|1||2||1||2 levels / 1 level (original posting)|
|2||3||2||3 levels / 2 levels|
|3||3||All||3 levels / all levels (all postings)|
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
|Inline Depth:||Outline Depth:||Add message:|