adapted histo ranges
authorkleinb <kleinb@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 1 Apr 2011 20:29:38 +0000 (20:29 +0000)
committerkleinb <kleinb@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 1 Apr 2011 20:29:38 +0000 (20:29 +0000)
JETAN/AliAnalysisTaskJetBackgroundSubtract.cxx
JETAN/AliAnalysisTaskJetCluster.cxx

index a6a74ac..50339f7 100644 (file)
@@ -247,8 +247,8 @@ void AliAnalysisTaskJetBackgroundSubtract::UserCreateOutputObjects()
     fHistList->Add(fh2CentvsRho);
     fHistList->Add(fh2CentvsSigma);
 
-    fh2MultvsRho = new TH2F("fh2MultvsRho","mult vs background density",4000,0.,4000.,2000,0.,200.);
-    fh2MultvsSigma = new TH2F("fh2MultvsSigma","mult vs backgroun sigma",4000,0.,4000.,1000,0.,50.);
+    fh2MultvsRho = new TH2F("fh2MultvsRho","mult vs background density",1000,0.,5000.,300,0.,300.);
+    fh2MultvsSigma = new TH2F("fh2MultvsSigma","mult vs backgroun sigma",1000,0.,5000.,500,0.,50.);
     fHistList->Add(fh2MultvsRho);
     fHistList->Add(fh2MultvsSigma);
 
index 11612db..c71614e 100644 (file)
@@ -1059,7 +1059,7 @@ void AliAnalysisTaskJetCluster::UserExec(Option_t */*option*/)
           Double_t phiC = rC->Phi();
           // massless jet, unit vector
           pTC = rC->ChargedBgEnergy();
-          if(pTC<=0)pTC = 0.1; // for almost empty events
+          if(pTC<=0)pTC = 0.001; // for almost empty events
           Double_t thetaC = 2.*TMath::ATan(TMath::Exp(-etaC));  
           Double_t pZC = pTC/TMath::Tan(thetaC);
           Double_t pXC = pTC * TMath::Cos(phiC);
@@ -1080,7 +1080,7 @@ void AliAnalysisTaskJetCluster::UserExec(Option_t */*option*/)
           Double_t phiC = rC->Phi();
           // massless jet, unit vector
           pTC = rC->ChargedBgEnergy();
-          if(pTC<=0)pTC = 0.1;// for almost empty events
+          if(pTC<=0)pTC = 0.001;// for almost empty events
           Double_t thetaC = 2.*TMath::ATan(TMath::Exp(-etaC));  
           Double_t pZC = pTC/TMath::Tan(thetaC);
           Double_t pXC = pTC * TMath::Cos(phiC);