This routine simulates the seen shower axis (start-point) and direction for the particle entering calorimeter ICAL, of type CTYP at the point and direction given by SHOAXT. The way the calorimeter measures these quantaties is taken into account, by calling ZTCSMC
ICAL : number of the calorimeter. CTYP : +ve : Cylindrical detector. -ve : Plane detector. SHOAXT : True Shower axis and direction : (1) First impactpoint (barrel : Rphi, forward : x) (2) Second " (barrel : z, forward : y) (3) shower theta angle (4) shower phi angle
SHOAX : Seen Shower axis and direction : (1) First seen impactpoint (barrel : Rphi, forward : x) (2) Second " " (barrel : z, forward : y) (3) Seen shower theta angle (4) Seen shower phi angle
none
none.
(To get a GAUSsian random number.)
(To bring angle In the range 0 to 2PI.)
(To bring angle IN the range 0 to PI.)
(To bring angle IN the range 0 to PI.)
(To get Calorimeter Shower Meassurement Code)
(To get Calorimeter Shower Direction Errors)
(To get Calorimeter MOdule Size)
(To get Calorimeter Cell VaLue)
(To get Calorimeter Cell Centre Coordinates)