Bug fix
authorskowron <skowron@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 8 Dec 2001 11:50:07 +0000 (11:50 +0000)
committerskowron <skowron@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 8 Dec 2001 11:50:07 +0000 (11:50 +0000)
HBTAN/AliHBTReaderITSv1.cxx
HBTAN/AliHBTReaderITSv1.h

index da5418a..78d7e66 100644 (file)
@@ -185,8 +185,8 @@ Int_t AliHBTReaderITSv1::Read(AliHBTRun* particles, AliHBTRun *tracks)
         Int_t label = iotrack->GetLabel();
         if (label < 0) 
          {
-           continue;
            delete iotrack;
+           continue;
          }
         TParticle *p = (TParticle*)gAlice->Particle(label);
         if(!p)
index 8f0726c..68e7bbc 100644 (file)
@@ -14,7 +14,7 @@ class AliHBTReaderITSv1: public AliHBTReader
                       const Char_t* galicefilename="galice.root");
     AliHBTReaderITSv1(TObjArray* dirs,
                       const Char_t* tracksfilename="itstracks.root",
-                      const Char_t* tracksfilename="galice.root");    
+                      const Char_t* galicefilename="galice.root");    
     
     
     virtual ~AliHBTReaderITSv1();