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10.5.p1 ] [ 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 data-tracks/       2024-12-05 15:16:16
Folder geom_data/       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 2804 bytes       2024-12-05 15:16:16
File GNUmakefile 461 bytes       2024-12-05 15:16:16
File History 6695 bytes       2024-12-05 15:16:16
File README 3738 bytes       2024-12-05 15:16:16
File gui.mac 894 bytes       2024-12-05 15:16:16
C++ file lArCal.cc 3534 bytes       2024-12-05 15:16:16
File lAr_calorimeter.out 60497 bytes       2024-12-05 15:16:16
File prerunlArcal.mac 1050 bytes       2024-12-05 15:16:16
File run1.mac 250 bytes       2024-12-05 15:16:16
File vis.mac 2211 bytes       2024-12-05 15:16:16

  1 
  2      =========================================================
  3      Geant4 - an Object-Oriented Toolkit for Simulation in HEP
  4      =========================================================
  5 
  6                              lArCal 
  7                             --------
  8 
  9  This example is intended to simulate the Forward Liquid Argon Calorimeter
 10  (FCAL) of the ATLAS Detector at LHC. The goal of the FCAL is to provide
 11  a good missing energy determination in the region of very small angles 
 12  from the beam direction. 
 13 
 14 
 15  1. GEOMETRY DEFINITION
 16  ------------------------
 17 
 18  The liquid Argon calorimeter consists of three modules with the same
 19  nominal outer dimensions: an electromagnetic module (made
 20  of copper) followed by two hadronic ones (made of tungsten alloy). 
 21  The corresponding parameters of these modules are defined inside the
 22  FCALEMModuleParameters.input and FCALHadModuleParameters.input files.
 23  The package contains as well a FCALTestbemSetup class whose geometry is given by 
 24  FCALTestbeamSetupParameters.input. See these files for details concerning to
 25  radius, lenght and angles of the different components. 
 26 
 27 
 28  2.  AN EVENT : THE PRIMARY GENERATOR
 29  ------------------------------------ 
 30     
 31  The primary kinematic consists of a single particle which hits the
 32  geometry perpendicular to the input face. The FCALPrimaryGeneratorAction 
 33  class gives the particle and its energy (by default it is an electron of
 34  20 GeV). These parameters can be changed in commands of ParticleGun class
 35  inside the macros given in this example. 
 36  
 37  The subdirectory data-tracks contains the kinematic files 
 38  of the particles for different energies (20 GeV, 40 GeV, 60 GeV, 80 GeV, 
 39  120 GeV and 200 GeV). 
 40  The information given inside these files are the X, Y, Z and cosX, 
 41  cosY, cosZ variables for each event. 
 42 
 43   A RUN is a set of events.
 44   
 45 
 46  3. VISUALIZATION
 47  ------------------
 48 
 49  The Visualization Manager is set in the main().
 50  The initialisation of the drawing is done via the command
 51  > /control/execute vis.mac
 52   
 53  The detector has a default view which is a transversal view of the geometry.
 54 
 55  The tracks are drawn at the end of event, and erased at the end of run.
 56  Optionally the way of drawing the particles can be changed in the
 57  TBEVentActionMessenger class.  
 58 
 59 
 60  4. PHYSICS
 61  ----------
 62 
 63  You can select between 4 Physics Lists: QGSP, LHEP, QGSC, QGSP_BIC_EMY.
 64  The last one is set as default, so that you can test the low-energy 
 65  electromagnetic.
 66  The selection is done simply by comment/uncomment a line in the main
 67  lArCal.cc  (look for the keyword  ***LOOKHERE***).
 68 
 69 
 70  5. HOW TO START ?
 71  ----------------- 
 72 
 73  - compile and link to generate an executable
 74       % cd geant4/examples/advanced/lAr_calorimeter
 75       % gmake
 76     
 77  - execute the program  in 'batch' mode from macro files
 78       % lArCal prerunlArcal.mac
 79     
 80  - execute Test  in 'interactive mode' with visualization
 81       %  lArCal 
 82          ...
 83       Idle> type your commands
 84          ...
 85       Idle> exit
 86 
 87 
 88  6. HISTOGRAMS
 89  --------------
 90  The analysis is performed using the histogramming tools provided by 
 91  Geant4. No external dependencies are required.
 92  
 93  lArCal produces 4 histograms (saved as fcal.root) which illustrate
 94  the final state of the most important variables of the example:
 95 
 96  Histo1 --> Number of tracks out of World
 97  Histo2 --> Number of secondary particles
 98  Histo3 --> Total energy deposited (in MeV) in the electromagnetic module
 99  Histo4 --> Total energy deposited (in MeV) in the hadronic module
100 
101  See their definitions in FCALRunAction.cc 
102 
103  The histograms are saved (default) as a ROOT file. It is possible to save the 
104  histograms in a xml file by changing the G4AnalysisManager default file type
105  in the FCALRunAction constructor.
106