Added includes to make the macro compilable and corrected compiler
authorivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 19 Apr 2007 13:03:12 +0000 (13:03 +0000)
committerivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 19 Apr 2007 13:03:12 +0000 (13:03 +0000)
errors & warnings

MUON/MUONGenerateTestGMS.C

index f6f47db..b9407e9 100644 (file)
 // By I. Hrivnacova, IPN Orsay
 
 #if !defined(__CINT__) || defined(__MAKECINT__)
+
 #include "AliMpConstants.h"
+
+#include <TFile.h>
+#include <TGeoMatrix.h>
+#include <TClonesArray.h>
+
 #endif
 
-MUONGenerateTestGMS(Bool_t print = kFALSE)
+void MUONGenerateTestGMS(Bool_t print = kFALSE)
 {
   TFile f("data/GMS.root", "RECREATE");
   TClonesArray* array = new TClonesArray("TGeoHMatrix",100);