]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Coverity fix, report 10667
authorslindal <slindal@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 4 May 2011 08:41:16 +0000 (08:41 +0000)
committerslindal <slindal@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 4 May 2011 08:41:16 +0000 (08:41 +0000)
PWG4/GammaConv/AliAnalysisTaskGammaConvDalitz.cxx

index fe45799f86c53e2963d9bfeb9c00f74e568f34a4..b8964b1703cf7e703f428be187bbf7688bc28606 100644 (file)
@@ -266,7 +266,7 @@ void AliAnalysisTaskGammaConvDalitz::UserExec(Option_t */*option*/)
       } 
 
         
-       if (fMCEvent ) {
+       if (MCEvent() ) {
 
     // To avoid crashes due to unzip errors. Sometimes the trees are not there.
         AliMCEventHandler* mcHandler = dynamic_cast<AliMCEventHandler*> (AliAnalysisManager::GetAnalysisManager()->GetMCtruthEventHandler());