#include "TPad.h"
#include "TPaveText.h"
-ClassImp(AliPHOSFastRecParticle)
+ClassImp(AliPHOSFastRecParticle) ;
//____________________________________________________________________________
AliPHOSFastRecParticle::AliPHOSFastRecParticle(const AliPHOSFastRecParticle & rp)
fPolarTheta = p.fPolarTheta;
fPolarPhi = p.fPolarPhi;
fParticlePDG = p.fParticlePDG;
+
}
//____________________________________________________________________________
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 ;
}
//____________________________________________________________________________
case kELECTRON:
name = "ELECTRON" ;
break ;
- case kCHARGED_HA:
+ case kCHARGEDHA:
name = "CHARGED_HA" ;
break ;
- case kNEUTRAL_HA:
+ case kNEUTRALHA:
name = "NEUTRAL_HA" ;
break ;
- case kNEUTRAL_EM:
+ case kNEUTRALEM:
name = "NEUTRAL_EM" ;
break ;
- case kGAMMA_HA:
+ case kGAMMAHA:
name = "PHOTON_HA" ;
break ;
}
//____________________________________________________________________________
-void AliPHOSFastRecParticle::Print()
+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