bug fix: whole HCAL shifted 5 mm downstram along z axis
The whole HCAL volume is placed 5 mm downstream of its nominal position because of a typo.
The total length of the HCAL volume is encoded in the parameter HcalTotSpace = 1665 mm, corresponding to the beam-plug length (see compact/components/HCAL/trunk/detector.xml). The HCAL modules are 10 mm shorter. Their length is encoded by the parameter HcalTotLenght = 1655 mm.
In compact/components/HCAL/trunk/detector.xml the HCAL volume is placed at z = (HcalZPosition + 0.5*HcalTotLength) - Regions:DownstreamZPos, where HcalZPosition = 13385 mm and Regions:DownstreamZPos = --- mm.
Instead, the z coordinate should be z = (HcalZPosition + 0.5*HcalTotSpace) - Regions:DownstreamZPos, which also corresponds to the HCAL position in DetDesc.
Validated by
-
Core Software -
RTA -
Simulation
Edited by Gloria Corti