-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #313 from gluparel/master
Add Config for XiC production in pp collisions with Pythia6
- Loading branch information
Showing
2 changed files
with
22 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
AliGenerator *GeneratorCustom(TString opt = "") | ||
{ | ||
Int_t iprocess = uidConfig % 4; | ||
|
||
Int_t particleTrigger[4]={4232, -4232, 4132, -4132}; | ||
Int_t iparticle =0; | ||
if (iprocess>1) iparticle=1; | ||
|
||
TString label[2]={"XiCPlus to hadrons", "XiC0 to hadrons"}; | ||
|
||
AliGenCocktail *ctl = static_cast<AliGenCocktail*>(GeneratorCocktail("Perugia2011_HF")); | ||
AliGenPythia *pythia = (AliGenPythia*) GeneratorPythia6(kPythia6Tune_Perugia2011); | ||
pythia->SetProcess(kPyCharmppMNRwmi); | ||
pythia->SetHeavyQuarkYRange(-1.5, 1.5); | ||
pythia->SetTriggerY(1.0); | ||
pythia->SetTriggerParticle(particleTrigger[iprocess],1.5,1.,100); //Xic //pdgcode,eta,ptmin,ptmax | ||
|
||
ctl->AddGenerator(pythia, Form("MC %s",label[iparticle].Data()),1.); | ||
|
||
return ctl; | ||
} |