X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=blobdiff_plain;f=DISPLAY%2FAliDisplayClusters.cxx;h=fb8276cfc185c03f348ca9e1fbb42a40b289bbaf;hp=b58b2087d026e461da78b38a8af372cc36d22176;hb=7d62fb642e8e534a0745ecf2706ee54afa6ffa5c;hpb=024a7e6436f5c6bf580ecbde53395c968bb1ecc8 diff --git a/DISPLAY/AliDisplayClusters.cxx b/DISPLAY/AliDisplayClusters.cxx index b58b2087d02..fb8276cfc18 100644 --- a/DISPLAY/AliDisplayClusters.cxx +++ b/DISPLAY/AliDisplayClusters.cxx @@ -26,7 +26,6 @@ #include "AliClusters.h" #include "AliDisplay2.h" #include "AliDisplayClusters.h" -#include "AliITS.h" #include "AliITSLoader.h" #include "AliITSclusterV2.h" #include "AliITSgeom.h" @@ -35,9 +34,9 @@ #include "AliRunLoader.h" #include "AliTPCLoader.h" #include "AliTPCParam.h" -#include "AliTPCcluster.h" +#include "AliTPCclusterMI.h" -ClassImp(AliDisplayClusters); +ClassImp(AliDisplayClusters) //_____________________________________________________________ AliDisplayClusters::AliDisplayClusters() @@ -91,7 +90,6 @@ void AliDisplayClusters::LoadITSClusters(Int_t nevent) return; } AliITSLoader *itsl = (AliITSLoader*)rl->GetLoader("ITSLoader"); - AliITS *its = (AliITS*)gAlice->GetModule("ITS"); rl->GetEvent(nevent); itsl->LoadRecPoints(); @@ -102,7 +100,10 @@ void AliDisplayClusters::LoadITSClusters(Int_t nevent) return; } - AliITSgeom *geom=its->GetITSgeom(); + TDirectory * olddir = gDirectory; + rl->CdGAFile(); + AliITSgeom *geom = (AliITSgeom*)gDirectory->Get("AliITSgeom"); + olddir->cd(); Int_t count = 0; TClonesArray *clusters=new TClonesArray("AliITSclusterV2",10000); @@ -174,7 +175,7 @@ void AliDisplayClusters::LoadTPCClusters(Int_t nevent) Float_t noiseth = 10; AliClusters *clusters=new AliClusters(); - clusters->SetClass("AliTPCcluster"); + clusters->SetClass("AliTPCclusterMI"); cTree->SetBranchAddress("Segment",&clusters); @@ -186,7 +187,7 @@ void AliDisplayClusters::LoadTPCClusters(Int_t nevent) TClonesArray &clrow=*clusters->GetArray(); Int_t ncl=clrow.GetEntriesFast(); while (ncl--) { - AliTPCcluster *cl=(AliTPCcluster*)clrow[ncl]; + AliTPCclusterMI *cl=(AliTPCclusterMI*)clrow[ncl]; Double_t x=dig->GetPadRowRadii(sec,row), y=cl->GetY(), z=cl->GetZ(); if (cl->GetQ()