diff --git a/MC/CustomGenerators/DPG/Dpmjet_Pileup_Cent.C b/MC/CustomGenerators/DPG/Dpmjet_Pileup_Cent.C index 93127752..8c70cea0 100644 --- a/MC/CustomGenerators/DPG/Dpmjet_Pileup_Cent.C +++ b/MC/CustomGenerators/DPG/Dpmjet_Pileup_Cent.C @@ -14,14 +14,9 @@ AliGenerator *GeneratorCustom(){ Double_t mu=0.001; TString bcm=GetTriggerBCMaskAndMu(mu); - // swap H and L to match requirement of AliGenPileup - bcm.ReplaceAll("H","X"); - bcm.ReplaceAll("L","H"); - bcm.ReplaceAll("X","L"); - //printf(" BC mask = %s\n",bcm.Data()); - printf(" mu = %f\n",mu); - printf(" Energy = %f\n",energyConfig); + //printf(" mu = %f\n",mu); + //printf(" Energy = %f\n",energyConfig); // Set the pileup interaction generator // The second argument is the pileup rate diff --git a/MC/CustomGenerators/DPG/EPOS_Pileup_Cent.C b/MC/CustomGenerators/DPG/EPOS_Pileup_Cent.C index 4a776ec0..8bf2a01e 100644 --- a/MC/CustomGenerators/DPG/EPOS_Pileup_Cent.C +++ b/MC/CustomGenerators/DPG/EPOS_Pileup_Cent.C @@ -14,14 +14,9 @@ AliGenerator *GeneratorCustom(){ Double_t mu=0.001; TString bcm=GetTriggerBCMaskAndMu(mu); - // swap H and L to match requirement of AliGenPileup - bcm.ReplaceAll("H","X"); - bcm.ReplaceAll("L","H"); - bcm.ReplaceAll("X","L"); - //printf(" BC mask = %s\n",bcm.Data()); - printf(" mu = %f\n",mu); - printf(" Energy = %f\n",energyConfig); + //printf(" mu = %f\n",mu); + //printf(" Energy = %f\n",energyConfig); // Set the pileup interaction generator // The second argument is the pileup rate diff --git a/MC/CustomGenerators/DPG/Hijing_Pileup.C b/MC/CustomGenerators/DPG/Hijing_Pileup.C index be424367..f3550a06 100644 --- a/MC/CustomGenerators/DPG/Hijing_Pileup.C +++ b/MC/CustomGenerators/DPG/Hijing_Pileup.C @@ -14,14 +14,9 @@ AliGenerator *GeneratorCustom(){ Double_t mu=0.001; TString bcm=GetTriggerBCMaskAndMu(mu); - // swap H and L to match requirement of AliGenPileup - bcm.ReplaceAll("H","X"); - bcm.ReplaceAll("L","H"); - bcm.ReplaceAll("X","L"); - //printf(" BC mask = %s\n",bcm.Data()); - printf(" mu = %f\n",mu); - printf(" Energy = %f\n",energyConfig); + //printf(" mu = %f\n",mu); + //printf(" Energy = %f\n",energyConfig); // Set the pileup interaction generator // The second argument is the pileup rate diff --git a/MC/CustomGenerators/DPG/Hijing_Pileup_Cent.C b/MC/CustomGenerators/DPG/Hijing_Pileup_Cent.C index 0929264d..09a1918e 100644 --- a/MC/CustomGenerators/DPG/Hijing_Pileup_Cent.C +++ b/MC/CustomGenerators/DPG/Hijing_Pileup_Cent.C @@ -13,15 +13,10 @@ AliGenerator *GeneratorCustom(){ Double_t mu=0.001; TString bcm=GetTriggerBCMaskAndMu(mu); - - // swap H and L to match requirement of AliGenPileup - bcm.ReplaceAll("H","X"); - bcm.ReplaceAll("L","H"); - bcm.ReplaceAll("X","L"); //printf(" BC mask = %s\n",bcm.Data()); - printf(" mu = %f\n",mu); - printf(" Energy = %f\n",energyConfig); + //printf(" mu = %f\n",mu); + //printf(" Energy = %f\n",energyConfig); // Set the pileup interaction generator // The second argument is the pileup rate diff --git a/MC/CustomGenerators/DPG/PerformanceGenerator_Pileup.C b/MC/CustomGenerators/DPG/PerformanceGenerator_Pileup.C index d11cbb6b..8eb060d0 100644 --- a/MC/CustomGenerators/DPG/PerformanceGenerator_Pileup.C +++ b/MC/CustomGenerators/DPG/PerformanceGenerator_Pileup.C @@ -17,13 +17,9 @@ AliGenerator * GeneratorCustom() { Double_t mu=0.001; TString bcm=GetTriggerBCMaskAndMu(mu); - // swap H and L to match requirement of AliGenPileup - bcm.ReplaceAll("H","X"); - bcm.ReplaceAll("L","H"); - bcm.ReplaceAll("X","L"); //printf(" BC mask = %s\n",bcm.Data()); - printf(" mu = %f\n",mu); - printf(" Energy = %f\n",energyConfig); + //printf(" mu = %f\n",mu); + //printf(" Energy = %f\n",energyConfig); // Set the pileup interaction generator // The second argument is the pileup rate diff --git a/Utils/GetTriggerBCMaskAndMu.C b/Utils/GetTriggerBCMaskAndMu.C index bb595859..3897af8f 100644 --- a/Utils/GetTriggerBCMaskAndMu.C +++ b/Utils/GetTriggerBCMaskAndMu.C @@ -49,6 +49,11 @@ TString GetTriggerBCMaskAndMu( double& mu, int run = -1 ) TString maskStr = mask->GetTitle(); + // swap H and L to match requirement of AliGenPileup + maskStr.ReplaceAll("H","X"); + maskStr.ReplaceAll("L","H"); + maskStr.ReplaceAll("X","L"); + printf("GetTriggerBCMaskAndMu() -- mask %s\n",maskStr.Data()); //