source: trunk/MagicSoft/Mars/mbase/MAGIC.h@ 8088

Last change on this file since 8088 was 8011, checked in by tbretz, 18 years ago
*** empty log message ***
File size: 849 bytes
Line 
1#ifndef MARS_MAGIC
2#define MARS_MAGIC
3///////////////////////////////////////////////////////////////////////////////
4//
5// Magic.h
6//
7// defines MAGIC base informations
8//
9///////////////////////////////////////////////////////////////////////////////
10#ifndef ROOT_TROOT
11#include <TROOT.h>
12#endif
13
14//
15// Check here if Mars can be compiled with the present root version
16//
17#ifndef __CINT__
18#if ROOT_VERSION_CODE < ROOT_VERSION(3,05,06)
19#error Your root version is too old to compile Mars, use root>=3.05/06
20#endif
21#endif
22
23#ifndef R__FOR_EACH
24#define R__FOR_EACH ForEach
25#endif
26
27
28//
29// Values for the eventloop control
30//
31const Int_t kCONTINUE = 2;
32const Int_t kSKIP = 2;
33const Int_t kERROR = 3;
34
35const Double_t kRad2Deg = 180.0/3.1415926535897932384626433832795028841971693993751;
36
37namespace MARS
38{
39 bool CheckRootVer();
40}
41
42#endif
Note: See TracBrowser for help on using the repository browser.