Get the charge and particle identification of calorimeter clusters:
Charge : If there is at least shower created by a charged track in the cluster, the cluster will have charge +- 1, else 0. If more than one charged particle is in the cluster, the charge is still 1, the sign given by the last one in the list. Id : No charged particles pointing to the cluster: Id = or Charged particles pointing : If the calorimteris hadronic : " " " em : e If the only charged particle pointing is a mu: if there are no neutrals in the cluster, the mu code is kept, if there are neutrals, the code will be e or (em or hadr. calorimeter)
(This procedure reasonably well emmulates what a real calorimter would give)
none.
From /ZAEVT/ : NCLUST, total number of clusters. From /ZACLU/ : NSHICL, number of showers in each cluster; CLUORIN, list of showers in each cluster. From /ZATRS/ : CHA, charge of tracks; CDCALN, particle id code from calorimeters.
To /ZACLU/ : CDCLU, particle id code for clusters; CHACLU, charge of clusters.