Fixed copy/paste error
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 3 Jun 2008 09:22:12 +0000 (09:22 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 3 Jun 2008 09:22:12 +0000 (09:22 +0000)
EVGEN/AliGenExtFile.cxx

index dac8c07..8256f65 100644 (file)
@@ -141,7 +141,7 @@ void AliGenExtFile::Generate()
        p[0] = jparticle->Px();
        p[1] = jparticle->Py();
        p[2] = jparticle->Pz();
-       Int_t idpart = iparticle->GetPdgCode();
+       Int_t idpart = jparticle->GetPdgCode();
        if(fVertexSmear==kPerTrack) 
        {
            Rndm(random,6);