09.03.2015 Views

An Introduction to Geant4 - Nuclear Physics - University of Liverpool

An Introduction to Geant4 - Nuclear Physics - University of Liverpool

An Introduction to Geant4 - Nuclear Physics - University of Liverpool

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Compare C++ codes<br />

• Geometry: assigns a volume <strong>to</strong> be sensitive<br />

• Sensitive detec<strong>to</strong>r:<br />

– builds a Hit<br />

– assigns it <strong>to</strong> HitCollection<br />

• Hit class defines attributes <strong>of</strong> the hit<br />

• Sensitive Detec<strong>to</strong>r either:<br />

– outputs HitCollection<br />

– or sends HitCollection <strong>to</strong> EventAction file<br />

• EventAction:<br />

– necessary <strong>to</strong> process several HitCollections<br />

– examine several HitCollections, establish HitCollection<br />

David Oxley<br />

<strong>An</strong> <strong>Introduction</strong> <strong>to</strong> <strong>Geant4</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!