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

Info iconThis 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
Background image of page 1

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

View Full DocumentRight 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
Background 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
Background image of page 3

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

View Full DocumentRight Arrow Icon
ExN02TrackerSD.cc !! : fill in the virtual methods Happens at each step Happens at the beginning of the
Background image of page 4
Background image of page 5

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

View Full DocumentRight Arrow Icon
Background image of page 6
Background image of page 7

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

View Full DocumentRight Arrow Icon
Background image of page 8
Background 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

This note was uploaded on 01/16/2012 for the course PHYSICS 392 taught by Professor Scholberg during the Fall '11 term at Duke.

Page1 / 9

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

This preview shows document pages 1 - 9. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online