Fixed a bug, where the header would be not be generated if the number of hard scatter...
authorbthorsbr <brian.peter.thorsbro@cern.ch>
Wed, 13 Aug 2014 15:58:19 +0000 (17:58 +0200)
committerhristov <Peter.Hristov@cern.ch>
Wed, 20 Aug 2014 08:27:40 +0000 (10:27 +0200)
TEvtGen/HepMC/HeavyIon.cc

index fd2290c..6c5f0de 100644 (file)
@@ -119,9 +119,9 @@ std::istream & operator >> (std::istream & is, HeavyIon * ion)
     if(!iline) throw IO_Exception("HeavyIon input stream encounterd invalid data");
     iline >> inel;
     if(!iline) throw IO_Exception("HeavyIon input stream encounterd invalid data");
-    if( nh == 0 ) {
-        return is;
-    }
+//    if( nh == 0 ) {
+//        return is;
+//    }
     
     ion->set_Ncoll_hard(nh);
     ion->set_Npart_proj(np);