GSI Forum - RDF feed
type: channel
description: GSI Helmholtzzentrum für Schwerionenforschung
items: Modifications in EMC classes
items: Re: Modifications in EMC classes

Modifications in EMC classes
type: item
description: Hi all, I have committed some modifications to the EMC code. They required small changes in /pid/PidCorr/PndPidCorrelator.cxx, which I could not commit since I do not have write permission to pid directory. Required modifications are at the end of this post, so could somebody commit them. Modifications are the following: 1. Till now PndEmcCluster contained the vector of PndEmcDigi from which it was created, not the indexes in TClonesArray. It resulted that those digis were stored twice, first time in a TClonesArray of PndEmcDigi and for the second time within this PndEmcCluster. With current modification the indexes are stored. And this modification required the next one. 2. PndEmcCluster was till now not the container class but provided via its methods calculation of some cluster properties such as energy, position, mass. Other properties such as different cluster moments were implemented as separate classes: PndEmcClusterEnergySums, PndEmcClusterMoments, PndEmcXClMoments. With current modification I moved most part of functionality to the new class PndEmcClusterProperties which calculate cluster energy, position and mass. For this the pointer to TClonesArray of PndEmcDigi should be passed to this class to access digis which belong to cluster with stored indexes. And cluster energy, position and three additional parameters used by PID (Zerike moments (2,0) and (5,3) and lateral energy distribution) are stored to PndEmcCluster with Set methods. However the calculation of the corrected energy and error matrix is left at the moment within PndEmcCluster since only the information on cluster energy/position is needed for that and not the information from the digis. Important aspect here is the calculation time. Since Zerike moments (2,0) and (5,3) and lateral energy distribution are calculated in the PndEmcMakeCluster and PndEmcMakeBump emc reconstruction macro need more time. However this time is gained during pid where these parameters were calculated and now the prec…
creator: Dima Melnychuk
date: 2010-04-28T12:14:50-00:00

Re: Modifications in EMC classes
type: item
description: Hi, I have committed the changes in svn for PidCorrelator. The code compiles, I hope it also works )
creator: StefanoSpataro
date: 2010-04-28T14:49:24-00:00