Skip to content

Commit

Permalink
Merge pull request #462 from gconesab/master
Browse files Browse the repository at this point in the history
Fixes for Root6
  • Loading branch information
gconesab authored Mar 27, 2021
2 parents 7d27227 + c900153 commit 2fbac03
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion MC/CustomGenerators/PWGDQ/EPOS_Jpsiee002.C
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
AliGenerator *
GeneratorCustom()
{
AliGenCocktail *ctl = GeneratorCocktail("EPOSLHC_Jpsiee002");
AliGenCocktail *ctl = (AliGenCocktail *) GeneratorCocktail("EPOSLHC_Jpsiee002");
AliGenerator *epos = GeneratorEPOSLHC();
ctl->AddGenerator(epos, "EPOS-LHC", 1.);
if (uidConfig % 10 < 7)
Expand Down
2 changes: 1 addition & 1 deletion MC/CustomGenerators/PWGDQ/EPOS_Jpsiee_pPb8TeV.C
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
AliGenerator *
GeneratorCustom()
{
AliGenCocktail *ctl = GeneratorCocktail("EPOSLHC_Jpsiee_pPb8TeV");
AliGenCocktail *ctl = (AliGenCocktail *) GeneratorCocktail("EPOSLHC_Jpsiee_pPb8TeV");
AliGenerator *epos = GeneratorEPOSLHC();
ctl->AddGenerator(epos, "EPOS-LHC", 1.);
if (uidConfig % 10 < 7)
Expand Down
2 changes: 1 addition & 1 deletion MC/CustomGenerators/PWGDQ/Muon_LowMassCocktail.C
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
AliGenerator* GeneratorCustom()
{

AliGenCocktail *ctl = GeneratorCocktail("Muon_LowMassCocktail");
AliGenCocktail *ctl = (AliGenCocktail *) GeneratorCocktail("Muon_LowMassCocktail");

enum {kEta2Body, kEtaDalitz, kRho2Body, kOmega2Body, kOmegaDalitz, kPhi2Body, kEtaPrimeDalitz, kPionLMR, kKaonLMR};
Int_t nPart = 1;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
AliGenerator *
GeneratorCustom()
{
AliGenCocktail *ctl = GeneratorCocktail("Pythia6_Perugia2011_Jpsiee001");
AliGenCocktail *ctl = (AliGenCocktail *) GeneratorCocktail("Pythia6_Perugia2011_Jpsiee001");
AliGenerator *pyt = GeneratorPythia6(kPythia6Tune_Perugia2011);
ctl->AddGenerator(pyt, "Pythia6", 1.);
if (uidConfig % 10 < 7) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
AliGenerator *
GeneratorCustom()
{
AliGenCocktail *ctl = GeneratorCocktail("Pythia6_Perugia2011_Jpsi2ee5TeV_2017");
AliGenCocktail *ctl = (AliGenCocktail *) GeneratorCocktail("Pythia6_Perugia2011_Jpsi2ee5TeV_2017");
AliGenerator *pyt = GeneratorPythia6(kPythia6Tune_Perugia2011);
ctl->AddGenerator(pyt, "Pythia6", 1.);
if (uidConfig % 10 < 7) {
Expand Down
2 changes: 1 addition & 1 deletion MC/CustomGenerators/PWGDQ/Pythia6_Perugia2011_Jpsiee001.C
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
AliGenerator *
GeneratorCustom()
{
AliGenCocktail *ctl = GeneratorCocktail("Pythia6_Perugia2011_Jpsiee001");
AliGenCocktail *ctl = (AliGenCocktail *) GeneratorCocktail("Pythia6_Perugia2011_Jpsiee001");
AliGenerator *pyt = GeneratorPythia6(kPythia6Tune_Perugia2011);
ctl->AddGenerator(pyt, "Pythia6", 1.);
if (uidConfig % 10 < 7) {
Expand Down
2 changes: 1 addition & 1 deletion MC/Geant4Config.C
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ void Geant4Config()
return;
}
else if (str->String().Atoi() < 4 || !g4Version.Contains("monopole")) {
Printf("We cannot use monopoles with the current version of G4: %s", str->Data());
Printf("We cannot use monopoles with the current version of G4: %s", str->String().Data());
delete og4;
og4 = 0;
return;
Expand Down

0 comments on commit 2fbac03

Please sign in to comment.