X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;ds=sidebyside;f=ITS%2FAliITSL2GConvertPointsV2.C;h=97a16faaca35aee6064ec66fc87b65e6955010d6;hb=ff7f662866547dcccdf38b3b952d324436791f61;hp=c1ad5951b0a8dd7263fcff76a73a4f5033711d5c;hpb=5f2929412bf329b933b7b1272ae209aa6f2893e0;p=u%2Fmrichter%2FAliRoot.git diff --git a/ITS/AliITSL2GConvertPointsV2.C b/ITS/AliITSL2GConvertPointsV2.C index c1ad5951b0a..97a16faaca3 100644 --- a/ITS/AliITSL2GConvertPointsV2.C +++ b/ITS/AliITSL2GConvertPointsV2.C @@ -15,7 +15,7 @@ Int_t AliITSL2GConvertPointsV2 // Load event files if (gAlice) { - delete gAlice->GetRunLoader(); + delete AliRunLoader::Instance(); delete gAlice; gAlice=0; } @@ -66,7 +66,7 @@ Int_t AliITSL2GConvertPointsV2 // Converts and stores the ITS points into global coordinate format Int_t pos = 0; - AliITSclusterV2 *local = 0; + AliITSRecPoint *local = 0; AliITSNeuralPoint *global = 0; TTree *TP = new TTree("TreeP", "Event points in global coords"); TP->Branch("pos", &pos, "pos/I"); @@ -88,7 +88,7 @@ Int_t AliITSL2GConvertPointsV2 TR->GetEvent(module); count = (Int_t)localArray->GetEntriesFast(); for (index = 0; index < count; index++) { - local = (AliITSclusterV2*)localArray->At(index); + local = (AliITSRecPoint*)localArray->At(index); cout << module << " - " << local->GetDetectorIndex() << endl; global = new AliITSNeuralPoint(local, geom, module, index); global->SetUser(-1);