Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Hijing_Gamma002.C #570

Merged
merged 1 commit into from
Feb 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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;
}