]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EVE/alice-macros/its_hits.C
Modified macros to be compilable by ACLiC
[u/mrichter/AliRoot.git] / EVE / alice-macros / its_hits.C
index fc41f73fc444cb118dfece1b1b773f05e2096dc9..96649edf8f011dfbb8ae928c1dae17a48b571250 100644 (file)
@@ -7,6 +7,17 @@
  * full copyright notice.                                                 *
  **************************************************************************/
 
+#if !defined(__CINT__) || defined(__MAKECINT__)
+#include <TTree.h>
+#include <TEvePointSet.h>
+#include <TEveElement.h>
+#include <TEveManager.h>
+#include <TEveTreeTools.h>
+
+#include <STEER/STEER/AliRunLoader.h>
+#include <EveBase/AliEveEventManager.h>
+#endif
+
 TEvePointSet*
 its_hits(const char *varexp    = "fX:fY:fZ",
         const char *selection = "",
@@ -24,7 +35,7 @@ its_hits(const char *varexp    = "fX:fY:fZ",
   ps.Select();
 
   if(points->Size() == 0 && gEve->GetKeepEmptyCont() == kFALSE) {
-    Warning("its_hits", Form("No hits match '%s'", selection));
+    Warning("its_hits", "No hits match '%s'", selection);
     delete points;
     return 0;
   }