// --- ROOT system ---
-
-#include <TBRIK.h>
-#include <TNode.h>
#include <TParticle.h>
-#include <TRandom.h>
-#include <TTree.h>
#include <TVirtualMC.h>
// --- Standard library ---
-#include <string.h>
-#include <stdlib.h>
// --- AliRoot header files ---
-
-#include "AliConst.h"
#include "AliPHOSCPVDigit.h"
#include "AliPHOSGeometry.h"
#include "AliPHOSHit.h"
}
+//____________________________________________________________________________
+void AliPHOSv1::Copy(AliPHOSv1 & phos)
+{
+ TObject::Copy(phos) ;
+ AliPHOSv0::Copy(phos) ;
+ phos.fLightYieldMean = fLightYieldMean ;
+ phos.fIntrinsicPINEfficiency = fIntrinsicPINEfficiency ;
+ phos.fLightYieldAttenuation = fLightYieldAttenuation ;
+ phos.fRecalibrationFactor = fRecalibrationFactor ;
+ phos.fElectronsPerGeV = fElectronsPerGeV ;
+ phos.fAPDGain = fAPDGain ;
+ phos.fLightFactor = fLightFactor ;
+ phos.fAPDFactor = fAPDFactor ;
+}
+
//____________________________________________________________________________
void AliPHOSv1::AddHit(Int_t shunt, Int_t primary, Int_t tracknumber, Int_t Id, Float_t * hits)
{
if ( gMC->IsTrackEntering() ){
Float_t xyzd[3] ;
gMC -> Gmtod (xyzte, xyzd, 1); // transform coordinate from master to daughter system
- if (xyzd[1] < -GetGeometry()->GetCrystalSize(1)/2.+0.001){ //Entered close to forward surface
+ if (xyzd[1] < -GetGeometry()->GetCrystalSize(1)/2.+0.1){ //Entered close to forward surface
TParticle * part = 0 ;
Int_t parent = gAlice->GetMCApp()->GetCurrentTrackNumber() ;
while ( parent != -1 ) {