Changed coordinate system
authormhorner <mhorner@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 23 Sep 2003 13:31:41 +0000 (13:31 +0000)
committermhorner <mhorner@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 23 Sep 2003 13:31:41 +0000 (13:31 +0000)
EMCAL/AliEMCALJetFinderAlgoOmni.cxx

index 5f6680e4268429c169a3324043c30cf2bf1f82e0..763d5759ea0c7cc3ac93ea67f334b341e09f966f 100644 (file)
@@ -20,6 +20,9 @@
 /*
  
 $Log$
 /*
  
 $Log$
+Revision 1.4  2003/09/19 13:16:20  mhorner
+Added additional jet energy info
+
 
 Revision 1.3  2003/09/04 12:49:56  mhorner
 Changed hadron correction and added saving EMCAL and track contributions
 
 Revision 1.3  2003/09/04 12:49:56  mhorner
 Changed hadron correction and added saving EMCAL and track contributions
@@ -206,7 +209,7 @@ if (fDebug>0) Info("AliEMCALJetFinderAlgoOmni","Beginning Default Constructor");
                  phi += deltaPhi;
                  //Get new tower id for cell that track would curve into
                   Int_t towerID2;
                  phi += deltaPhi;
                  //Get new tower id for cell that track would curve into
                   Int_t towerID2;
-                  if(phi<(1.0/3.0)*TMath::Pi() || phi>TMath::Pi())
+                  if(phi>(TMath::Pi()/180.0)*geom->GetArm1PhiMax() || phi<(TMath::Pi()/180.0)*geom->GetArm1PhiMin())
                     {
                       towerID2 = -1;
                     }
                     {
                       towerID2 = -1;
                     }