BmnRoot
Loading...
Searching...
No Matches
BmnGemStripConfiguration.h
Go to the documentation of this file.
1#ifndef BMNGEMSTRIPCONFIGURATION_H
2#define BMNGEMSTRIPCONFIGURATION_H
3
4#include "Rtypes.h"
5
7{
8
10{
11 None = 0, // empty config.
12 RunSummer2016, // 7 stations - (geometry file: GEMS_RunSummer2016.root)
13 RunWinter2016, // 7 stations - (geometry file: GEMS_RunWinter2016.root)
14 RunSpring2017, // 6 stations - (geometry file: GEMS_RunSpring2017.root)
15 RunSpring2018, // 6 stations - (geometry file: GEMS_RunSpring2018.root) (BM@N RUN-7)
16 RunSRCSpring2018, // 10 stations - (geometry file: GEMS_RunSRCSpring2018.root) (BM@N RUN-7: SRC)
17 RunSRC2021, // 2 stations - (geometry file: GEMS_RunSRC2021_detailed.root)
18 Run8, // 7 stations + 1 small GEM - (geometry file: GEMS_Run8.root)
19 Run9 // 7 stations + 1 small GEM - (geometry file: GEMS_Run9.root)
20};
21} // namespace BmnGemStripConfiguration
22
24{
25// BM@N coordinate system is used
26const Int_t NStations = 7;
27const Int_t NMaxModules = 2; // max. number of modules in one station
28
29//(X-Y-Z)Positions of stations
30const Double_t XStationPositions[NStations] = {+0.0, -1.5, +1.5, -1.5, +1.5, -1.5, +0.0};
31const Double_t YStationPositions[NStations] = {+0.0, +0.0, +0.0, +0.0, +0.0, +0.0, +0.0};
32const Double_t ZStationPositions[NStations] = {
33 5.0 + 0.1, 41.8 + 0.7, 62.8 + 0.7, 83.8 + 0.7,
34 104.8 + 0.7, 125.8 + 0.7, 146.8 + 1.5}; // All z-positions are start pos. of the sensitive vol.
35
36//(X-Y-Z)Shifts of modules in each station
37const Double_t XModuleShifts[NStations][NMaxModules] = {
38 {0.0}, // station 0 (small)
39 {0.0}, // station 1 (66x41)
40 {0.0}, // station 2
41 {0.0}, // station 3
42 {0.0}, // station 4
43 {0.0}, // station 5
44 {0.0, 0.0} // station 6 (163x45): module0 + module1
45};
46const Double_t YModuleShifts[NStations][NMaxModules] = {
47 {0.0}, // station 0 (small)
48 {0.0}, // station 1 (66x41)
49 {0.0}, // station 2
50 {0.0}, // station 3
51 {0.0}, // station 4
52 {0.0}, // station 5
53 {0.0, 0.0}, // station 6 (163x45): module0 + module1
54};
55const Double_t ZModuleShifts[NStations][NMaxModules] = {
56 {0.0}, // station 0 (small)
57 {0.0}, // station 1 (66x41)
58 {0.0}, // station 2
59 {0.0}, // station 3
60 {0.0}, // station 4
61 {0.0}, // station 5
62 {0.0, 0.0} // station 6 (163x45): module0 + module1
63};
64} // namespace BmnGemStationPositions_RunSummer2016
65
67{
68// BM@N coordinate system is used
69const Int_t NStations = 7;
70const Int_t NMaxModules = 2; // max. number of modules in one station
71
72//(X-Y-Z)Positions of stations
73const Double_t XStationPositions[NStations] = {+0.0, -1.5, -1.5, -1.5, +0.0, +0.0, +0.0};
74const Double_t YStationPositions[NStations] = {+0.0 - 4.5, +0.0 - 4.5, +0.0 - 4.5, +0.0 - 4.5,
75 +0.0 - 4.5, -2.4 - 4.5, -2.4 - 4.5};
76const Double_t ZStationPositions[NStations] = {
77 -186.0 + 0.1, 31.8 + 0.7, 63.8 + 0.7, 95.8 + 0.7,
78 127.8 + 0.7, 159.8 + 1.5, 191.8 + 1.5}; // All z-positions are start pos. of the sensitive vol. (from the magnet
79 // pole)
80
81//(X-Y-Z)Shifts of modules in each station
82const Double_t XModuleShifts[NStations][NMaxModules] = {
83 {0.0}, // station 0 (10x10)
84 {0.0}, // station 1 (66x41)
85 {0.0}, // station 2
86 {0.0}, // station 3
87 {-5.3, -1.7}, // station 4 (2 modules of 66x41) // x-intersection of two modules
88 {0.0, 0.0}, // station 5 (163x45): module0 + module1
89 {0.0, 0.0} // station 6 (163x45): module0 + module1
90};
91const Double_t YModuleShifts[NStations][NMaxModules] = {
92 {0.0}, // station 0 (10x10)
93 {0.0}, // station 1 (66x41)
94 {0.0}, // station 2
95 {0.0}, // station 3
96 {0.0, +0.2}, // station 4 (2 modules of 66x41)
97 {0.0, 0.0}, // station 5 (163x45): module0 + module1
98 {0.0, 0.0} // station 6 (163x45): module0 + module1
99};
100const Double_t ZModuleShifts[NStations][NMaxModules] = {
101 {0.0}, // station 0 (10x10)
102 {0.0}, // station 1 (66x41)
103 {0.0}, // station 2
104 {0.0}, // station 3
105 {0.0, +2.3}, // station 4 (2 modules of 66x41)
106 {0.0, 0.0}, // station 5 (163x45): module0 + module1
107 {0.0, 0.0} // station 6 (163x45): module0 + module1
108};
109} // namespace BmnGemStationPositions_RunWinter2016
110
112{
113// BM@N coordinate system is used
114const Int_t NStations = 6;
115const Int_t NMaxModules = 2; // max. number of modules in one station
116
117//(X-Y-Z)Positions of stations
118const Double_t XStationPositions[NStations] = {-1.5, -1.5, -1.5, +0.0, +0.0, +0.0};
119const Double_t YStationPositions[NStations] = {+0.0 - 4.5, +0.0 - 4.5, +0.0 - 4.5, +0.0 - 4.5, -2.4 - 4.5, -2.4 - 4.5};
120const Double_t ZStationPositions[NStations] = {
121 32.0 + 0.7, 63.8 + 0.7, 95.8 + 0.7, 127.8 + 0.7,
122 159.6 + 1.5, 191.6 + 1.5}; // All z-positions are start pos. of the sensitive vol. (from the magnet pole)
123
124//(X-Y-Z)Shifts of modules in each station
125const Double_t XModuleShifts[NStations][NMaxModules] = {{0.0}, {0.0}, {0.0}, {-5.3, -1.7}, {0.0, 0.0}, {0.0, 0.0}};
126const Double_t YModuleShifts[NStations][NMaxModules] = {{0.0}, {0.0}, {0.0}, {0.0, 0.2}, {0.0, 0.0}, {0.0, 0.0}};
127const Double_t ZModuleShifts[NStations][NMaxModules] = {
128 {0.0}, // station 0 (66x41)
129 {0.0}, // station 1
130 {0.0}, // station 2
131 {0.0, 2.5}, // station 3 (2 modules of 66x41)
132 {0.0, 0.0}, // station 4 (163x45): module0 + module1
133 {0.0, 0.0} // station 5 (163x45): module0 + module1
134};
135} // namespace BmnGemStationPositions_RunSpring2017
136
137#endif
const Double_t XModuleShifts[NStations][NMaxModules]
const Double_t YModuleShifts[NStations][NMaxModules]
const Double_t ZModuleShifts[NStations][NMaxModules]
const Double_t ZModuleShifts[NStations][NMaxModules]
const Double_t YModuleShifts[NStations][NMaxModules]
const Double_t XModuleShifts[NStations][NMaxModules]
const Double_t XModuleShifts[NStations][NMaxModules]
const Double_t YModuleShifts[NStations][NMaxModules]
const Double_t ZModuleShifts[NStations][NMaxModules]