X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=blobdiff_plain;f=EPOS%2FAliGenEpos.cxx;h=495f9002856f3f76109be32aad603c7daec04eee;hp=7e4cfb6938a89290a30cabf4c671f9840b8c0a2d;hb=e12130d5dc9a50cb102d54ada03f7ec0be95f3cc;hpb=9033ee4940bc4875597d802755dcd0160135c7cb diff --git a/EPOS/AliGenEpos.cxx b/EPOS/AliGenEpos.cxx index 7e4cfb6938a..495f9002856 100644 --- a/EPOS/AliGenEpos.cxx +++ b/EPOS/AliGenEpos.cxx @@ -54,7 +54,7 @@ void AliGenEpos::Init() { void AliGenEpos::Generate() { // Does actual generation and output conversion - Float_t polar[3] = {0,0,0}; + Float_t polar[3] = {0,0,0}; Float_t origin0[3] = {0,0,0}; Float_t origin[3] = {0,0,0}; fNprimaries = 0; @@ -74,6 +74,7 @@ void AliGenEpos::Generate() { Int_t *idsOnStack = NULL; idsOnStack = new Int_t[np]; + for (int i = 0; i < np; i++) idsOnStack[i] = 0; TParticle *iparticle; for (int i = 0; i < np; i++) {