File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -119,6 +119,9 @@ class GeneratorHybrid : public Generator
119119 std::atomic<bool > mStopFlag ;
120120 bool mIsInitialized = false ;
121121
122+ // Hyperloop flag
123+ const bool mIsHyperloop = Generator::isHyperloop();
124+
122125 o2::dataformats::MCEventHeader mMCEventHeader ; // to capture event headers
123126 int mHeaderGeneratorIndex = -1 ; // index of the generator that updated the header in current event
124127
Original file line number Diff line number Diff line change @@ -459,7 +459,9 @@ bool GeneratorHybrid::importParticles()
459459 if (mCocktailMode ) {
460460 // in cocktail mode we need to merge the particles from the different generators
461461 for (auto subIndex : subGenIndex) {
462- LOG (info) << " Importing particles for task " << subIndex;
462+ if (!mIsHyperloop ) {
463+ LOG (info) << " Importing particles for task " << subIndex;
464+ }
463465 auto subParticles = gens[subIndex]->getParticles ();
464466
465467 auto time_unit = gens[subIndex]->getTimeUnit ();
@@ -488,7 +490,9 @@ bool GeneratorHybrid::importParticles()
488490 mTasksStarted ++;
489491 }
490492 } else {
491- LOG (info) << " Importing particles for task " << genIndex;
493+ if (!mIsHyperloop ) {
494+ LOG (info) << " Importing particles for task " << genIndex;
495+ }
492496 // at this moment the mIndex-th generator is ready to be used
493497 mParticles = gens[genIndex]->getParticles ();
494498
You can’t perform that action at this time.
0 commit comments