]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - JETAN/AliUA1JetFinderV1.cxx
Adding StatusMap data member (Laurent)
[u/mrichter/AliRoot.git] / JETAN / AliUA1JetFinderV1.cxx
index 577daeb4bad65ef15642fe1ac389391741854585..2fa3f27da37e0c86bd584d82037ec0d9f948fe37 100644 (file)
@@ -13,6 +13,7 @@
  * provided "as is" without express or implied warranty.                  *
  **************************************************************************/
 
+/* $Id$ */
  
 //---------------------------------------------------------------------
 // UA1 Cone Algorithm Jet finder
 // (version in c++)
 //---------------------------------------------------------------------
 
-#include <TLorentzVector.h>
+#include <TArrayF.h>
+#include <TClonesArray.h>
 #include <TFile.h>
 #include <TH1F.h>
 #include <TH2F.h>
-#include <TArrayF.h>
+#include <TLorentzVector.h>
+
 #include "AliUA1JetFinderV1.h"
 #include "AliUA1JetHeaderV1.h"
 #include "AliJetReaderHeader.h"
@@ -453,7 +456,7 @@ void AliUA1JetFinderV1::SubtractBackg(Int_t& nIn, Int_t&nJ, Float_t&etbgTotalN,
              break;
          }
      }// end jets loop
-     if(injet[jpart] == -1 && fReader->GetSignalFlag(jpart) == 1)
+     if(injet[jpart] == -1 && fReader->GetCutFlag(jpart) == 1)
         etOut += ptT[jpart]; // particle outside cones and pt cut
   } //end particle loop
 
@@ -598,7 +601,7 @@ void AliUA1JetFinderV1::SubtractBackgCone(Int_t& nIn, Int_t&nJ,Float_t& etbgTota
              break;
          }
      }// end jets loop
-     if(injet[jpart] == -1  && fReader->GetSignalFlag(jpart) == 1)
+     if(injet[jpart] == -1  && fReader->GetCutFlag(jpart) == 1)
         hEtBackg->Fill(etaT[jpart],ptT[jpart]); // particle outside cones
   } //end particle loop