Project
Loading...
Searching...
No Matches
GenCathodeSegmentationCreatorForSegType15.cxx
Go to the documentation of this file.
1// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
2// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3// All rights not expressly granted are reserved.
4//
5// This software is distributed under the terms of the GNU General Public
6// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7//
8// In applying this license CERN does not waive the privileges and immunities
9// granted to it by virtue of its status as an Intergovernmental Organization
10// or submit itself to any jurisdiction.
11//
12// This file has been generated. Do not modify it by hand or your changes might
13// be lost.
14//
16
17namespace o2
18{
19namespace mch
20{
21namespace mapping
22{
23namespace impl4
24{
26{
27 if (isBendingPlane) {
28 return new CathodeSegmentation{
29 15,
30 true,
31 /* PG */
32 {{3, 3, 0, 20, -20},
33 {4, 3, 0, 40, -20},
34 {7, 3, 0, -20, -20},
35 {8, 3, 0, 0, -20},
36 {11, 3, 0, -60, -20},
37 {12, 3, 0, -40, -20},
38 {101, 0, 0, 40, -4},
39 {102, 2, 0, 30, 4},
40 {103, 1, 0, 20, -4},
41 {106, 0, 0, 0, -4},
42 {107, 2, 0, -10, 4},
43 {108, 1, 0, -20, -4},
44 {111, 0, 0, -40, -4},
45 {112, 2, 0, -50, 4},
46 {113, 1, 0, -60, -4}},
47 /* PGT */
48 {/* L10 */ {2, 48, {35, 36, 38, 33, 41, 34, 44, 37, 45, 32, 47, 39, 50, 40, 51, 42, 53, 43, 56, 46, 57, 48, 59, 49, 60, 52, 61, 54, 62, 55, 63, 58, -1, 31, -1, 30, -1, 29, -1, 28, -1, 27, -1, 26, -1, 24, -1, 23, -1, 20, -1, 21, -1, 16, -1, 19, -1, 12, -1, 14, -1, 11, -1, 13, -1, 7, -1, 8, -1, 5, -1, 2, -1, 6, -1, 1, -1, 3, -1, 0, -1, 4, -1, 9, -1, 10, -1, 15, -1, 17, -1, 18, -1, 22, -1, 25}},
49 /* L9 */ {2, 48, {13, 7, 11, 8, 14, 5, 12, 2, 19, 6, 16, 1, 21, 3, 20, 0, 23, 4, 24, 9, 26, 10, 27, 15, 28, 17, 29, 18, 30, 22, 31, 25, 58, -1, 55, -1, 54, -1, 52, -1, 49, -1, 48, -1, 46, -1, 43, -1, 42, -1, 40, -1, 39, -1, 32, -1, 37, -1, 34, -1, 33, -1, 36, -1, 35, -1, 38, -1, 41, -1, 44, -1, 45, -1, 47, -1, 50, -1, 51, -1, 53, -1, 56, -1, 57, -1, 59, -1, 60, -1, 61, -1, 62, -1, 63, -1}},
50 /* O11 */ {2, 32, {58, 31, 55, 30, 54, 29, 52, 28, 49, 27, 48, 26, 46, 24, 43, 23, 42, 20, 40, 21, 39, 16, 32, 19, 37, 12, 34, 14, 33, 11, 36, 13, 35, 7, 38, 8, 41, 5, 44, 2, 45, 6, 47, 1, 50, 3, 51, 0, 53, 4, 56, 9, 57, 10, 59, 15, 60, 17, 61, 18, 62, 22, 63, 25}},
51 /* O12 */ {2, 32, {25, 63, 22, 62, 18, 61, 17, 60, 15, 59, 10, 57, 9, 56, 4, 53, 0, 51, 3, 50, 1, 47, 6, 45, 2, 44, 5, 41, 8, 38, 7, 35, 13, 36, 11, 33, 14, 34, 12, 37, 19, 32, 16, 39, 21, 40, 20, 42, 23, 43, 24, 46, 26, 48, 27, 49, 28, 52, 29, 54, 30, 55, 31, 58}}},
52 /* PS */
53 {{10, 0.5}}};
54 } else {
55 return new CathodeSegmentation{
56 15,
57 false,
58 /* PG */
59 {{1025, 3, 0, 40, -20},
60 {1026, 2, 0, 20, -20},
61 {1029, 3, 0, -8.000000662e-09, -20},
62 {1030, 2, 0, -20, -20},
63 {1033, 3, 0, -40, -20},
64 {1034, 2, 0, -60, -20},
65 {1128, 0, 0, 20, 0},
66 {1129, 1, 0, 40, 0},
67 {1133, 0, 0, -20, 0},
68 {1134, 1, 0, -8.000000662e-09, 0},
69 {1138, 0, 0, -60, 0},
70 {1139, 1, 0, -40, 0}},
71 /* PGT */
72 {/* O5 */ {28, 2, {25, 18, 15, 9, 0, 1, 2, 8, 13, 14, 19, 21, 23, 26, 28, 30, 58, 54, 49, 46, 42, 39, 37, 33, 35, 41, 45, 50, 22, 17, 10, 4, 3, 6, 5, 7, 11, 12, 16, 20, 24, 27, 29, 31, 55, 52, 48, 43, 40, 32, 34, 36, 38, 44, 47, 51}},
73 /* O6 */ {28, 2, {0, 1, 2, 8, 13, 14, 19, 21, 23, 26, 28, 30, 58, 54, 49, 46, 42, 39, 37, 33, 35, 41, 45, 50, 53, 57, 60, 62, 3, 6, 5, 7, 11, 12, 16, 20, 24, 27, 29, 31, 55, 52, 48, 43, 40, 32, 34, 36, 38, 44, 47, 51, 56, 59, 61, 63}},
74 /* O7 */ {28, 2, {63, 61, 59, 56, 51, 47, 44, 38, 36, 34, 32, 40, 43, 48, 52, 55, 31, 29, 27, 24, 20, 16, 12, 11, 7, 5, 6, 3, 62, 60, 57, 53, 50, 45, 41, 35, 33, 37, 39, 42, 46, 49, 54, 58, 30, 28, 26, 23, 21, 19, 14, 13, 8, 2, 1, 0}},
75 /* O8 */ {28, 2, {51, 47, 44, 38, 36, 34, 32, 40, 43, 48, 52, 55, 31, 29, 27, 24, 20, 16, 12, 11, 7, 5, 6, 3, 4, 10, 17, 22, 50, 45, 41, 35, 33, 37, 39, 42, 46, 49, 54, 58, 30, 28, 26, 23, 21, 19, 14, 13, 8, 2, 1, 0, 9, 15, 18, 25}}},
76 /* PS */
77 {{0.714285714, 10}}};
78 }
79}
88
89} // namespace impl4
90} // namespace mapping
91} // namespace mch
92} // namespace o2
bool isBendingPlane
class o2::mch::mapping::impl4::CathodeSegmentationCreatorRegisterCreateSegType15 aCathodeSegmentationCreatorRegisterCreateSegType15
void registerCathodeSegmentationCreator(int segType, CathodeSegmentationCreator func)
CathodeSegmentation * createSegType15(bool isBendingPlane)
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...