source: trunk/MagicSoft/MarsOctober/mbase/Magic.h@ 8190

Last change on this file since 8190 was 447, checked in by harald, 24 years ago
Bringing the sources for the octobertest under CVS controll. (november, 3rd, 2000)
  • Property svn:executable set to *
File size: 1.4 KB
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//
16const UShort_t kMagicNumber = 0xc0c0;
17
18//
19// Values for the eventloop control
20//
21const Int_t kCONTINUE = 2;
22
23//
24// Number of the Pixels in the Camera
25//
26const Int_t kCAMERA_PIXELS = 577;
27
28//
29// Number of the Slices of one Fadc. Be carefull this is the number of
30// slices for one gain branch. We sample two times this number.
31//
32const Int_t kFADC_SLICES = 15;
33
34//
35// ParticleId for Monte Carlo simulation
36//
37const Int_t kGAMMA = 0;
38const Int_t kPROTON = 14;
39const Int_t kHELIUM = 402;
40const Int_t kOXIGEN = 1608;
41const Int_t kIRON = 5626;
42
43//
44// nummber of ADC conversions per pixel
45//
46const Int_t kMAX_ADC = 30;
47
48//
49//camera dimensions and definitions
50//
51const Float_t kPIXEL_DIST = 10.0; //cm
52const Int_t kCAMERA_COLOR = 13; //Background light grey
53const Int_t kDEFAULT_COLOR = 1; //black
54const Int_t kPIXEL_LINE_COLOR = 15; //dark grey
55const Int_t kCOLORTABLE_START = 18; //Begin of colortable
56const Int_t kMAX_PH_EL = 500; //upper limit for colortable
57
58//
59// THE MAGIC RUNTIME DATABASE
60//
61//class MRuntimeDb;
62//extern MRuntimeDb *gMagic;
63
64#endif
Note: See TracBrowser for help on using the repository browser.