]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Bugfix, mc check not present
authorkaamodt <kaamodt@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 9 Dec 2009 09:48:24 +0000 (09:48 +0000)
committerkaamodt <kaamodt@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 9 Dec 2009 09:48:24 +0000 (09:48 +0000)
PWG4/GammaConv/AliV0Reader.cxx

index a0ba1f0ae7c1172d87317fe8d7801e3511bf5ca3..3d981ea736739a005b9c4056c932e96035c01a5b 100644 (file)
@@ -218,7 +218,7 @@ void AliV0Reader::Initialize(){
        
   // for CF
   //Get pointer to the mc event
-  if(fDoCF){
+  if(fDoCF && fDoMC){
     fMCEvent = fMCTruth->MCEvent();
     if(fMCEvent == NULL){
       //print warning here