From 90873e5ec2e9f37faade3324c2f7e53ae5eb3c88 Mon Sep 17 00:00:00 2001 From: Francesco Prino Date: Tue, 5 May 2020 23:45:02 +0200 Subject: [PATCH] Add casting to work with ROOT6 --- MC/CustomGenerators/PWGMM/Hijing_pPb_SNM.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MC/CustomGenerators/PWGMM/Hijing_pPb_SNM.C b/MC/CustomGenerators/PWGMM/Hijing_pPb_SNM.C index b3e7ab8b..3e822854 100644 --- a/MC/CustomGenerators/PWGMM/Hijing_pPb_SNM.C +++ b/MC/CustomGenerators/PWGMM/Hijing_pPb_SNM.C @@ -2,7 +2,7 @@ AliGenerator* GeneratorCustom() { AliGenCocktail *gener = new AliGenCocktail(); - AliGenHijing *hijing = GeneratorHijing(); + AliGenHijing *hijing = (AliGenHijing*)GeneratorHijing(); hijing->SetImpactParameterRange(0., 100.); hijing->SetShadowing(0); hijing->SetNoElas(kTRUE);