]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Warning message for DCAY=1 corrected.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 16 Sep 2004 07:08:27 +0000 (07:08 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 16 Sep 2004 07:08:27 +0000 (07:08 +0000)
TFluka/TFluka.cxx

index 3daafdd76c10728c6e8f20f00acadaa46a574952..e7828a205e86c13b64c29e048e66dd3e698c11cb 100644 (file)
@@ -1343,7 +1343,7 @@ fin:
       // flag = 1 decays, secondaries processed
       // flag = 2 decays, no secondaries stored
       //gMC ->SetProcess("DCAY",1); // not available
-      else if ((strncmp(proc->GetName(),"DCAY",4) == 0) && proc->Flag() == 1
+      else if ((strncmp(proc->GetName(),"DCAY",4) == 0) && proc->Flag() == 0
          cout << "SetProcess for flag=" << proc->GetName() << " value=" << proc->Flag() << " not avaliable!" << endl;
       
       // delta-ray