next up previous
Next: Utility routines Up: Subroutines related to reconstruction Previous: BRAHMS geometry and electronic

Hit collection packing and unpacking

GEANT hit and detector packages are not used due to the huge amount of the detector cells - it is no possible (not enough memory) to make HIT and DET databanks for every detector cells. Dynamic creation of ZEBRA banks for every separated cell can be used for this case but it will takes an additional CPU time. So, the special routines were written to collect hit information in the special common blocks.

These routines are called from GUSTEP to collect energy deposition information in detector at every GEANT step.

Subroutine Find_ECAL_Cell
Search for the ECAL calorimeter cell address and pack the geometrical keyword. This program called of subroutine Cellmap (was written in Ecole-Politechnik) for ECAL barrel to find the geometrical indexes. Put a new cell amplitude into the common.

Subroutine Find_HBAR_Cell
Search for the HCAL barrel calorimeter cell address and pack the geometrical keyword. Put a new cell amplitude into the common.

Subroutine Find_HCAP_Cell
Search for the HCAL end-cap calorimeter cell address and pack the geometrical keyword. Put a new cell amplitude into the common.


next up previous
Next: Utility routines Up: Subroutines related to reconstruction Previous: BRAHMS geometry and electronic
Harald Vogt 2004-02-04