X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=EVGEN%2FAliGenBox.cxx;h=c3ae3ad504f6e879c13e54a792f09d7c093d09d3;hb=5aa880295563d310faf975385aced92ca2277d1f;hp=112da0d00c972320b86f6529191ac11caf39fb54;hpb=21391258512db90edc121f665c0866bbc7a0123e;p=u%2Fmrichter%2FAliRoot.git diff --git a/EVGEN/AliGenBox.cxx b/EVGEN/AliGenBox.cxx index 112da0d00c9..c3ae3ad504f 100644 --- a/EVGEN/AliGenBox.cxx +++ b/EVGEN/AliGenBox.cxx @@ -153,6 +153,7 @@ void AliGenBox::Generate() // Passes header either to the container or to gAlice if (fContainer) { + header->SetName(fName); fContainer->AddHeader(header); } else { gAlice->SetGenEventHeader(header); @@ -172,7 +173,5 @@ void AliGenBox::Init() Fatal("Init","You should only set the range of one of these variables: y, eta or theta\n"); if((!TestBit(kYRange)) && (!TestBit(kEtaRange)) && (!TestBit(kThetaRange)) ) Fatal("Init","You should set the range of one of these variables: y, eta or theta\n"); - - AliPDG::AddParticlesToPdgDataBase(); }