diff --git a/Generators/include/Generators/GeneratorHybrid.h b/Generators/include/Generators/GeneratorHybrid.h index b57257747c629..a47ef0b7cce98 100644 --- a/Generators/include/Generators/GeneratorHybrid.h +++ b/Generators/include/Generators/GeneratorHybrid.h @@ -119,6 +119,9 @@ class GeneratorHybrid : public Generator std::atomic mStopFlag; bool mIsInitialized = false; + // Hyperloop flag + const bool mIsHyperloop = Generator::isHyperloop(); + o2::dataformats::MCEventHeader mMCEventHeader; // to capture event headers int mHeaderGeneratorIndex = -1; // index of the generator that updated the header in current event diff --git a/Generators/src/GeneratorHybrid.cxx b/Generators/src/GeneratorHybrid.cxx index ae098ae336a8e..29ea6e6737a8c 100644 --- a/Generators/src/GeneratorHybrid.cxx +++ b/Generators/src/GeneratorHybrid.cxx @@ -459,7 +459,9 @@ bool GeneratorHybrid::importParticles() if (mCocktailMode) { // in cocktail mode we need to merge the particles from the different generators for (auto subIndex : subGenIndex) { - LOG(info) << "Importing particles for task " << subIndex; + if (!mIsHyperloop) { + LOG(info) << "Importing particles for task " << subIndex; + } auto subParticles = gens[subIndex]->getParticles(); auto time_unit = gens[subIndex]->getTimeUnit(); @@ -488,7 +490,9 @@ bool GeneratorHybrid::importParticles() mTasksStarted++; } } else { - LOG(info) << "Importing particles for task " << genIndex; + if (!mIsHyperloop) { + LOG(info) << "Importing particles for task " << genIndex; + } // at this moment the mIndex-th generator is ready to be used mParticles = gens[genIndex]->getParticles();