HADCalSystem
[Code Doc home]
- Defines a LayeredTube (HADCalBarrel) from the input ascii file spec for barrel and two
SlicedCones (HADCalEndcap) for endcaps. Layers are added for each from specs from the
ascii file.
- a very thin first layer, composed of air, is inserted into each subdetector so that the
MCParticle position at the front face of the calorimeter can be stored.
- the SlicedCone allows the endcaps to have inner radii follow a polar angle boundary.
- Contains the digitized hit map CellMap, an STL map, based on the CellArray templated
class (allowing reuse by EMCalSystem).
- Digitizer and DigitizerInterface objects are created for each layer via CellArray, with
HADCalid and MCvsE as the template arguments; the layer number is also passed in.
Insensitive layers are given a special layer number (99999). Each digitizer
references the main list in EMCalSystem.
- HADCalId takes the space point and layer number to calculate a unique identifier that is
used as the key in the map. It uses the segmentation values given in the input ascii file
to create the hit ID (see Reference Geometry).
- Hit information is stored in MCvsE, which contains the total deposited energy as well as
another map storing the energy deposited per hit per MCParticle.
R.Dubois Last Modified: 01/13/04 12:43