 |
Parent directory |
- |
2025-02-22 08:01:07 |
|
Geant4 - Composite calorimeter example
README
CompositeCalorimeter is an example of a test-beam simulation used
by the CMS Collaboration to validate Geant4 against real data taken
(in 1996) in a CMS Hadron calorimeter test-beam.
The name "Composite" for this example emphasizes that, although the
test-beam had the goal of studying the hadronic calorimeter response,
part of the data was taken with the presence of the electromagnetic
crystal calorimeter in front of the hadronic calorimeter, to better
reproduce the situation as in the real CMS experiment.
The geometry of the simulation has been setup in such a way to allow
very easily, at run time (therefore without need of changing any code;
see below for the details) the inclusion or exclusion of the
electromagnetic calorimeter part.
Although some important aspects, for a detailed comparison between
test-beam data and simulation, like beam profile, noise, and digitization,
have been omitted here (to avoid too many technical details),
nevertheless, this example is able to reproduce the main features of
most of the relevant observables as measured in the real test-beam.
The output of this example consists of a set of histograms
and one ntuple which are stored on a ROOT file (default).
In our opinion, the most original "lesson" which is offered by this
advanced example for the Geant4 user is to show how the Geometry and
the Sensitive/Hit part of the simulation is treated in a big experiment.
Although the details of how this is done vary from experiment to
experiment (it is worth, for instance, to compare with the Atlas-based
advanced example lAr_calorimeter), the main driving needs and goals
are quite general: to have consistency, but avoiding duplications
and couplings as much as possibile, between Simulation, Reconstruction,
and Visualization. Notice that the solution offered in this example
by CMS could appear "overdone" for the sake of simulating only a
relatively simple test-beam setup; but it should be kept in mind
that the same approach is used also for the full CMS detector
simulation, as well as for any subdetector.
SEE ALSO: README
|
 |
CCalActionInitializer.cc |
2447 bytes |
2025-02-22 08:01:07 |
2025-02-22 09:40:10 |
|
 |
CCalAMaterial.cc |
4590 bytes |
2025-02-22 08:01:07 |
2025-02-22 09:40:10 |
Specialised class to store information to make G4Material |
 |
CCalDetector.cc |
4283 bytes |
2025-02-22 08:01:07 |
2025-02-22 09:40:10 |
CCalDetector is a detector factory class |
 |
CCalDetectorConstruction.cc |
7145 bytes |
2025-02-22 08:01:07 |
2025-02-22 09:40:10 |
CCalDetectorConstruction user action class to construct |
 |
CCalEcal.cc |
4354 bytes |
2025-02-22 08:01:07 |
2025-02-22 09:40:10 |
CCalEcal Geometry factory class for crystal matrix |
 |
CCalEcalOrganization.cc |
2724 bytes |
2025-02-22 08:01:07 |
2025-02-22 09:40:10 |
Defines numbering schema for the Electromagnetic Calorimeter |
 |
CCalEventAction.cc |
9154 bytes |
2025-02-22 08:01:07 |
2025-02-22 09:40:10 |
CCalEndOfEventAction provides User actions at end of event |
 |
CCalG4Able.cc |
5477 bytes |
2025-02-22 08:01:07 |
2025-02-22 09:40:10 |
CCalG4Able is the base class of a Geant4 geometry factory |
 |
CCalG4Ecal.cc |
10955 bytes |
2025-02-22 08:01:07 |
2025-02-22 09:40:11 |
CCalG4Ecal Factory class to construct the G4 geometry of the |
 |
CCalG4Hall.cc |
4142 bytes |
2025-02-22 08:01:07 |
2025-02-22 09:40:11 |
CCalG4Hall Geometry factory class to construct G4 geometry |
 |
CCalG4Hcal.cc |
13872 bytes |
2025-02-22 08:01:07 |
2025-02-22 09:40:11 |
CCalG4Hcal Factory class to construct the G4 geometry of the |
 |
CCalG4Hit.cc |
3220 bytes |
2025-02-22 08:01:07 |
2025-02-22 09:40:11 |
G4 Hit class for Calorimeters (Ecal, Hcal, ...) |
 |
CCalGeometryConfiguration.cc |
4649 bytes |
2025-02-22 08:01:07 |
2025-02-22 09:40:11 |
Handles geometry configuration to be constructed |
 |
CCalHall.cc |
3104 bytes |
2025-02-22 08:01:07 |
2025-02-22 09:40:11 |
CCalHall Geometry factory class for the experimental hall |
 |
CCalHcal.cc |
6999 bytes |
2025-02-22 08:01:07 |
2025-02-22 09:40:11 |
CCalHcal Geometry factory class for the hadron calorimeter |
 |
CCalHcalOrganization.cc |
2425 bytes |
2025-02-22 08:01:07 |
2025-02-22 09:40:11 |
Defines numbering schema for the Hadron Calorimeter |
 |
CCalHit.cc |
4512 bytes |
2025-02-22 08:01:07 |
2025-02-22 09:40:11 |
Hit class for Calorimeters (Ecal, Hcal, ...) |
 |
CCalMagneticField.cc |
4670 bytes |
2025-02-22 08:01:07 |
2025-02-22 09:40:11 |
User Field class implementation. |
 |
CCalMaterial.cc |
5883 bytes |
2025-02-22 08:01:07 |
2025-02-22 09:40:11 |
CCalMaterial transient class to store information from |
 |
CCalMaterialFactory.cc |
13803 bytes |
2025-02-22 08:01:07 |
2025-02-22 09:40:12 |
CCalMaterialFactory is a factory class to vuild G4Material |
 |
CCaloOrganization.cc |
6019 bytes |
2025-02-22 08:01:07 |
2025-02-22 09:40:12 |
Packing, unpacking and other related utilities for |
 |
CCaloSD.cc |
9556 bytes |
2025-02-22 08:01:07 |
2025-02-22 09:40:12 |
Stores hits of calorimetric type in appropriate container |
 |
CCalPrimaryGeneratorAction.cc |
14340 bytes |
2025-02-22 08:01:07 |
2025-02-22 09:40:12 |
CCalPrimaryGeneratorAction Sets up particle beam |
 |
CCalPrimaryGeneratorMessenger.cc |
8494 bytes |
2025-02-22 08:01:07 |
2025-02-22 09:40:12 |
CCalPrimaryGeneratorMessenger adds new commands for |
 |
CCalRotationMatrixFactory.cc |
10540 bytes |
2025-02-22 08:01:07 |
2025-02-22 09:40:12 |
CCalRotationFactory is a factory class to define all rotation |
 |
CCalRunAction.cc |
6011 bytes |
2025-02-22 08:01:07 |
2025-02-22 09:40:12 |
A class for providing user actions at begin and end of run |
 |
CCalSDList.cc |
3216 bytes |
2025-02-22 08:01:07 |
2025-02-22 09:40:12 |
Records names of all SD objects |
 |
CCalSensAssign.cc |
3130 bytes |
2025-02-22 08:01:07 |
2025-02-22 09:40:12 |
CCalSenAssign creates and assigns the sensitive detetctors |
 |
CCalSensitiveConfiguration.cc |
4793 bytes |
2025-02-22 08:01:07 |
2025-02-22 09:40:12 |
CCalSensitiveConfiguration handles the declaration of |
 |
CCalSensitiveDetectors.cc |
3705 bytes |
2025-02-22 08:01:07 |
2025-02-22 09:40:12 |
Provides a map of logicalvolume pointers which can be sensitive |
 |
CCalStackingAction.cc |
6257 bytes |
2025-02-22 08:01:07 |
2025-02-22 09:40:12 |
Stacking action needed for the application |
 |
CCalSteppingAction.cc |
5376 bytes |
2025-02-22 08:01:07 |
2025-02-22 09:40:13 |
Study profiling during the steps |
 |
CCalutils.cc |
3815 bytes |
2025-02-22 08:01:07 |
2025-02-22 09:40:13 |
General utilities. |
 |
CCalVisualisable.cc |
5831 bytes |
2025-02-22 08:01:07 |
2025-02-22 09:40:13 |
Sets visualisable attributes from .vis files |
 |
CCalVOrganization.cc |
2745 bytes |
2025-02-22 08:01:07 |
2025-02-22 09:40:13 |
Base class for definition of sensitive unit numbering schema |