| 1 |
|
|---|
| 2 | RE01 - An extended example for run and event
|
|---|
| 3 | --------------------------------------------
|
|---|
| 4 |
|
|---|
| 5 | Contact : M.Asai (SLAC)
|
|---|
| 6 |
|
|---|
| 7 | 1. Introduction
|
|---|
| 8 |
|
|---|
| 9 | This example demonstrates how to connect the information between
|
|---|
| 10 | primary particles and hits. It also utilize some user-information
|
|---|
| 11 | classes.
|
|---|
| 12 |
|
|---|
| 13 | 1.1 Geometry and region information
|
|---|
| 14 |
|
|---|
| 15 | It has a quite simple sylindrical tracker of 5 layers and a
|
|---|
| 16 | sylindrical calorimeter of lead and scintillator. Dedicated regions
|
|---|
| 17 | are assigned to both tracker and calorimeter mother volumes not
|
|---|
| 18 | for setting additional production thresholds but for adding some
|
|---|
| 19 | more information to these regions. RE01RegionInformation is the
|
|---|
| 20 | class for this purpose.
|
|---|
| 21 | A "readout geometry" is attached to the calorimeter to define
|
|---|
| 22 | its cells.
|
|---|
| 23 |
|
|---|
| 24 | 1.2 Physics
|
|---|
| 25 |
|
|---|
| 26 | This example basically uses LHEP_BERT physics list. In addition
|
|---|
| 27 | to this, RE01DecayPhysics is used for adding G4UnknownParticle and
|
|---|
| 28 | G4UnknownDecay process.
|
|---|
| 29 |
|
|---|
| 30 | 1.3 Event generator
|
|---|
| 31 |
|
|---|
| 32 | An event sample is attached. This event has a Higgs particle
|
|---|
| 33 | which decays into e+e- and mu+mu- pairs through two Z bosons.
|
|---|
| 34 | It uses G4HEPEvtInterface.
|
|---|
| 35 | In this example, by utilizing G4UnknownParticle, all particles
|
|---|
| 36 | appear in the primary event are converted to G4Track and then
|
|---|
| 37 | to RE01Trajectory. Relation between primary particles and track
|
|---|
| 38 | IDs are shown at the end of event execution.
|
|---|
| 39 |
|
|---|
| 40 | 2. "Source track" information
|
|---|
| 41 |
|
|---|
| 42 | "Source track" is meant for a track that is either a primary
|
|---|
| 43 | particle or a track born is the tracking region. This information
|
|---|
| 44 | is stored in RE01TrackInformation class object and copied from
|
|---|
| 45 | a parent track to its daughters.
|
|---|
| 46 |
|
|---|
| 47 | 2.1 Track suspension
|
|---|
| 48 |
|
|---|
| 49 | All source tracks are suspended for their tracking when they are
|
|---|
| 50 | getting into the calorimeter region. Thus, all tracks in the tracker
|
|---|
| 51 | region are tracked before generating any shower in the calorimeter.
|
|---|
| 52 |
|
|---|
| 53 | 2.2 Tracker hits associated with primary particle information
|
|---|
| 54 |
|
|---|
| 55 | Information kept in RE01TrackInformation is used to connect each
|
|---|
| 56 | tracker hit to the primary particle.
|
|---|
| 57 |
|
|---|
| 58 | 2.3 Energy deposition of each source track
|
|---|
| 59 |
|
|---|
| 60 | Utilizing RE01StackingAction, shower generation is done for each
|
|---|
| 61 | souorce track separately, and thus energy deposition in calorimeter
|
|---|
| 62 | cells are shown for each individual source track. With the trajectory
|
|---|
| 63 | information, energy deposition for each primary particle can also
|
|---|
| 64 | be gotten.
|
|---|
| 65 |
|
|---|
| 66 |
|
|---|