]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSL2GConvertPointsV2.C
Merge branch 'master' into TPCdev
[u/mrichter/AliRoot.git] / ITS / AliITSL2GConvertPointsV2.C
index c1ad5951b0a8dd7263fcff76a73a4f5033711d5c..97a16faaca35aee6064ec66fc87b65e6955010d6 100644 (file)
@@ -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);