X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=PHOS%2FAliPHOSReconstructioner.cxx;h=772abdb3ed68fb285f779d9fef1a98f72aabde07;hb=0b06c60d15940897a453c4c930567867a79f0402;hp=2f9471de30a35659fb423ac751af393456d2a40b;hpb=7b84f7c1bf108f15a773016c2da80f04d5759ec0;p=u%2Fmrichter%2FAliRoot.git diff --git a/PHOS/AliPHOSReconstructioner.cxx b/PHOS/AliPHOSReconstructioner.cxx index 2f9471de30a..772abdb3ed6 100644 --- a/PHOS/AliPHOSReconstructioner.cxx +++ b/PHOS/AliPHOSReconstructioner.cxx @@ -36,6 +36,7 @@ #include "AliPHOSReconstructioner.h" #include "AliPHOSClusterizer.h" #include "AliPHOSFastRecParticle.h" +#include "AliPHOSCpvRecPoint.h" ClassImp(AliPHOSReconstructioner) @@ -397,11 +398,12 @@ AliPHOSReconstructioner::AliPHOSReconstructioner(AliPHOSClusterizer * Clusterize TVector3 locpos; emcrp->GetLocalPosition(locpos); currentPHOSModule = emcrp->GetPHOSMod(); } - AliPHOSEmcRecPoint * cpvrp ; + AliPHOSCpvRecPoint * cpvrp ; for (index = 0 ; index < cpvcl->GetEntries() ; index++) { - cpvrp = (AliPHOSEmcRecPoint * )cpvcl->At(index) ; + cpvrp = (AliPHOSCpvRecPoint * )cpvcl->At(index) ; cpvrp ->SetIndexInList(index) ; - TVector3 locpos; cpvrp->GetLocalPosition(locpos); + TVector3 locpos; cpvrp->GetLocalPosition(locpos); + Int_t lengX,lengZ; cpvrp->GetClusterLengths(lengX,lengZ); currentPHOSModule = cpvrp->GetPHOSMod(); }