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

Last change on this file since 674 was 653, checked in by tbretz, 24 years ago
*** empty log message ***
File size: 991 bytes
Line 
1#ifndef MAGIC_H
2#define MAGIC_H
3///////////////////////////////////////////////////////////////////////////////
4//
5// Magic.h
6//
7// defines MAGIC base informations
8//
9///////////////////////////////////////////////////////////////////////////////
10
11#include <TROOT.h>
12
13//
14// Magic number to detect the magic file type
15//
16// const UShort_t kMagicNumber = 0xc0c0;
17
18//
19// Values for the eventloop control
20//
21const Int_t kCONTINUE = 2;
22
23//
24// ParticleId for Monte Carlo simulation
25//
26const Int_t kGAMMA = 0;
27const Int_t kPROTON = 14;
28const Int_t kHELIUM = 402;
29const Int_t kOXIGEN = 1608;
30const Int_t kIRON = 5626;
31
32const Double_t kPI = 3.1415926535897932384626433832795028841971693993751;
33const Double_t kRad2Deg = 180.0/kPI;
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//This will be fixed soon. It doesn't work with Alphas at the moment
41class MLog;
42#ifndef __CINT__
43extern MLog gLog;
44#endif
45
46#endif
Note: See TracBrowser for help on using the repository browser.