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

Last change on this file since 2951 was 2711, checked in by tbretz, 21 years ago
*** empty log message ***
File size: 1.1 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//
24// Values for the eventloop control
25//
26const Int_t kCONTINUE = 2;
27const Int_t kSKIP = 2;
28const Int_t kERROR = 3;
29
30//
31// ParticleId for Monte Carlo simulation
32//
33typedef enum
34{
35 kGAMMA = 1,
36 kPOSITRON = 2,
37 kELECTRON = 3,
38 kPROTON = 14,
39 kHELIUM = 402,
40 kOXYGEN = 1608,
41 kIRON = 5626
42} ParticleId_t;
43
44const Double_t kRad2Deg = 180.0/3.1415926535897932384626433832795028841971693993751;
45
46//
47// This is the definition of a global output stream, which by
48// default pipes all output to the stdout
49//
50
51#ifdef __LINUX__
52class MLog;
53#else
54#include "MLog.h"
55#endif
56
57R__EXTERN MLog gLog;
58
59#endif
Note: See TracBrowser for help on using the repository browser.