PPM-DU analysis  2.3
conversion and analysis of the PPM-DU data
 All Classes Files Functions Variables Pages
/home/alex/Work/Research/Km3NeT/PPM-DU/ppm-du-v2.3/constants.h
Go to the documentation of this file.
1 #ifndef _constants_h_
2 #define _constants_h_
3 
4 #include <math.h>
5 
6 const int domNb = 3;
7 const int neighbourNb = 6;
8 const int ringNb = 6;
9 const int pmtNb = 31;
10 const int domId = 2;
11 const int pmtId = 0;
12 const double conversion = pow(2,27)*1e-6;
13 
14 const int neighbour[pmtNb][neighbourNb] = {{2, 3, 4, 5, 30, -1}, {5, 7, 16, 20, 27, -1}, // 0, 1
15  {0, 5, 27, 28, 30, -1}, {0, 4, 23, 29, 30, -1}, // 2, 3
16  {0, 3, 6, 8, 23, -1}, {0, 1, 2, 7, 27, -1}, // 4, 5
17  {4, 8, 15, 21, 23, -1}, {1, 5, 9, 11, 16, -1}, // 6, 7
18  {4, 6, 9, 10, 15, -1}, {7, 8, 10, 11, 12, -1}, // 8, 9
19  {8, 9, 12, 13, 15, -1}, {7, 9, 12, 16, 17, -1}, // 10, 11
20  {9, 10, 11, 13, 14, 17}, {10, 12, 14, 15, 19, -1}, // 12, 13
21  {12, 13, 17, 18, 19, 22}, {6, 8, 10, 13, 19, 21}, // 14, 15
22  {1, 7, 11, 17, 18, 20}, {11, 12, 14, 16, 18, -1}, // 16, 17
23  {14, 16, 17, 20, 22, 26}, {13, 14, 15, 21, 22, 25}, // 18, 19
24  {1, 16, 18, 26, 27, -1}, {6, 15, 19, 23, 25, -1}, // 20, 21
25  {14, 18, 19, 24, 25, 26}, {3, 4, 6, 21, 25, 29}, // 22, 23
26  {22, 25, 26, 28, 29, 30}, {19, 21, 22, 23, 24, 29}, // 24, 25
27  {18, 20, 22, 24, 27, 28}, {1, 2, 5, 20, 26, 28}, // 26, 27
28  {2, 24, 26, 27, 30, -1}, {3, 23, 24, 25, 30, -1}, // 28, 29
29  {0, 2, 3, 24, 28, 29}}; // 30
30 
31 //const int pmtMap[ringNb][neighbourNb] = {{0, -1, -1, -1, -1, -1}, {1, 2, 3, 4, 5, 6}, {7, 8, 9, 10, 11, 12}, {13, 14, 15, 16, 17, 18}, {19, 20, 21, 22, 23, 24}, {25, 26, 27, 28, 29, 30}};
32 
33 const int new2OldPmtMap[pmtNb] = {22, 18, 26, 24, 25, 19, 14, 17, 20, 28, 29, 21, 13, 16, 27, 30, 23, 15, 12, 10, 11, 1, 2, 3, 6, 9, 7, 5, 0, 4, 8};
34 
35 //const int old2NewPmtMap2[pmtNb] = {28, 21, 22, 23, 29, 27, 30, 26, 24, 25, 19, 20, 18, 12, 6, 17, 13, 7, 1, 5, 8, 11, 0, 16, 3, 4, 2, 14, 9, 10, 15};
36 //const int old2NewPmtMap01[pmtNb] = {28, 21, 22, 23, 29, 27, 24, 26, 30, 25, 19, 20, 18, 12, 6, 17, 13, 7, 1, 5, 8, 11, 0, 16, 3, 4, 2, 14, 9, 10, 15};
37 
38 const int old2NewPmtMapCorrected01[pmtNb] = {28, 23, 22, 21, 27, 29, 20, 30, 26, 25, 19, 24, 13, 7, 1, 14,
39  18, 12, 6, 2, 11, 8, 0, 15, 4, 3, 5, 17, 10, 9, 16};
40 const int old2NewPmtMapCorrected2[pmtNb] = {28, 23, 22, 21, 27, 29, 26, 30, 20, 25, 19, 24, 13, 7, 1, 14,
41  18, 12, 6, 2, 11, 8, 0, 15, 4, 3, 5, 17, 10, 9, 16};
42 
43 const int timeOffsetDom[domNb] = {0, 0, 1}; //run#7, #425
44 const double fineTimeOffsetDom[domNb] = {0, 220, 380};
45 //const double fineTimeOffsetDom[domNb] = {380, 160, 0};
46 //const double fineTimeOffsetDom[domNb] = {0, 0, 0};
47 
48 const bool individualPmts = true;
49 const int coincWindowPmts = 25;
50 const int coincWindowDoms = 25;
51 const int domTimeWindow = 10000;
52 const int pmtCouples = 80;
53 const int multiplicityForMuon = 5;
54 
55 #endif
const int neighbourNb
Definition: constants.h:7
const int pmtNb
Definition: constants.h:9
const bool individualPmts
Definition: constants.h:48
const int coincWindowDoms
Definition: constants.h:50
const int neighbour[pmtNb][neighbourNb]
Definition: constants.h:14
const int domTimeWindow
Definition: constants.h:51
const int domId
Definition: constants.h:10
const int domNb
Definition: constants.h:6
const int old2NewPmtMapCorrected2[pmtNb]
Definition: constants.h:40
const int coincWindowPmts
Definition: constants.h:49
const double fineTimeOffsetDom[domNb]
Definition: constants.h:44
const int pmtCouples
Definition: constants.h:52
const int new2OldPmtMap[pmtNb]
Definition: constants.h:33
const double conversion
Definition: constants.h:12
const int multiplicityForMuon
Definition: constants.h:53
const int ringNb
Definition: constants.h:8
const int old2NewPmtMapCorrected01[pmtNb]
Definition: constants.h:38
const int pmtId
Definition: constants.h:11
const int timeOffsetDom[domNb]
Definition: constants.h:43