}
+//____________________________________________________________________________
+void AliPHOSvFast::Copy(AliPHOSvFast & fast)
+{
+ TObject::Copy(fast) ;
+ AliPHOS::Copy(fast) ;
+ fast.fBigBoxX = fBigBoxX ;
+ fast.fBigBoxY = fBigBoxY ;
+ fast.fBigBoxZ = fBigBoxZ ;
+ fast.fNRecParticles = fNRecParticles ;
+ fast.fRan = fRan ;
+ fast.fResPara1 = fResPara1 ;
+ fast.fResPara2 = fResPara2 ;
+ fast.fResPara3 = fResPara3 ;
+ fast.fPosParaA0 = fPosParaA0 ;
+ fast.fPosParaA1 = fPosParaA1 ;
+ fast.fPosParaB0 = fPosParaB0 ;
+ fast.fPosParaB1 = fPosParaB1 ;
+ fast.fFastRecParticles = new TClonesArray(fFastRecParticles->GetClass()->GetName(), 100) ;
+ Int_t index ;
+ for (index = 0 ; index < fFastRecParticles->GetEntries(); index++)
+ (fast.fFastRecParticles)->AddAt(fFastRecParticles->At(index), index) ;
+}
+
//____________________________________________________________________________
void AliPHOSvFast::AddRecParticle(const AliPHOSFastRecParticle & rp)
{
}
//____________________________________________________________________________
-Double_t AliPHOSvFast::MakeEnergy(const Double_t energy)
+Double_t AliPHOSvFast::MakeEnergy(Double_t energy)
{
// Smears the energy according to the energy dependent energy resolution.
// A gaussian distribution is assumed
}
//____________________________________________________________________________
-TVector3 AliPHOSvFast::MakePosition(const Double_t energy, const TVector3 pos, const Double_t theta, const Double_t phi)
+TVector3 AliPHOSvFast::MakePosition(Double_t energy, TVector3 pos, Double_t theta, Double_t phi)
{
// Smears the impact position according to the energy dependent position resolution
// A gaussian position distribution is assumed
}
//____________________________________________________________________________
-void AliPHOSvFast::MakeRecParticle(const Int_t modid, const TVector3 pos, AliPHOSFastRecParticle & rp)
+void AliPHOSvFast::MakeRecParticle(Int_t modid, TVector3 pos, AliPHOSFastRecParticle & rp)
{
// Modify the primary particle properties according
// 1. the response function of PHOS