File tree Expand file tree Collapse file tree
MC/config/PWGHF/external/generator Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -386,17 +386,11 @@ protected:
386386 void checkConsistency () {
387387 for (int iPart {1 }; iPart < mPythia .event .size (); ++ iPart ) {
388388 // verify if all particles of decay chain are in the TDatabasePDG
389+ // taken from https://github.com/AliceO2Group/O2DPG/blob/master/MC/config/PWGDQ/EvtGen/GeneratorEvtGen.C
389390 if (!TDatabasePDG ::Instance ()-> GetParticle (abs (mPythia .event [iPart ].id ()))) {
390- std ::cout << "Particle code non known in TDatabasePDG " << mPythia .event [iPart ].id () << " - set pdg = 89" << std ::endl ;
391+ // std::cout << "Particle code non known in TDatabasePDG " << mPythia.event[iPart].id() << " - set pdg = 89" << std::endl;
391392 mPythia .event [iPart ].id (89 );
392393 }
393-
394- // istat = mEvtstdhep->getIStat(i);
395-
396- // if (istat != 1 && istat != 2)
397- // std::cout << "ImportParticles: Attention unknown status code!" << std::endl;
398- // if (istat == 2)
399- // istat = 11; // status decayed
400394 }
401395 }
402396
You can’t perform that action at this time.
0 commit comments