init in ctor - avoiding compilation warning
authordsilverm <dsilverm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 6 May 2011 22:59:55 +0000 (22:59 +0000)
committerdsilverm <dsilverm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 6 May 2011 22:59:55 +0000 (22:59 +0000)
PWG4/totEt/AliAnalysisTaskHadEt.cxx

index a8ad94f..d473a3a 100644 (file)
@@ -37,11 +37,11 @@ ClassImp(AliAnalysisTaskHadEt)
         AliAnalysisTaskTransverseEnergy(name, isMc)
        ,fRecAnalysis(0)
        ,fMCAnalysis(0)
+       ,isSim(isMc)
 {
     // Constructor
   fMCConfigFile = mcConfigFile;
   fRecoConfigFile = recoConfigFile;
-  isSim = isMc;  
 
   if(fMCAnalysis) delete fMCAnalysis;
   if(fRecAnalysis) delete fRecAnalysis;