]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
fix compiler warning
authorkleinb <kleinb@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 21 Apr 2011 18:36:27 +0000 (18:36 +0000)
committerkleinb <kleinb@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 21 Apr 2011 18:36:27 +0000 (18:36 +0000)
JETAN/AliSISConeJetFinder.cxx

index aa8ce68aba5325d9de123a2c31798a9d3c450bad..e2662d580ea5b248bacae7f339c84038945743c2 100644 (file)
@@ -275,13 +275,13 @@ void AliSISConeJetFinder::FindJets()
     if (debug) cout<<"Number of jets not to count into rho estimation : "<<NHardJets<<endl;
     Bool_t rhoOnJet = 0;
     if (inclusiveJetsForRhoEstimation.size() == 1 && inclusiveJetsForRhoEstimation[0].perp() > 5) rhoOnJet = 1;//if there's only one jet (not bg kind), rho = 0
-    if (inclusiveJetsForRhoEstimation.size() <= NHardJets && inclusiveJetsForRhoEstimation.size() != 1  && inclusiveJetsForRhoEstimation.size() != 0)
+    if (inclusiveJetsForRhoEstimation.size() <= (UInt_t)NHardJets && inclusiveJetsForRhoEstimation.size() != 1  && inclusiveJetsForRhoEstimation.size() != 0)
     {
       //      inclusiveJetsForRhoEstimation.erase(inclusiveJetsForRhoEstimation.begin(),inclusiveJetsForRhoEstimation.begin()+1);
       inclusiveJetsForRhoEstimation.erase(inclusiveJetsForRhoEstimation.begin());
       cout<<"Only the 1st (hardest) jet of the event hasn't been taken into account for rho estimation"<<endl;
     }
-    if (inclusiveJetsForRhoEstimation.size() > NHardJets) inclusiveJetsForRhoEstimation.erase(inclusiveJetsForRhoEstimation.begin(), inclusiveJetsForRhoEstimation.begin()+NHardJets);
+    if (inclusiveJetsForRhoEstimation.size() > (UInt_t)NHardJets) inclusiveJetsForRhoEstimation.erase(inclusiveJetsForRhoEstimation.begin(), inclusiveJetsForRhoEstimation.begin()+NHardJets);
     
     // Estimation of rho and fluctuations sigma