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

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