Suppressed Sumw2 in ITS QA and Calib tasks to reduce the memory
authorshahoian <ruben.shahoyan@cern.ch>
Tue, 2 Dec 2014 08:55:02 +0000 (09:55 +0100)
committershahoian <ruben.shahoyan@cern.ch>
Tue, 2 Dec 2014 08:55:02 +0000 (09:55 +0100)
PWGPP/ITS/AliAnalysisTaskITSAlignQA.cxx
PWGPP/ITS/AliAnalysisTaskITSsaTracks.cxx

index f16174f..7dcaacf 100644 (file)
@@ -116,7 +116,7 @@ void AliAnalysisTaskITSAlignQA::UserCreateOutputObjects() {
   fOutput->SetName("OutputHistos");
 
   fHistNEvents = new TH1F("hNEvents", "Number of processed events",kNEvStatBins,-0.5,kNEvStatBins-0.5);
-  fHistNEvents->Sumw2();
+  //fHistNEvents->Sumw2();
   fHistNEvents->SetMinimum(0);
   fHistNEvents->GetXaxis()->SetBinLabel(kEvAll+1,"All Events");
   fHistNEvents->GetXaxis()->SetBinLabel(kEvCnt+1,"After Centrality cut");
@@ -126,7 +126,7 @@ void AliAnalysisTaskITSAlignQA::UserCreateOutputObjects() {
   fOutput->Add(fHistNEvents);
 
   fHistPtAccept = new TH1F("hPtAccept","Pt distrib of accepted tracks",50,0.,5.);
-  fHistPtAccept->Sumw2();
+  //fHistPtAccept->Sumw2();
   fHistPtAccept->SetMinimum(0);
   fOutput->Add(fHistPtAccept);
 
@@ -159,14 +159,14 @@ void AliAnalysisTaskITSAlignQA::CreateSPDHistos(){
                                    Form("hSPDResidX%d",iMod),
                                    fNPtBins,fPtBinLimits,
                                    250,-0.05,0.05);
-    fHistSPDResidX[iMod]->Sumw2();
+    //fHistSPDResidX[iMod]->Sumw2();
     fOutput->Add(fHistSPDResidX[iMod]);
 
     fHistSPDResidZ[iMod] = new TH2F(Form("hSPDResidZ%d",iMod),
                                    Form("hSPDResidZ%d",iMod),
                                    fNPtBins,fPtBinLimits,
                                    250,-0.1,0.1);
-    fHistSPDResidZ[iMod]->Sumw2();
+    //fHistSPDResidZ[iMod]->Sumw2();
     fOutput->Add(fHistSPDResidZ[iMod]);
   }
   return;
@@ -182,38 +182,38 @@ void AliAnalysisTaskITSAlignQA::CreateSDDHistos(){
                                      Form("hSDDResidX%d",iMod+kNSPDmods),
                                      fNPtBins,fPtBinLimits,
                                      300,-0.15,0.15);
-      fHistSDDResidX[iMod]->Sumw2();
+      //fHistSDDResidX[iMod]->Sumw2();
       fOutput->Add(fHistSDDResidX[iMod]);
       
       fHistSDDResidZ[iMod] = new TH2F(Form("hSDDResidZ%d",iMod+kNSPDmods),
                                      Form("hSDDResidZ%d",iMod+kNSPDmods),
                                      fNPtBins,fPtBinLimits,
                                      200,-0.1,0.1);
-      fHistSDDResidZ[iMod]->Sumw2();
+      //fHistSDDResidZ[iMod]->Sumw2();
       fOutput->Add(fHistSDDResidZ[iMod]);
       
       fHistSDDResidXvsX[iMod] = new TH2F(Form("hSDDResidXvsX%d",iMod+kNSPDmods),
                                         Form("hSDDResidXvsX%d",iMod+kNSPDmods),
                                         40,-3.5,3.5,300,-0.15,0.15);   
-      fHistSDDResidXvsX[iMod]->Sumw2();
+      //fHistSDDResidXvsX[iMod]->Sumw2();
       fOutput->Add(fHistSDDResidXvsX[iMod]);
       
       fHistSDDResidXvsZ[iMod] = new TH2F(Form("hSDDResidXvsZ%d",iMod+kNSPDmods),
                                         Form("hSDDResidXvsZ%d",iMod+kNSPDmods),
                                         10,-3.8,3.8,300,-0.15,0.15);   
-      fHistSDDResidXvsZ[iMod]->Sumw2();
+      //fHistSDDResidXvsZ[iMod]->Sumw2();
       fOutput->Add(fHistSDDResidXvsZ[iMod]);
       
       fHistSDDResidZvsX[iMod] = new TH2F(Form("hSDDResidZvsX%d",iMod+kNSPDmods),
                                      Form("hSDDResidZvsX%d",iMod+kNSPDmods),
                                      40,-3.5,3.5,200,-0.1,0.1);   
-      fHistSDDResidZvsX[iMod]->Sumw2();
+      //fHistSDDResidZvsX[iMod]->Sumw2();
       fOutput->Add(fHistSDDResidZvsX[iMod]);
       
       fHistSDDResidZvsZ[iMod] = new TH2F(Form("hSDDResidZvsZ%d",iMod+kNSPDmods),
                                         Form("hSDDResidZvsZ%d",iMod+kNSPDmods),
                                         10,-3.8,3.8,200,-0.1,0.1);   
-      fHistSDDResidZvsZ[iMod]->Sumw2();
+      //fHistSDDResidZvsZ[iMod]->Sumw2();
       fOutput->Add(fHistSDDResidZvsZ[iMod]);
       //
     }
@@ -225,22 +225,22 @@ void AliAnalysisTaskITSAlignQA::CreateSDDHistos(){
        int nbX = 50, nbZ = 20, nbXOffs = 2, nbZOffs = 2;
        double xRange = 3.5085e4, zRange = 7.5264e4, xOffs = nbXOffs*xRange/nbX, zOffs = nbZOffs*zRange/nbZ;
        fHProfSDDResidXvsXD[iMod][ix] = new TProfile(hnm, hnm, nbX+2*nbXOffs, -xOffs, xRange + xOffs);
-       fHProfSDDResidXvsXD[iMod][ix]->Sumw2();
+       //fHProfSDDResidXvsXD[iMod][ix]->Sumw2();
        fOutput->Add(fHProfSDDResidXvsXD[iMod][ix]);
        //
        hnm = Form("hpSDDDrTimevsXD%d_%d",iMod+kNSPDmods,ix);
        fHProfSDDDrTimevsXD[iMod][ix] = new TProfile(hnm, hnm, nbX+2*nbXOffs, -xOffs, xRange + xOffs);
-       fHProfSDDDrTimevsXD[iMod][ix]->Sumw2();
+       //fHProfSDDDrTimevsXD[iMod][ix]->Sumw2();
        fOutput->Add(fHProfSDDDrTimevsXD[iMod][ix]);
        //
        hnm = Form("hpSDDResXvsZ%d_%d",iMod+kNSPDmods,ix);
        fHProfSDDResidXvsZ[iMod][ix] = new TProfile(hnm, hnm, nbZ+2*nbZOffs, -(0.5*zRange+zOffs),(0.5*zRange+zOffs));
-       fHProfSDDResidXvsZ[iMod][ix]->Sumw2();
+       //fHProfSDDResidXvsZ[iMod][ix]->Sumw2();
        fOutput->Add(fHProfSDDResidXvsZ[iMod][ix]);
        //
        hnm = Form("hpSDDDrTimevsZ%d_%d",iMod+kNSPDmods,ix);
        fHProfSDDDrTimevsZ[iMod][ix] = new TProfile(hnm, hnm, nbZ+2*nbZOffs, -(0.5*zRange+zOffs),(0.5*zRange+zOffs));
-       fHProfSDDDrTimevsZ[iMod][ix]->Sumw2();
+       //fHProfSDDDrTimevsZ[iMod][ix]->Sumw2();
        fOutput->Add(fHProfSDDDrTimevsZ[iMod][ix]);
        //
       }
@@ -250,7 +250,7 @@ void AliAnalysisTaskITSAlignQA::CreateSDDHistos(){
       fHistSDDdEdxvsDrTime[iMod] = new TH2F(Form("hSDDdEdxvsDrTime%d",iMod+kNSPDmods),
                                            Form("hSDDdEdxvsDrTime%d",iMod+kNSPDmods),
                                            16,0.,6400.,100,0.,300.);
-      fHistSDDdEdxvsDrTime[iMod]->Sumw2();
+      //fHistSDDdEdxvsDrTime[iMod]->Sumw2();
       fOutput->Add(fHistSDDdEdxvsDrTime[iMod]);
     }
     //
@@ -258,21 +258,21 @@ void AliAnalysisTaskITSAlignQA::CreateSDDHistos(){
       fHistSDDDrTimeAll[iMod]=new TH1F(Form("hSDDDrTimeAll%d",iMod+kNSPDmods),
                                       Form("hSDDDrTimeAll%d",iMod+kNSPDmods),
                                       3200,0.,6400.);
-      fHistSDDDrTimeAll[iMod]->Sumw2();
+      //fHistSDDDrTimeAll[iMod]->Sumw2();
       fHistSDDDrTimeAll[iMod]->SetMinimum(0.);
       fOutput->Add(fHistSDDDrTimeAll[iMod]);
       
       fHistSDDDrTimeExtra[iMod]=new TH1F(Form("hSDDDrTimeExtra%d",iMod+kNSPDmods),
                                         Form("hSDDDrTimeExtra%d",iMod+kNSPDmods),
                                         3200,0.,6400.);
-      fHistSDDDrTimeExtra[iMod]->Sumw2();
+      //fHistSDDDrTimeExtra[iMod]->Sumw2();
       fHistSDDDrTimeExtra[iMod]->SetMinimum(0.);
       fOutput->Add(fHistSDDDrTimeExtra[iMod]);
       
       fHistSDDDrTimeAttac[iMod]=new TH1F(Form("hSDDDrTimeAttac%d",iMod+kNSPDmods),
                                         Form("hSDDDrTimeAttac%d",iMod+kNSPDmods),
                                         3200,0.,6400.);
-      fHistSDDDrTimeAttac[iMod]->Sumw2();
+      //fHistSDDDrTimeAttac[iMod]->Sumw2();
       fHistSDDDrTimeAttac[iMod]->SetMinimum(0.);
       fOutput->Add(fHistSDDDrTimeAttac[iMod]);
     }
@@ -289,14 +289,14 @@ void AliAnalysisTaskITSAlignQA::CreateSSDHistos(){
                                    Form("hSSDResidX%d",iMod+kNSPDmods+kNSDDmods),
                                    fNPtBins,fPtBinLimits,
                                    250,-0.1,0.1);
-    fHistSSDResidX[iMod]->Sumw2();
+    //fHistSSDResidX[iMod]->Sumw2();
     fOutput->Add(fHistSSDResidX[iMod]);
 
     fHistSSDResidZ[iMod] = new TH2F(Form("hSSDResidZ%d",iMod+kNSPDmods+kNSDDmods),
                                    Form("hSSDResidZ%d",iMod+kNSPDmods+kNSDDmods),
                                    fNPtBins,fPtBinLimits,
                                    250,-1.,1.);
-    fHistSSDResidZ[iMod]->Sumw2();
+    //fHistSSDResidZ[iMod]->Sumw2();
     fOutput->Add(fHistSSDResidZ[iMod]);
   }
   return;
index 370eadd..1449ba7 100644 (file)
@@ -227,7 +227,7 @@ void AliAnalysisTaskITSsaTracks::UserCreateOutputObjects() {
   fOutput->Add(fNtupleTracks);
 
   fHistNEvents = new TH1F("hNEvents", "Number of processed events",7,-0.5,6.5);
-  fHistNEvents->Sumw2();
+  //fHistNEvents->Sumw2();
   fHistNEvents->SetMinimum(0);
   fHistNEvents->GetXaxis()->SetBinLabel(1,"All events");
   fHistNEvents->GetXaxis()->SetBinLabel(2,"Good vertex"); 
@@ -254,68 +254,68 @@ void AliAnalysisTaskITSsaTracks::UserCreateOutputObjects() {
   TString tit[kNtrackTypes]={"TPCITS","ITSsa","ITSpureSA"};
   for(Int_t iType=0; iType<kNtrackTypes; iType++){
     fHistPt[iType]=new TH1F(Form("hPt%s",tit[iType].Data()),"",100,0.,2.);
-    fHistPt[iType]->Sumw2();
+    //fHistPt[iType]->Sumw2();
     fOutput->Add(fHistPt[iType]);
     fHistPtGood[iType]=new TH1F(Form("hPtGood%s",tit[iType].Data()),"",100,0.,2.);
-    fHistPtGood[iType]->Sumw2();
+    //fHistPtGood[iType]->Sumw2();
     fOutput->Add(fHistPtGood[iType]);
     fHistPtFake[iType]=new TH1F(Form("hPtFake%s",tit[iType].Data()),"",100,0.,2.);
-    fHistPtFake[iType]->Sumw2();
+    //fHistPtFake[iType]->Sumw2();
     fOutput->Add(fHistPtFake[iType]);
 
     fHistEtaPhi[iType] = new TH2F(Form("hEtaPhi%s",tit[iType].Data()),"",50,-1,1.,100,0.,2.*TMath::Pi());
-    fHistEtaPhi[iType]->Sumw2();
+    //fHistEtaPhi[iType]->Sumw2();
     fOutput->Add(fHistEtaPhi[iType]);
     fHistEtaPhiGood[iType] = new TH2F(Form("hEtaPhiGood%s",tit[iType].Data()),"",50,-1,1.,100,0.,2.*TMath::Pi());
-    fHistEtaPhiGood[iType]->Sumw2();
+    //fHistEtaPhiGood[iType]->Sumw2();
     fOutput->Add(fHistEtaPhiGood[iType]);
     fHistEtaPhiFake[iType] = new TH2F(Form("hEtaPhiFake%s",tit[iType].Data()),"",50,-1,1.,100,0.,2.*TMath::Pi());
-    fHistEtaPhiFake[iType]->Sumw2();
+    //fHistEtaPhiFake[iType]->Sumw2();
     fOutput->Add(fHistEtaPhiFake[iType]);
 
     fHistEtaPhiAny[iType] = new TH2F(Form("hEtaPhiAny%s",tit[iType].Data()),"",50,-1,1.,100,0.,2.*TMath::Pi());
-    fHistEtaPhiAny[iType]->Sumw2();
+    //fHistEtaPhiAny[iType]->Sumw2();
     fOutput->Add(fHistEtaPhiAny[iType]);
     fHistEtaPhi1SPD[iType] = new TH2F(Form("hEtaPhi1SPD%s",tit[iType].Data()),"",50,-1,1.,100,0.,2.*TMath::Pi());
-    fHistEtaPhi1SPD[iType]->Sumw2();
+    //fHistEtaPhi1SPD[iType]->Sumw2();
     fOutput->Add(fHistEtaPhi1SPD[iType]);
     fHistEtaPhi4Clu[iType] = new TH2F(Form("hEtaPhi4Clu%s",tit[iType].Data()),"",50,-1,1.,100,0.,2.*TMath::Pi());
-    fHistEtaPhi4Clu[iType]->Sumw2();
+    //fHistEtaPhi4Clu[iType]->Sumw2();
     fOutput->Add(fHistEtaPhi4Clu[iType]);
     fHistEtaPhi6Clu[iType] = new TH2F(Form("hEtaPhi6Clu%s",tit[iType].Data()),"",50,-1,1.,100,0.,2.*TMath::Pi());
-    fHistEtaPhi6Clu[iType]->Sumw2();
+    //fHistEtaPhi6Clu[iType]->Sumw2();
     fOutput->Add(fHistEtaPhi6Clu[iType]);
 
     fHistChi2[iType]=new TH1F(Form("hChi2%s",tit[iType].Data()),"",100,0.,10.);
-    fHistChi2[iType]->Sumw2();
+    //fHistChi2[iType]->Sumw2();
     fOutput->Add(fHistChi2[iType]);
     fHistChi2Good[iType]=new TH1F(Form("hChi2Good%s",tit[iType].Data()),"",100,0.,10.);
-    fHistChi2Good[iType]->Sumw2();
+    //fHistChi2Good[iType]->Sumw2();
     fOutput->Add(fHistChi2Good[iType]);
     fHistChi2Fake[iType]=new TH1F(Form("hChi2Fake%s",tit[iType].Data()),"",100,0.,10.);
-    fHistChi2Fake[iType]->Sumw2();
+    //fHistChi2Fake[iType]->Sumw2();
     fOutput->Add(fHistChi2Fake[iType]);
 
     fHistNclu[iType]=new TH1F(Form("hNclu%s",tit[iType].Data()),"",7,-0.5,6.5);
-    fHistNclu[iType]->Sumw2();
+    //fHistNclu[iType]->Sumw2();
     fOutput->Add(fHistNclu[iType]);
     fHistNcluGood[iType]=new TH1F(Form("hNcluGood%s",tit[iType].Data()),"",7,-0.5,6.5);
-    fHistNcluGood[iType]->Sumw2();
+    //fHistNcluGood[iType]->Sumw2();
     fOutput->Add(fHistNcluGood[iType]);
     fHistNcluFake[iType]=new TH1F(Form("hNcluFake%s",tit[iType].Data()),"",7,-0.5,6.5);
-    fHistNcluFake[iType]->Sumw2();
+    //fHistNcluFake[iType]->Sumw2();
     fOutput->Add(fHistNcluFake[iType]);
 
     fHistdedxvsP2cls[iType] = new TH2F(Form("hdedxvsP2cls%s",tit[iType].Data()),"",hnbinsdedx,hxbinsdedx,900,0,1000);
-    fHistdedxvsP2cls[iType]->Sumw2();
+    //fHistdedxvsP2cls[iType]->Sumw2();
     fOutput->Add(fHistdedxvsP2cls[iType]);
 
     fHistdedxvsP3cls[iType] = new TH2F(Form("hdedxvsP3cls%s",tit[iType].Data()),"",hnbinsdedx,hxbinsdedx,900,0,1000);
-    fHistdedxvsP3cls[iType]->Sumw2();
+    //fHistdedxvsP3cls[iType]->Sumw2();
     fOutput->Add(fHistdedxvsP3cls[iType]);
 
     fHistdedxvsP4cls[iType] = new TH2F(Form("hdedxvsP4cls%s",tit[iType].Data()),"",hnbinsdedx,hxbinsdedx,900,0,1000);
-    fHistdedxvsP4cls[iType]->Sumw2();
+    //fHistdedxvsP4cls[iType]->Sumw2();
     fOutput->Add(fHistdedxvsP4cls[iType]);
   }
 
@@ -331,132 +331,132 @@ void AliAnalysisTaskITSsaTracks::UserCreateOutputObjects() {
 
     hisname.Form("hPtTPCITS%s",spname[iSpec].Data());
     fHistPtTPCITS[iSpec] = new TH1F(hisname.Data(),"",100,0.,2.);
-    fHistPtTPCITS[iSpec]->Sumw2();
+    //fHistPtTPCITS[iSpec]->Sumw2();
     fOutput->Add(fHistPtTPCITS[iSpec]);
 
     hisname.Form("hPtITSsa%s",spname[iSpec].Data());
     fHistPtITSsa[iSpec] = new TH1F(hisname.Data(),"",100,0.,2.);
-    fHistPtITSsa[iSpec]->Sumw2();
+    //fHistPtITSsa[iSpec]->Sumw2();
     fOutput->Add(fHistPtITSsa[iSpec]);
 
     hisname.Form("hPtITSpureSA%s",spname[iSpec].Data());
     fHistPtITSpureSA[iSpec] = new TH1F(hisname.Data(),"",100,0.,2.);
-    fHistPtITSpureSA[iSpec]->Sumw2();
+    //fHistPtITSpureSA[iSpec]->Sumw2();
     fOutput->Add(fHistPtITSpureSA[iSpec]);
 
     //---
 
     hisname.Form("hEtaPhiTPCITS%s",spname[iSpec].Data());
     fHistEtaPhiTPCITS[iSpec] = new TH2F(hisname.Data(),"",50,-1,1.,50,0.,2.*TMath::Pi());
-    fHistEtaPhiTPCITS[iSpec]->Sumw2();
+    //fHistEtaPhiTPCITS[iSpec]->Sumw2();
     fOutput->Add(fHistEtaPhiTPCITS[iSpec]);
 
     hisname.Form("hEtaPhiITSsa%s",spname[iSpec].Data());
     fHistEtaPhiITSsa[iSpec] = new TH2F(hisname.Data(),"",50,-1,1.,50,0.,2.*TMath::Pi());
-    fHistEtaPhiITSsa[iSpec]->Sumw2();
+    //fHistEtaPhiITSsa[iSpec]->Sumw2();
     fOutput->Add(fHistEtaPhiITSsa[iSpec]);
 
     hisname.Form("hEtaPhiITSpureSA%s",spname[iSpec].Data());
     fHistEtaPhiITSpureSA[iSpec] = new TH2F(hisname.Data(),"",50,-1,1.,50,0.,2.*TMath::Pi());
-    fHistEtaPhiITSpureSA[iSpec]->Sumw2();
+    //fHistEtaPhiITSpureSA[iSpec]->Sumw2();
     fOutput->Add(fHistEtaPhiITSpureSA[iSpec]);
 
     //---
 
     hisname.Form("hNcluTPCITS%s",spname[iSpec].Data());
     fHistNcluTPCITS[iSpec] = new TH2F(hisname.Data(),"",100,0.,2.,7,-0.5,6.5);
-    fHistNcluTPCITS[iSpec]->Sumw2();
+    //fHistNcluTPCITS[iSpec]->Sumw2();
     fOutput->Add(fHistNcluTPCITS[iSpec]);
 
     hisname.Form("hNcluITSsa%s",spname[iSpec].Data());
     fHistNcluITSsa[iSpec] = new TH2F(hisname.Data(),"",100,0.,2.,7,-0.5,6.5);
-    fHistNcluITSsa[iSpec]->Sumw2();
+    //fHistNcluITSsa[iSpec]->Sumw2();
     fOutput->Add(fHistNcluITSsa[iSpec]);
 
     hisname.Form("hNcluITSpureSA%s",spname[iSpec].Data());
     fHistNcluITSpureSA[iSpec] = new TH2F(hisname.Data(),"",100,0.,2.,7,-0.5,6.5);
-    fHistNcluITSpureSA[iSpec]->Sumw2();
+    //fHistNcluITSpureSA[iSpec]->Sumw2();
     fOutput->Add(fHistNcluITSpureSA[iSpec]);
 
     //---
 
     hisname.Form("hd0rphiITSpureSA%s",spname[iSpec].Data());
     fHistd0rphiITSpureSA[iSpec] = new TH2F(hisname.Data(),"",nbins,xbins,4000,-2,2);
-    fHistd0rphiITSpureSA[iSpec]->Sumw2();
+    //fHistd0rphiITSpureSA[iSpec]->Sumw2();
     fOutput->Add(fHistd0rphiITSpureSA[iSpec]);
 
     hisname.Form("hd0zITSpureSA%s",spname[iSpec].Data());
     fHistd0zITSpureSA[iSpec] = new TH2F(hisname.Data(),"",nbins,xbins,4000,-2,2);
-    fHistd0zITSpureSA[iSpec]->Sumw2();
+    //fHistd0zITSpureSA[iSpec]->Sumw2();
     fOutput->Add(fHistd0zITSpureSA[iSpec]);
 
     //---
 
     hisname.Form("hCluInLayTPCITS%s",spname[iSpec].Data());
     fHistCluInLayTPCITS[iSpec] = new TH2F(hisname.Data(),"",100,0.,2.,7,-1.5,5.5);
-    fHistCluInLayTPCITS[iSpec]->Sumw2();
+    //fHistCluInLayTPCITS[iSpec]->Sumw2();
     fOutput->Add(fHistCluInLayTPCITS[iSpec]);
     
     hisname.Form("hCluInLayITSsa%s",spname[iSpec].Data());
     fHistCluInLayITSsa[iSpec] = new TH2F(hisname.Data(),"",100,0.,2.,7,-1.5,5.5);
-    fHistCluInLayITSsa[iSpec]->Sumw2();
+    //fHistCluInLayITSsa[iSpec]->Sumw2();
     fOutput->Add(fHistCluInLayITSsa[iSpec]);
 
     hisname.Form("hCluInLayITSpureSA%s",spname[iSpec].Data());
     fHistCluInLayITSpureSA[iSpec] = new TH2F(hisname.Data(),"",100,0.,2.,7,-1.5,5.5);
-    fHistCluInLayITSpureSA[iSpec]->Sumw2();
+    //fHistCluInLayITSpureSA[iSpec]->Sumw2();
     fOutput->Add(fHistCluInLayITSpureSA[iSpec]);
     
     hisname.Form("hOuterLayITSpureSA%s",spname[iSpec].Data());
     fHistOuterLayITSpureSA[iSpec] = new TH2F(hisname.Data(),"",100,0.,2.,7,-1.5,5.5);
-    fHistOuterLayITSpureSA[iSpec]->Sumw2();
+    //fHistOuterLayITSpureSA[iSpec]->Sumw2();
     fOutput->Add(fHistOuterLayITSpureSA[iSpec]);
     
     //---
 
     hisname.Form("hPtResid%s",spname[iSpec].Data());
     fHistPtResid[iSpec]=new TH2F(hisname.Data(),hisname.Data(),nbins,xbins,100,-1.,1.);
-    fHistPtResid[iSpec]->Sumw2();
+    //fHistPtResid[iSpec]->Sumw2();
     fOutput->Add(fHistPtResid[iSpec]);
     hisname.Form("hPtRelResid%s",spname[iSpec].Data());
     fHistPtRelResid[iSpec]=new TH2F(hisname.Data(),hisname.Data(),nbins,xbins,100,-0.5,0.5);
-    fHistPtRelResid[iSpec]->Sumw2();
+    //fHistPtRelResid[iSpec]->Sumw2();
     fOutput->Add(fHistPtRelResid[iSpec]);
     
     hisname.Form("hInvPtResid%s",spname[iSpec].Data());
     fHistInvPtResid[iSpec]=new TH2F(hisname.Data(),hisname.Data(),nbins,xbins,100,-1.,1.);
-    fHistInvPtResid[iSpec]->Sumw2();
+    //fHistInvPtResid[iSpec]->Sumw2();
     fOutput->Add(fHistInvPtResid[iSpec]);
     hisname.Form("hInvPtRelResid%s",spname[iSpec].Data());
     fHistInvPtRelResid[iSpec]=new TH2F(hisname.Data(),hisname.Data(),nbins,xbins,100,-0.5,0.5);
-    fHistInvPtRelResid[iSpec]->Sumw2();
+    //fHistInvPtRelResid[iSpec]->Sumw2();
     fOutput->Add(fHistInvPtRelResid[iSpec]);
     
     hisname.Form("hMCPtResid%s",spname[iSpec].Data());
     fHistMCPtResid[iSpec]=new TH2F(hisname.Data(),hisname.Data(),nbins,xbins,100,-1.,1.);
-    fHistMCPtResid[iSpec]->Sumw2();
+    //fHistMCPtResid[iSpec]->Sumw2();
     fOutput->Add(fHistMCPtResid[iSpec]);
     hisname.Form("hMCPtRelResid%s",spname[iSpec].Data());
     fHistMCPtRelResid[iSpec]=new TH2F(hisname.Data(),hisname.Data(),nbins,xbins,100,-0.5,0.5);
-    fHistMCPtRelResid[iSpec]->Sumw2();
+    //fHistMCPtRelResid[iSpec]->Sumw2();
     fOutput->Add(fHistMCPtRelResid[iSpec]);
     
     hisname.Form("hMCInvPtResid%s",spname[iSpec].Data());
     fHistMCInvPtResid[iSpec]=new TH2F(hisname.Data(),hisname.Data(),nbins,xbins,100,-1.,1.);
-    fHistMCInvPtResid[iSpec]->Sumw2();
+    //fHistMCInvPtResid[iSpec]->Sumw2();
     fOutput->Add(fHistMCInvPtResid[iSpec]);
     hisname.Form("hMCInvPtRelResid%s",spname[iSpec].Data());
     fHistMCInvPtRelResid[iSpec]=new TH2F(hisname.Data(),hisname.Data(),nbins,xbins,100,-0.5,0.5);
-    fHistMCInvPtRelResid[iSpec]->Sumw2();
+    //fHistMCInvPtRelResid[iSpec]->Sumw2();
     fOutput->Add(fHistMCInvPtRelResid[iSpec]);
     
   }
 
   fHistMCPhiResid=new TH2F("hMCPhiResid","",nbins,xbins,100,-0.5,0.5);
-  fHistMCPhiResid->Sumw2();
+  //fHistMCPhiResid->Sumw2();
   fOutput->Add(fHistMCPhiResid);
   fHistPhiResid=new TH2F("hPhiResid","",nbins,xbins,100,-0.5,0.5);
-  fHistPhiResid->Sumw2();
+  //fHistPhiResid->Sumw2();
   fOutput->Add(fHistPhiResid);
 
   PostData(1,fOutput);