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 ] [ 10.6 ] [ 10.6.p1 ] [ 10.6.p2 ] [ 10.6.p3 ] [ 10.7 ] [ 10.7.p1 ] [ 10.7.p2 ] [ 10.7.p3 ] [ 10.7.p4 ] [ 11.0 ] [ 11.0.p1 ] [ 11.0.p2 ] [ 11.0.p3, ] [ 11.0.p4 ] [ 11.1 ] [ 11.1.1 ] [ 11.1.2 ] [ 11.1.3 ] [ 11.2 ] [ 11.2.1 ] [ 11.2.2 ] [ 11.3.0 ]

Name Size       Last modified (GMT) Description
Back Parent directory       2024-12-05 15:16:16
Folder include/       2024-12-05 15:16:16
Folder src/       2024-12-05 15:16:16
File CMakeLists.txt 2105 bytes       2024-12-05 15:16:16
File GNUmakefile 408 bytes       2024-12-05 15:16:16
File History 8782 bytes       2024-12-05 15:16:16
File README 3450 bytes       2024-12-05 15:16:16
C++ file field02.cc 4424 bytes       2024-12-05 15:16:16
File field02.in 1066 bytes       2024-12-05 15:16:16
File field02.out 414708 bytes       2024-12-05 15:16:16
File gui.mac 1611 bytes       2024-12-05 15:16:16
File init_vis.mac 334 bytes       2024-12-05 15:16:16
File vis.mac 2215 bytes       2024-12-05 15:16:16

  1 -------------------------------------------------------------------
  2 
  3      =========================================================
  4      Geant4 - an Object-Oriented Toolkit for Simulation in HEP
  5      =========================================================
  6 
  7                             field02
  8                             -------
  9 
 10     Test for investigation of tracking in electric field
 11     and field dependent electromagnetic processes.
 12 
 13  1- FIELD DEFINITION
 14         The field is a constant electric field.
 15 
 16         Technical note: in order to use any electric field, it is
 17   necessary to  create the objects for its equation of motion,
 18   the stepper and driver for the integration, and the
 19   chord finder.
 20 
 21         The class that does these is G4FieldBuilder. Its object
 22         is created in the F02DetectorConstruction constructor and 
 23         its instantiation adds the /field UI commands that allow user
 24         to choose the field configuration parameters.
 25 
 26         The electric field (G4UniformElectricField) is then created in 
 27         F02DetectorConstruction::ConstructSDanField() and passed to
 28         G4FieldBuilder, that constructs all necessary objects according
 29         to the user defined (or default) configuration parameters.
 30 
 31  1- GEOMETRY DEFINITION
 32 
 33   The "Absorber" is a solid made of a given material.
 34 
 35   Three parameters define the absorber :
 36   - the material of the absorber,
 37   - the thickness of an absorber,
 38   - the transverse size of the absorber (the input face is a square).
 39 
 40         The volume "World" contains the "Absorber".
 41         In this test the parameters of the "World" can be changed , too.
 42 
 43   In addition a transverse uniform electric field can be applied.
 44 
 45   The default geometry is constructed in F02DetectorConstruction class,
 46   but all the parameters can be changed via
 47   the commands defined in the F02DetectorMessenger class.
 48 
 49  2- AN EVENT : THE PRIMARY GENERATOR
 50 
 51   The primary kinematic consists of a single particle which hits the
 52   absorber perpendicular to the input face. The type of the particle
 53   and its energy are set in the F02PrimaryGeneratorAction class, and can
 54   be changed via the G4 build-in commands of G4ParticleGun class (see
 55   the macros provided with this example).
 56 
 57     It is also possible to change the position of the primary particle vertex
 58     or activate its randomization via the commands defined in  the
 59     F01PrimaryGeneratorMessenger class.
 60 
 61   A RUN is a set of events.
 62 
 63  3- DETECTOR RESPONSE
 64 
 65 
 66   A HIT is a record, event per event , of all the
 67   informations needed to simulate and analyse the detector response.
 68 
 69   In this example a F02CalorHit is defined as a set of 2 informations:
 70   - the total energy deposit in the absorber,
 71   - the total tracklength of all charged particles in the absorber,
 72 
 73   Therefore  the absorber is declared
 74   'sensitive detector' (SD), see F02CalorimeterSD, which means they can contribute to the hit.
 75 
 76  4- PHYSICS LIST
 77 
 78      The particle's type and the physic processes which will be available
 79      in this example are set in the FTFP_BERT physics list. This physics list
 80      requires data files for electromagnetic and hadronic processes.
 81      See more on installation of the datasets in Geant4 Installation Guide,
 82 
 83  5- HOW TO START ?
 84 
 85   - Execute field02 in 'batch' mode from macro file e.g.
 86     % ./field02 field02.in
 87 
 88   - Execute field02 in 'interactive' mode with visualization e.g.
 89     % ./field02
 90     ....
 91     Idle> /run/beamOn 1
 92     ....