Reverting after a wrong commit
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 13 Feb 2004 14:11:53 +0000 (14:11 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 13 Feb 2004 14:11:53 +0000 (14:11 +0000)
EVGEN/TestPrimaries.C

index be9ad1e7d6967d9dff13a9de2d09d621d887e520..0e6689711eaa59aea3a1f6278ef10014b91b42f2 100644 (file)
@@ -60,8 +60,7 @@ void TestPrimaries(Int_t evNumber1=0, Int_t evNumber2=0)
            Float_t eta   = -TMath::Log(TMath::Tan(theta/2.));
            Float_t y     = 0.5*TMath::Log((E+Pz+1.e-13)/(E-Pz+1.e-13));
            
-           //      if (child1 >= 0) continue;
-           if (mother > 0) continue;
+           if (child1 >= 0) continue;
            if (DataBase->GetParticle(mpart)->Charge() == 0) continue;
            Float_t wgt = 1./(Float_t ((evNumber2-evNumber1)+1.));
            thetaH->Fill(theta*180./TMath::Pi(),wgt);