|Mass calculation from vector<PndEmcDigi*> in EMC [message #8592]
||Tue, 19 May 2009 13:51
Registered: January 2009
Dear all, |
I have a question about Mass function in PndEmcCluster using the list of PndEmcDigi.
In this Function, a list of digitization in ONE cluster is called, and all stored digi iterate to build a momentum.
If I correctly understand now, a cluster has few digitization according certain space points, where is only covered region in one cluster. I cannot clearly understand why two or even more digitizations are needed to calculate momentum, how do they involve in one cluster?
Could you explain about that? I just want to know the functionality of this digi list.
Thank you for your help in advance
Double_t PndEmcCluster::Mass() const
00217 Double_t mass;
00218 TVector3 clusterMomentum(0,0,0);
00219 vector<PndEmcDigi*>::const_iterator digi_iter;
00220 TVector3 digiDirection;
00221 Double_t digiEnergy;
00222 for (digi_iter=fDigiList.begin();digi_iter!=fDigiList.end();++digi_iter)
00229 Double_t clEnergy=energy();
00233 return mass;