We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ccd86e0 commit 9297c52Copy full SHA for 9297c52
1 file changed
Detectors/TRD/workflow/src/TRDTrapSimulatorSpec.cxx
@@ -13,7 +13,10 @@
13
#include <chrono>
14
#include <optional>
15
#include <gsl/span>
16
+
17
+#ifdef WITH_OPENMP
18
#include <omp.h>
19
+#endif
20
21
#include "TFile.h"
22
@@ -233,7 +236,9 @@ void TRDDPLTrapSimulatorTask::run(o2::framework::ProcessingContext& pc)
233
236
234
237
auto timeParallelStart = std::chrono::high_resolution_clock::now();
235
238
239
240
#pragma omp parallel for
241
242
for (int iTrig = 0; iTrig < triggerRecords.size(); ++iTrig) {
243
int currHCId = -1;
244
std::array<TrapSimulator, NMCMHCMAX> trapSimulators{}; //the up to 64 trap simulators for a single half chamber
0 commit comments