]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Bug fix
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 10 May 2012 10:52:04 +0000 (10:52 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 10 May 2012 10:52:04 +0000 (10:52 +0000)
C. Loizides

ANALYSIS/AliAnalysisTaskSE.cxx

index 82963b66d7a6b00d7d1481a89669cc4d2caf83d1..95b1c57536bd44a04b2f643fcdd376c547454b81 100644 (file)
@@ -546,7 +546,7 @@ void AliAnalysisTaskSE::Exec(Option_t* option)
                                //Check if it is MC, depending on that assing the mc lable, time and e fraction
                                Double_t time    = 0;
                                Int_t    mclabel =-1;
-                               Int_t    efrac   = 0;
+                               Double_t efrac   = 0;
                                if(cellsA->GetMCLabel(i) >= 0 && fgAODEmcalCells->GetMCLabel(i) < 0)
                                  {
                                    mclabel = cellsA->GetMCLabel(i) ;
@@ -616,7 +616,7 @@ void AliAnalysisTaskSE::Exec(Option_t* option)
                                //Check if it is MC, depending on that assing the mc lable, time and e fraction
                                Double_t time    = 0;
                                Int_t    mclabel =-1;
-                               Int_t    efrac   = 0;
+                               Double_t    efrac   = 0;
                                if(cellsP->GetMCLabel(i) >= 0 && fgAODPhosCells->GetMCLabel(i) < 0)
                                  {
                                    mclabel = cellsP->GetMCLabel(i) ;