Skip to content

Commit

Permalink
Minor fix to generator_pythia8_LF.C (#1731)
Browse files Browse the repository at this point in the history
1. fixing : error: use of undeclared identifier 'nlohmann'
2. fixing : error: reference to 'Pythia' is ambiguous
  • Loading branch information
hkoley authored Aug 20, 2024
1 parent 4377d75 commit ab8d3ed
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions MC/config/PWGLF/pythia8/generator_pythia8_LF.C
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
#include <fstream>
#include "Generators/GeneratorPythia8Param.h"
#include "Generators/DecayerPythia8Param.h"
#include <nlohmann/json.hpp>
#endif
#include <nlohmann/json.hpp>
#include "generator_pythia8_longlived.C"

using namespace Pythia8;
Expand Down Expand Up @@ -445,8 +445,8 @@ class GeneratorPythia8LF : public o2::eventgen::GeneratorPythia8

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

///___________________________________________________________
Expand Down

0 comments on commit ab8d3ed

Please sign in to comment.