{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

lecture6 - event Happens at the end of the event Detector...

Info icon This preview shows pages 1–9. Sign up to view the full content.

View Full Document Right Arrow Icon
N02 example has sensitive detectors, and visualizer Additional run, event, stepping action classes More extensive physics list than N01
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Sensitive detectors Recording energy loss as ‘hits’ If you define these methods for a sensitive detector, Geant4 will take the proper actions at the proper times
Image of page 2
Sensitive detectors in N02 Set up inside detector construction ExN02DetectorConstruction.cc Sensitive detectors defined in ExN02TrackerSD.cc, .hh The collection of hits Get a pointer to the manager Create the sensitive detector Add it to the manager Associate it to the logical volume Constructor
Image of page 3

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
ExN02TrackerSD.cc : fill in the virtual methods Happens at each step Happens at the beginning of the
Image of page 4
Image of page 5

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 6
Image of page 7

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 8
Image of page 9
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: event Happens at the end of the event Detector messenger Can change detector parameters on the fly at run-time Run action Nothing too exciting in this example, but you could e.g. read in or out files, set parameters, etc. (Default) constructor Destructor Event action Gather information about particle trajectories for the event Many things can happen here. .. fill histos, Trees, store or print summary info for the event Stepping action This one is just a dummy. .. but here is often where you add up energy loss/ hit information, or add custom actions; helpful for debugging (check where the particle being tracked is) A verbose stepping action class:...
View Full Document

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern