Skip to content

Commit

Permalink
Merge pull request #560 from stefanopolitano/master
Browse files Browse the repository at this point in the history
Removing multiplicity threshold from HFDreso custom generator
  • Loading branch information
gconesab authored Jul 4, 2023
2 parents b951702 + 01001d9 commit f527e44
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions MC/CustomGenerators/PWGHF/Pythia8_Monash2013_HFDsreso.C
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,6 @@ AliGenerator *GeneratorCustom(TString opt = "Ds2")
// Pt transfer of the hard scattering (set for all cases)
pyth->SetPtHard(pthardminConfig, pthardmaxConfig);

//setting multiplicity threshold
TString multthr = opt;
Int_t stop = opt.First('_');
if(stop==-1) {
printf("Warning! Multiplicity threshold has to be set via the macro parameter!\n");
return 0x0;
}
multthr.Remove(0,stop+1);
pyth->SetTriggerChargedMultiplicity(multthr.Atoi(), 1.2);

printf(">>>>> HF generator with mult threshold %d\n", multthr.Atoi());


// Configuration of decayer
pyth->SetForceDecay(kHadronicDWithout4Bodies);
if (iprocess == 0) {
Expand Down

0 comments on commit f527e44

Please sign in to comment.