Figure 1.: Use Case for fast simulation. Only PHOS is implemented. Other detectors are ignored. Click on image for full scale
This has been implemented in a new class AliPHOSvFast (
inheritance tree ). The synopsis goes as follow :
AliPHOSvFast::AliDetector
CreateGeometry() {
describes the coarse outline of PHOS as 5 boxes }
StepManager() {
when particle reaches PHOS {
stop the tracking
modifiy the attributes (energy, momentum, type) of the primary particle according to the PHOS response
construct a "virtual" reconstructed particle }
save the reconstructed particle in a list }
FinishEvent() {
write the list in TreeR
write the TreeR to file }