X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=PHOS%2FAliPHOSv1.cxx;h=1a7fec91aabe2c887ee8fd3747f7b59e1abf0437;hb=beb1c41d8c72a3ec4ab5c850d3e481bff317b3dd;hp=307533ee85ceb3630d2cb0889409619fdbd0a599;hpb=5d12ce3847b64498d417a697c24fb86f715f2752;p=u%2Fmrichter%2FAliRoot.git diff --git a/PHOS/AliPHOSv1.cxx b/PHOS/AliPHOSv1.cxx index 307533ee85c..1a7fec91aab 100644 --- a/PHOS/AliPHOSv1.cxx +++ b/PHOS/AliPHOSv1.cxx @@ -27,22 +27,13 @@ // --- ROOT system --- - -#include -#include #include -#include -#include #include // --- Standard library --- -#include -#include // --- AliRoot header files --- - -#include "AliConst.h" #include "AliPHOSCPVDigit.h" #include "AliPHOSGeometry.h" #include "AliPHOSHit.h" @@ -177,6 +168,21 @@ AliPHOSv1::~AliPHOSv1() } +//____________________________________________________________________________ +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) { @@ -399,7 +405,7 @@ void AliPHOSv1::StepManager(void) 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 ) {