]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Adding includes to make macro compilable and corrected compiler
authorivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 19 Apr 2007 10:30:48 +0000 (10:30 +0000)
committerivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 19 Apr 2007 10:30:48 +0000 (10:30 +0000)
errors/warnings

MUON/MUONGenerateGeometryData.C

index 5bd035ce757fea752d97c83c5d83cc25902312eb..a45698bebdc8b4e4db2b15ccc9b3d3b45fdc4845 100644 (file)
 //
 //  Author: I. Hrivnacova, IPN Orsay
 
+#if !defined(__CINT__) || defined(__MAKECINT__)
+
+#include "AliMUON.h"
+#include "AliMUONGeometryBuilder.h"
+#include "AliMUONGeometryTransformer.h"
+
+#include "AliRun.h"
+
+#include <Riostream.h>
+
+#endif
+
 void MUONGenerateGeometryData(Bool_t volpaths = true,
                               Bool_t transforms = true, 
                               Bool_t svmaps = true,
@@ -37,8 +49,8 @@ void MUONGenerateGeometryData(Bool_t volpaths = true,
   // Get MUON detector
   AliMUON* muon = (AliMUON*)gAlice->GetModule("MUON");
   if (!muon) {
-    AliFatal("MUON detector not defined.");
-    return 0;
+    cerr << "MUON detector not defined." << endl;
+    return;
   }  
 
   // Get geometry builder