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 | //
|
---|
18 | const Int_t kCONTINUE = 2;
|
---|
19 |
|
---|
20 | //
|
---|
21 | // ParticleId for Monte Carlo simulation
|
---|
22 | //
|
---|
23 | const Int_t kGAMMA = 0;
|
---|
24 | const Int_t kPROTON = 14;
|
---|
25 | const Int_t kHELIUM = 402;
|
---|
26 | const Int_t kOXIGEN = 1608;
|
---|
27 | const Int_t kIRON = 5626;
|
---|
28 |
|
---|
29 | const Double_t kPI = 3.1415926535897932384626433832795028841971693993751;
|
---|
30 | const Double_t kRad2Deg = 180.0/kPI;
|
---|
31 |
|
---|
32 | //
|
---|
33 | // This is the definition of a global output stream, which by
|
---|
34 | // default pipes all output to the stdout
|
---|
35 | //
|
---|
36 |
|
---|
37 | //This will be fixed soon. It doesn't work with Alphas at the moment
|
---|
38 | class MLog;
|
---|
39 | #if !defined __CINT__ || defined __LINUX__
|
---|
40 | extern MLog gLog;
|
---|
41 | #endif
|
---|
42 |
|
---|
43 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.