Skip to content

Commit 0b6a429

Browse files
committed
working version in local
1 parent b9d6ee1 commit 0b6a429

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

MC/config/PWGLF/pythia8/generator_pythia8_LF_rapidity.C

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,29 @@
1717
///
1818

1919
#if !defined(__CLING__) || defined(__ROOTCLING__)
20+
#if __has_include("SimulationDataFormat/MCGenStatus.h")
2021
#include "SimulationDataFormat/MCGenStatus.h"
22+
#else
23+
#include "SimulationDataFormat/MCGenProperties.h"
24+
#endif
25+
#if __has_include("SimulationDataFormat/MCUtils.h")
2126
#include "SimulationDataFormat/MCUtils.h"
27+
#endif
2228
#include "fairlogger/Logger.h"
2329
#include "TSystem.h"
2430
#include <fstream>
2531
#include "Generators/GeneratorPythia8Param.h"
2632
#include "Generators/DecayerPythia8Param.h"
2733
#endif
2834
#if defined(__CLING__) && !defined(__ROOTCLING__)
35+
#if __has_include("SimulationDataFormat/MCGenStatus.h")
36+
#include "SimulationDataFormat/MCGenStatus.h"
37+
#elif __has_include("SimulationDataFormat/MCGenProperties.h")
38+
#include "SimulationDataFormat/MCGenProperties.h"
39+
#endif
40+
#if __has_include("SimulationDataFormat/MCUtils.h")
41+
#include "SimulationDataFormat/MCUtils.h"
42+
#endif
2943
#pragma cling load("libO2Generators")
3044
#endif
3145
#include "Generators/GeneratorPythia8.h"

0 commit comments

Comments
 (0)