Skip to content

Commit 263e382

Browse files
hkoleyalcaliva
authored andcommitted
Minor fix to generator_pythia8_LF.C (#1731)
1. fixing : error: use of undeclared identifier 'nlohmann' 2. fixing : error: reference to 'Pythia' is ambiguous (cherry picked from commit ab8d3ed)
1 parent 6476a56 commit 263e382

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

MC/config/PWGLF/pythia8/generator_pythia8_LF.C

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
#include <fstream>
2424
#include "Generators/GeneratorPythia8Param.h"
2525
#include "Generators/DecayerPythia8Param.h"
26-
#include <nlohmann/json.hpp>
2726
#endif
27+
#include <nlohmann/json.hpp>
2828
#include "generator_pythia8_longlived.C"
2929

3030
using namespace Pythia8;
@@ -445,8 +445,8 @@ class GeneratorPythia8LF : public o2::eventgen::GeneratorPythia8
445445

446446
std::vector<ConfigContainer> mGunConfigs; // List of gun configurations to use
447447
std::vector<ConfigContainer> mGunConfigsGenDecayed; // List of gun configurations to use that will be decayed by the generator
448-
Pythia pythiaObjectSignal; // Signal collision generator
449-
Pythia pythiaObjectMinimumBias; // Minimum bias collision generator
448+
Pythia8::Pythia pythiaObjectSignal; // Signal collision generator
449+
Pythia8::Pythia pythiaObjectMinimumBias; // Minimum bias collision generator
450450
};
451451

452452
///___________________________________________________________

0 commit comments

Comments
 (0)