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

Last change on this file since 1492 was 1450, checked in by tbretz, 22 years ago
*** empty log message ***
File size: 871 bytes
Line 
1#ifndef MARS_MAGIC
2#define MARS_MAGIC
3///////////////////////////////////////////////////////////////////////////////
4//
5// Magic.h
6//
7// defines MAGIC base informations
8//
9///////////////////////////////////////////////////////////////////////////////
10
11#ifndef ROOT_TROOT
12#include <TROOT.h>
13#endif
14
15//
16// Values for the eventloop control
17//
18const Int_t kCONTINUE = 2;
19const Int_t kSKIP = 2;
20
21//
22// ParticleId for Monte Carlo simulation
23//
24typedef enum
25{
26 kGAMMA = 1,
27 kPROTON = 14,
28 kHELIUM = 402,
29 kOXYGEN = 1608,
30 kIRON = 5626
31} ParticleId_t;
32
33const Double_t kRad2Deg = 180.0/3.1415926535897932384626433832795028841971693993751;
34
35//
36// This is the definition of a global output stream, which by
37// default pipes all output to the stdout
38//
39
40#ifdef __LINUX__
41class MLog;
42#else
43#include "MLog.h"
44#endif
45
46extern MLog gLog;
47
48#endif
Note: See TracBrowser for help on using the repository browser.