Protection against deletion of Header.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 19 Oct 2007 13:04:36 +0000 (13:04 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 19 Oct 2007 13:04:36 +0000 (13:04 +0000)
PYTHIA6/AliGenPythia.cxx

index d8238ce621d391878dd4dd68a1dead3cc2983b2f..af5924524d73975f3e96b1c66a860df4143004f1 100644 (file)
@@ -1153,6 +1153,7 @@ void AliGenPythia::MakeHeader()
 //  Pass header
 //
     AddHeader(fHeader);
+    fHeader = 0x0;
 }
 
 Bool_t AliGenPythia::CheckTrigger(TParticle* jet1, TParticle* jet2)