Skip to content

Commit

Permalink
Merge pull request #570 from sstiefel19/patch-3
Browse files Browse the repository at this point in the history
Update Hijing_Gamma002.C
  • Loading branch information
gconesab authored Feb 27, 2024
2 parents 6b3673f + 6501593 commit 2fbf19d
Showing 1 changed file with 1 addition and 23 deletions.
24 changes: 1 addition & 23 deletions MC/CustomGenerators/PWGGA/Hijing_Gamma002.C
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ GeneratorCustom()
}

// PCM
TFormula* neutralsF = new TFormula("neutrals", "max(1.,470.*(x<5.)+62.*(x>7.5)*(x<12.5))");
TFormula* neutralsF = new TFormula("neutrals", "max(1.,306.*(x<5.)+62.*(x>7.5)*(x<12.5))");
Int_t ntimes = 1;
if ( isEmbedding )
{
Expand All @@ -50,27 +50,5 @@ GeneratorCustom()
ctl->AddGenerator(pi0d, "Injector (pi0d)", 1.);
ctl->AddGenerator(etaa, "Injector (etaa)", 1.);

// EMCAL
AliGenerator *pi0e = GeneratorInjector(1, 111, 0., 25., -0.7, 0.7, 80., 120.); // EMCal 1
AliGenerator *pi0f = GeneratorInjector(1, 111, 0., 25., -0.7, 0.7, 120., 160.); // EMCal 2
AliGenerator *pi0g = GeneratorInjector(1, 111, 0., 25., -0.7, 0.7, 160., 187.); // EMCal 3
AliGenerator *pi0h = GeneratorInjector(1, 111, 0., 25., 0.22, 0.7, 260., 327.); // DCal one side PHOS
AliGenerator *pi0i = GeneratorInjector(1, 111, 0., 25., -0.7, -0.22, 260., 327.); // DCal other side PHOS
AliGenerator *etab = GeneratorInjector(1, 221, 0., 25., -0.7, 0.7, 80., 120.); // EMCal 1
AliGenerator *etac = GeneratorInjector(1, 221, 0., 25., -0.7, 0.7, 120., 160); // EMCal 2
AliGenerator *etad = GeneratorInjector(1, 221, 0., 25., -0.7, 0.7, 160., 187.); // EMCal 3
AliGenerator *etae = GeneratorInjector(1, 221, 0., 25., 0.22, 0.7, 260., 327.); // DCal one side PHOS
AliGenerator *etaf = GeneratorInjector(1, 221, 0., 25., -0.7, -0.22, 260., 327.); // DCal other side PHOS
ctl->AddGenerator(pi0e, "Injector (pi0e)", 1.);
ctl->AddGenerator(pi0f, "Injector (pi0f)", 1.);
ctl->AddGenerator(pi0g, "Injector (pi0g)", 1.);
ctl->AddGenerator(pi0h, "Injector (pi0h)", 1.);
ctl->AddGenerator(pi0i, "Injector (pi0i)", 1.);
ctl->AddGenerator(etab, "Injector (etab)", 1.);
ctl->AddGenerator(etac, "Injector (etac)", 1.);
ctl->AddGenerator(etad, "Injector (etad)", 1.);
ctl->AddGenerator(etae, "Injector (etae)", 1.);
ctl->AddGenerator(etaf, "Injector (etaf)", 1.);

return ctl;
}

0 comments on commit 2fbf19d

Please sign in to comment.