Changes for #84578: Request to extend AliGenBox for using Yrange
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 20 Jan 2012 14:07:51 +0000 (14:07 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 20 Jan 2012 14:07:51 +0000 (14:07 +0000)
EVGEN/AliGenCocktailAfterBurner.cxx

index 9d5c3da..192a8f2 100644 (file)
@@ -116,7 +116,7 @@ AddAfterBurner(AliGenerator *AfterBurner, char* Name, Float_t RateExp)
        AfterBurner->SetPhiRange(fPhiMin*180/TMath::Pi(),fPhiMax*180/TMath::Pi());
     if (TestBit(kThetaRange) && !(AfterBurner->TestBit(kThetaRange)) && !(AfterBurner->TestBit(kEtaRange)))
        AfterBurner->SetThetaRange(fThetaMin*180/TMath::Pi(),fThetaMax*180/TMath::Pi());
-    if (TestBit(kVertexRange) && !(AfterBurner->TestBit(kVertexRange))) {
+    if (!(AfterBurner->TestBit(kVertexRange))) {
        AfterBurner->SetOrigin(fOrigin[0], fOrigin[1], fOrigin[2]);
        AfterBurner->SetSigma(fOsigma[0], fOsigma[1], fOsigma[2]);
        AfterBurner->SetVertexSmear(fVertexSmear);