|Message: Print out Particle tracks in Ex-No6||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)|
I cannot understand where the print statements are coming from in example N06. The output generated when I enter run/beamOn 1 in the command line is so:
Photon at Boundary! thePrePV: World thePostPV: Lid2 Old Momentum Direction: (1,0,0) Old Polarization: (0,0.999263,0.0383817) New Momentum Direction: (1,0,0) New Polarization: (0,0.999263,0.0383817) *** FresnelRefraction *** Photon at Boundary! thePrePV: Lid2 thePostPV: World Old Momentum Direction: (1,0,0) Old Polarization: (0,0.999263,0.0383817) New Momentum Direction: (1,0,0) New Polarization: (0,0.999263,0.0383817) *** FresnelRefraction *** Number of optical photons produced in this event : 0 number of event = 1 User=0s Real=0s Sys=0s
If you run the example, you will get different results, since i have changed detector geometry and also changed the particlegun.
What I want to understand is where these lines (Photon at Boundary!, thePrePV: Lid2, thePostPv: World, etc.) are created. I have not been able to find where these strings are generated. The only thing that I could find is that "Number of optical photons produced in this event : 0" is defined in ExN06StackingAction.cc and that the event number is defined in ExN06RunAction.cc.
I need this because I want to limit my output to only tell me when a photon enters my detector volume, which I plan to be a PMT represented by a small cylinder. I know that there are hit tracking classes, which I will try to use to generate the output I need if I can't figure out where these statements are defined. Thanks,
|Inline Depth:||Outline Depth:||Add message:|