-
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.
New generator config macro for LMee: HIJING+STARLIGHT
- Loading branch information
1 parent
c57d386
commit fbdfd3c
Showing
1 changed file
with
32 additions
and
0 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
AliGenerator * | ||
GeneratorCustom() | ||
{ | ||
AliGenCocktail *cocktail = (AliGenCocktail*) GeneratorCocktail("Hijing_Starlight_LMee"); | ||
|
||
AliGenerator* starlight = GeneratorStarlight(); | ||
AliGenStarLight *genStarLight = (AliGenStarLight*) starlight; | ||
if (processConfig == TString("kTwoGammaToElLow")) { | ||
genStarLight->SetParameter("W_MIN = 0.38 #Min value of w"); | ||
} | ||
else if (processConfig == TString("kTwoGammaToElMedium")) { | ||
genStarLight->SetParameter("W_MIN = 1.1 #Min value of w"); | ||
} | ||
else if (processConfig == TString("kTwoGammaToElHigh")) { | ||
genStarLight->SetParameter("W_MIN = 1.8 #Min value of w"); | ||
} | ||
genStarLight->SetParameter("W_MAX = 15.0 #Min value of w"); | ||
genStarLight->SetParameter("RAP_MAX = 1.00 #max y"); | ||
genStarLight->SetParameter("CUT_ETA = 1 #Cut in pseudorapidity? (0 = no, 1 = yes)"); | ||
genStarLight->SetParameter("ETA_MIN = -1 #Minimum pseudorapidity"); | ||
genStarLight->SetParameter("ETA_MAX = 1 #Maximum pseudorapidity"); | ||
cocktail->AddGenerator(starlight, "Starlight", 1.); | ||
|
||
// Background events: HIJING (only if non-embedded) | ||
TString simulation = gSystem->Getenv("CONFIG_SIMULATION"); | ||
if(!simulation.Contains("Embed")){ | ||
AliGenerator* hijing = GeneratorHijing(); | ||
cocktail->AddGenerator(hijing, "Hijing", 1.); | ||
} | ||
|
||
return cocktail; | ||
} |