source: branches/Mars_MC/mbase/MAGIC.h@ 17055

Last change on this file since 17055 was 8958, checked in by tbretz, 16 years ago
*** empty log message ***
File size: 3.3 KB
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// Check for example: http://www.utf8-zeichentabelle.de
43namespace UTF8
44{
45 const char *const kCent = "\xc2\xa2";
46 const char *const kPound = "\xc2\xa3";
47 const char *const kYen = "\xc2\xa5";
48 const char *const kParagraph = "\xc2\xa7";
49 const char *const kCopyright = "\xc2\xa9";
50 const char *const kRegistered = "\xc2\xae";
51 const char *const kDeg = "\xc2\xb0";
52 const char *const kPlusMinus = "\xc2\xb1";
53 const char *const kSquare = "\xc2\xb2";
54 const char *const kThird = "\xc2\xb3";
55 const char *const kMu = "\xc2\xb5";
56 const char *const kDot = "\xc2\xb7";
57 const char *const kQuarter = "\xc2\xbc";
58 const char *const kHalf = "\xc2\xbd";
59 const char *const kSmaller = "\xc2\xab";
60 const char *const kLarger = "\xc2\xbb";
61 const char *const kThreeFourth = "\xc2\xbe";
62 const char *const kTimes = "\xc3\x97";
63 const char *const kCapGamma = "\xce\x93";
64 const char *const kCapDelta = "\xce\x94";
65 const char *const kCapSigma = "\xce\xa3";
66 const char *const kCapTheta = "\xce\x98";
67 const char *const kCapLambda = "\xce\x9b";
68 const char *const kCapXi = "\xce\x9e";
69 const char *const kCapPi = "\xce\xa0";
70 const char *const kCapPhi = "\xce\xa6";
71 const char *const kCapPsi = "\xce\xa8";
72 const char *const kCapOmega = "\xce\xa9";
73 const char *const kAlpha = "\xce\xb1";
74 const char *const kBata = "\xce\xb2";
75 const char *const kGamma = "\xce\xb3";
76 const char *const kDelta = "\xce\xb4";
77 const char *const kEpsilon = "\xce\xb5";
78 const char *const kZeta = "\xce\xb6";
79 const char *const kEta = "\xce\xb7";
80 const char *const kTheta = "\xce\xb8";
81 const char *const kIota = "\xce\xb9";
82 const char *const kKappa = "\xce\xba";
83 const char *const kLambda = "\xce\xbb";
84 const char *const kNu = "\xce\xbd";
85 const char *const kXi = "\xce\xbe";
86 const char *const kOmicron = "\xce\xbf";
87 const char *const kPi = "\xce\xc0";
88 const char *const kRho = "\xce\xc1";
89 const char *const kSigma = "\xce\xc3";
90 const char *const kTau = "\xce\xc4";
91 const char *const kPhi = "\xce\xc6";
92 const char *const kChi = "\xce\xc7";
93 const char *const kPsi = "\xce\xc8";
94 const char *const kOmega = "\xce\xc9";
95 const char *const kEuro = "\xe2\x82\xac";
96}
97
98#endif
Note: See TracBrowser for help on using the repository browser.