X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=PHOS%2FAliPHOSFastRecParticle.cxx;h=177d018993b01270e00575ac20a912c5c07898f2;hb=5ac841315e11226a90404035d0c475c23c6d4553;hp=7db43b930bd4379f5d993a14b0ad50d40023b4fe;hpb=0a6d52e36efda880a3b1544767b5270efd178466;p=u%2Fmrichter%2FAliRoot.git diff --git a/PHOS/AliPHOSFastRecParticle.cxx b/PHOS/AliPHOSFastRecParticle.cxx index 7db43b930bd..177d018993b 100644 --- a/PHOS/AliPHOSFastRecParticle.cxx +++ b/PHOS/AliPHOSFastRecParticle.cxx @@ -89,6 +89,7 @@ ClassImp(AliPHOSFastRecParticle) ; fPolarTheta = p.fPolarTheta; fPolarPhi = p.fPolarPhi; fParticlePDG = p.fParticlePDG; + } //____________________________________________________________________________ @@ -151,23 +152,9 @@ void AliPHOSFastRecParticle::ExecuteEvent(Int_t event, Int_t px, Int_t py) delete clustertext ; clustertext = 0 ; gPad->Update() ; - break ; + break ; } - } - -} - -//____________________________________________________________________________ -Int_t * AliPHOSFastRecParticle::GetPrimaries(Int_t & number) -{ - // Retrieves the unique primary particle at the origine of the present reconstruced particle - - number = 1 ; - Int_t * list = new Int_t[1] ; - list[0] = fPrimary ; - - return list ; } //____________________________________________________________________________ @@ -224,7 +211,7 @@ void AliPHOSFastRecParticle::Paint(Option_t *) //____________________________________________________________________________ void AliPHOSFastRecParticle::Print(const char * opt) { - // Print the typr, energy and momentum + // Print the type, energy and momentum of the reconstructed particle cout << "AliPHOSFastRecParticle > " << "type is " << Name() << endl << " " << "Energy = " << fE << endl