]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
New return value for ProcessRun
authoralibrary <alibrary@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 7 Jun 2004 06:27:29 +0000 (06:27 +0000)
committeralibrary <alibrary@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 7 Jun 2004 06:27:29 +0000 (06:27 +0000)
TFluka/TFlukaGeo.cxx
TFluka/TFlukaGeo.h

index bd42662e5ea237a522f6e2c6192ceac08844aa96..80b27452762979d23715c3dc4e5dc73476ee68aa 100644 (file)
@@ -206,7 +206,11 @@ void TFluka::ProcessEvent() {
 }
 
 //______________________________________________________________________________ 
-void TFluka::ProcessRun(Int_t nevent) {
+#if ROOT_VERSION_CODE >= 262150
+Bool_t TFluka::ProcessRun(Int_t nevent) {
+#else
+void   TFluka::ProcessRun(Int_t nevent) {
+#endif
   if (fVerbosityLevel >=3)
     cout << "==> TFluka::ProcessRun(" << nevent << ") called." 
         << endl;
@@ -222,7 +226,7 @@ void TFluka::ProcessRun(Int_t nevent) {
   if (fVerbosityLevel >=3)
     cout << "<== TFluka::ProcessRun(" << nevent << ") called." 
         << endl;
-
+  return kTRUE;
 }
 
 //_____________________________________________________________________________
index fbf30a76449a0ca437ade2a2489fb000b3491afa..8b192f53f8aa0734142e6b10427c6943a6b0c132 100644 (file)
@@ -253,8 +253,11 @@ class TFluka : public TVirtualMC {
   virtual void FinishGeometry();
   virtual void BuildPhysics();
   virtual void ProcessEvent();
-  virtual void ProcessRun(Int_t nevent);
-  
+#if ROOT_VERSION_CODE >= 262150
+  virtual Bool_t ProcessRun(Int_t nevent);
+#else
+  virtual void   ProcessRun(Int_t nevent);
+#endif
 
   //
   //New Getter and Setters