]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Switch axes during filling the event counter
authormfasel <mfasel@lbl.gov>
Wed, 13 Aug 2014 13:43:14 +0000 (15:43 +0200)
committerrhaake <ruediger.haake@cern.ch>
Wed, 13 Aug 2014 15:41:34 +0000 (17:41 +0200)
PWGJE/EMCALJetTasks/UserTasks/AliAnalysisTaskPtEMCalTrigger.cxx

index 99d1c3404d150ede0d02d93480b7879ef0e57b8f..1fd857e59b84f974d30e1348dcfb2a88b47d702c 100644 (file)
@@ -403,7 +403,7 @@ namespace EMCalTriggerPtAnalysis {
                char histname[1024];
                sprintf(histname, "hEventHist%s", trigger);
                try{
-                       fHistos->FillTH2(histname, vz, 0);
+                       fHistos->FillTH2(histname, 0, vz);
                } catch (HistoContainerContentException &e){
                        std::stringstream errormessage;
                        errormessage << "Filling of histogram failed: " << e.what();
@@ -411,7 +411,7 @@ namespace EMCalTriggerPtAnalysis {
                }
                if(!isPileup){
                        try{
-                               fHistos->FillTH2(histname, vz, 1);
+                               fHistos->FillTH2(histname, 1, vz);
                        } catch(HistoContainerContentException &e){
                                std::stringstream errormessage;
                                errormessage << "Filling of histogram failed: " << e.what();