File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed
Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change 1717///
1818
1919#if !defined(__CLING__ ) || defined(__ROOTCLING__ )
20- #include <cmath>
21- #include <fstream>
2220#include "Pythia8/Pythia.h"
2321#include "FairGenerator.h"
2422#include "Generators/GeneratorPythia8.h"
25- #include "Generators/GeneratorPythia8Param.h"
2623#include "TRandom3.h"
2724#include "TParticlePDG.h"
2825#include "TDatabasePDG.h"
2926#include "TMath.h"
30- #include "TSystem.h"
31- #include "fairlogger/Logger.h"
3227#if __has_include ("SimulationDataFormat/MCGenStatus.h" )
3328#include "SimulationDataFormat/MCGenStatus.h"
3429#else
3732#if __has_include ("SimulationDataFormat/MCUtils.h" )
3833#include "SimulationDataFormat/MCUtils.h"
3934#endif
35+ #include "fairlogger/Logger.h"
36+ #include "TSystem.h"
37+ #include <fstream>
38+ #include "Generators/GeneratorPythia8Param.h"
39+ #include <cmath>
4040#endif
41-
41+ // DecayerPythia8Param needs to be included after the #endif to work with Cling
42+ #include "Generators/DecayerPythia8Param.h"
4243#if defined(__CLING__ ) && !defined(__ROOTCLING__ )
4344#if __has_include ("SimulationDataFormat/MCGenStatus.h" )
4445#include "SimulationDataFormat/MCGenStatus.h"
5051#endif
5152#pragma cling load("libO2Generators")
5253#endif
53-
5454#include "Generators/GeneratorPythia8.h"
55- #include "Generators/DecayerPythia8Param.h"
5655#include <nlohmann/json.hpp>
5756
5857using namespace Pythia8 ;
You can’t perform that action at this time.
0 commit comments