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

Last change on this file since 1907 was 1907, checked in by tbretz, 21 years ago
*** empty log message ***
File size: 1019 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#if ROOT_VERSION_CODE < ROOT_VERSION(3,02,00)
15#error Your root version is too old to compile Mars, use root>=3.02
16#endif
17
18//
19// Values for the eventloop control
20//
21const Int_t kCONTINUE = 2;
22const Int_t kSKIP = 2;
23const Int_t kERROR = 3;
24
25//
26// ParticleId for Monte Carlo simulation
27//
28typedef enum
29{
30 kGAMMA = 1,
31 kPROTON = 14,
32 kHELIUM = 402,
33 kOXYGEN = 1608,
34 kIRON = 5626
35} ParticleId_t;
36
37const Double_t kRad2Deg = 180.0/3.1415926535897932384626433832795028841971693993751;
38
39//
40// This is the definition of a global output stream, which by
41// default pipes all output to the stdout
42//
43
44#ifdef __LINUX__
45class MLog;
46#else
47#include "MLog.h"
48#endif
49
50extern MLog gLog;
51
52#endif
Note: See TracBrowser for help on using the repository browser.