forked from alisw/AliRoot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ALIROOT-5626 Added comment on usage of AliGenQEDBg with AliGenCocktail
- Loading branch information
Showing
1 changed file
with
26 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,7 +48,32 @@ | |
// Each pair has its own vertex, and time randomly distributed at originT | ||
// and originT+ integration time | ||
// | ||
// For details of generation see AliGenEpEmv1.cxx by [email protected] | ||
// For details of pair generation see AliGenEpEmv1.cxx by [email protected] | ||
|
||
/* | ||
The most useful way of using it is in the overlay with other generators (using the cocktail): | ||
In the Config.C | ||
// load the library: | ||
gSystem->Load("libTEPEMGEN.so"); | ||
// | ||
// add to AliGenCocktail as: | ||
AliGenCocktail *cocktail = new AliGenCocktail(); | ||
// ... setup other stuff | ||
// | ||
// QED background | ||
AliGenQEDBg* genBg = new AliGenQEDBg(); | ||
genBg->SetEnergyCMS(5500); | ||
genBg->SetProjectile("A", 208, 82); | ||
genBg->SetTarget ("A", 208, 82); | ||
genBg->SetYRange(-6.,3); | ||
genBg->SetPtRange(1.e-3,1.0); // Set pt limits (GeV) for e+-: 1MeV corresponds to max R=13.3mm at 5kGaus | ||
genBg->SetLumiIntTime(6.e27,20e-6); // luminosity and integration time | ||
// | ||
cocktail->AddGenerator(genBg,"QEDep",1); | ||
// We need to generate independent vertex for every event, this must be set after adding to cocktail | ||
// Note that the IO origin and sigma's is transferred from AliGenCocktail to daughter generators | ||
genBg->SetVertexSource(kInternal); | ||
*/ | ||
|
||
#include "AliLog.h" | ||
#include "AliGenQEDBg.h" | ||
|