CMS 3D CMS Logo

geometryRPFromDD_2021_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # common and strip files
4 totemGeomXMLFiles = cms.vstring(
5  'Geometry/CMSCommonData/data/materials.xml',
6  'Geometry/CMSCommonData/data/rotations.xml',
7  'Geometry/CMSCommonData/data/extend/cmsextent.xml',
8  'Geometry/CMSCommonData/data/cms/2017/v1/cms.xml',
9  'Geometry/CMSCommonData/data/beampipe/2017/v1/beampipe.xml',
10  'Geometry/CMSCommonData/data/cmsBeam.xml',
11  'Geometry/CMSCommonData/data/cmsMother.xml',
12  'Geometry/CMSCommonData/data/mgnt.xml',
13  'Geometry/TrackerCommonData/data/trackermaterial/2021/v1/trackermaterial.xml',
14  'Geometry/TrackerCommonData/data/pixfwdMaterials/2021/v2/pixfwdMaterials.xml',
15  'Geometry/ForwardCommonData/data/forward.xml',
16  'Geometry/ForwardCommonData/data/totemRotations.xml',
17  'Geometry/ForwardCommonData/data/totemMaterials.xml',
18  'Geometry/VeryForwardData/data/RP_Box.xml',
19  'Geometry/VeryForwardData/data/RP_Box/RP_Box_000.xml',
20  'Geometry/VeryForwardData/data/RP_Box/RP_Box_001.xml',
21  'Geometry/VeryForwardData/data/RP_Box/RP_Box_002.xml',
22  'Geometry/VeryForwardData/data/RP_Box/RP_Box_003.xml',
23  'Geometry/VeryForwardData/data/RP_Box/RP_Box_004.xml',
24  'Geometry/VeryForwardData/data/RP_Box/RP_Box_005.xml',
25  'Geometry/VeryForwardData/data/RP_Box/RP_Box_020.xml',
26  'Geometry/VeryForwardData/data/RP_Box/RP_Box_021.xml',
27 # 'Geometry/VeryForwardData/data/RP_Box/RP_Box_022.xml',
28  'Geometry/VeryForwardData/data/RP_Box/RP_Box_023.xml',
29  'Geometry/VeryForwardData/data/RP_Box/RP_Box_024.xml',
30  'Geometry/VeryForwardData/data/RP_Box/RP_Box_025.xml',
31  'Geometry/VeryForwardData/data/RP_Box/RP_Box_100.xml',
32  'Geometry/VeryForwardData/data/RP_Box/RP_Box_101.xml',
33  'Geometry/VeryForwardData/data/RP_Box/RP_Box_102.xml',
34  'Geometry/VeryForwardData/data/RP_Box/RP_Box_103.xml',
35  'Geometry/VeryForwardData/data/RP_Box/RP_Box_104.xml',
36  'Geometry/VeryForwardData/data/RP_Box/RP_Box_105.xml',
37  'Geometry/VeryForwardData/data/RP_Box/RP_Box_120.xml',
38  'Geometry/VeryForwardData/data/RP_Box/RP_Box_121.xml',
39 # 'Geometry/VeryForwardData/data/RP_Box/RP_Box_122.xml',
40  'Geometry/VeryForwardData/data/RP_Box/RP_Box_123.xml',
41  'Geometry/VeryForwardData/data/RP_Box/RP_Box_124.xml',
42  'Geometry/VeryForwardData/data/RP_Box/RP_Box_125.xml',
43  'Geometry/VeryForwardData/data/RP_Hybrid/v1/RP_Hybrid.xml',
44  'Geometry/VeryForwardData/data/RP_Materials/v1/RP_Materials.xml',
45  'Geometry/VeryForwardData/data/RP_Transformations.xml',
46  'Geometry/VeryForwardData/data/RP_Detectors_Assembly.xml',
47  'Geometry/VeryForwardData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_000.xml',
48  'Geometry/VeryForwardData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_001.xml',
49  'Geometry/VeryForwardData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_002.xml',
50  'Geometry/VeryForwardData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_004.xml',
51  'Geometry/VeryForwardData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_005.xml',
52 # 'Geometry/VeryForwardData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_022.xml',
53  'Geometry/VeryForwardData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_024.xml',
54  'Geometry/VeryForwardData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_025.xml',
55  'Geometry/VeryForwardData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_100.xml',
56  'Geometry/VeryForwardData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_101.xml',
57  'Geometry/VeryForwardData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_102.xml',
58  'Geometry/VeryForwardData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_104.xml',
59  'Geometry/VeryForwardData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_105.xml',
60 # 'Geometry/VeryForwardData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_122.xml',
61  'Geometry/VeryForwardData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_124.xml',
62  'Geometry/VeryForwardData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_125.xml',
63  'Geometry/VeryForwardData/data/RP_Device.xml',
64  'Geometry/VeryForwardData/data/RP_Vertical_Device/2021/Reco/v1/RP_Vertical_Device.xml',
65  'Geometry/VeryForwardData/data/RP_Horizontal_Device/2021/Reco/v1/RP_Horizontal_Device.xml',
66  'Geometry/VeryForwardData/data/CTPPS_2021/Stations/Reco/v1/RP_220_Right_Station.xml',
67  'Geometry/VeryForwardData/data/CTPPS_2021/Stations/Reco/v1/RP_210_Right_Station.xml',
68  'Geometry/VeryForwardData/data/CTPPS_2021/Stations/Reco/v1/RP_220_Left_Station.xml',
69  'Geometry/VeryForwardData/data/CTPPS_2021/Stations/Reco/v1/RP_210_Left_Station.xml',
70  'Geometry/VeryForwardData/data/CTPPS_2021/Stations/Reco/v1/RP_Stations_Assembly.xml',
71 
72  'Geometry/VeryForwardData/data/RP_Sensitive_Dets.xml',
73  'Geometry/VeryForwardData/data/CTPPS_2021/Cuts_Per_Region/Reco/v1/RP_Cuts_Per_Region.xml',
74 
75  'Geometry/VeryForwardData/data/CTPPS_2021/RP_Param_Beam_Region/v1/RP_Param_Beam_Region.xml'
76  )
77 
78 # diamond files
79 ctppsDiamondGeomXMLFiles = cms.vstring(
80  'Geometry/VeryForwardData/data/CTPPS_Diamond_Materials.xml',
81  'Geometry/VeryForwardData/data/CTPPS_Diamond_Transformations.xml',
82  'Geometry/VeryForwardData/data/CTPPS_Diamond_X_Distance.xml',
83  'Geometry/VeryForwardData/data/CTPPS_Diamond_Parameters.xml',
84  'Geometry/VeryForwardData/data/CTPPS_Timing_Station_Parameters.xml',
85  'Geometry/VeryForwardData/data/CTPPS_Timing_Horizontal_Pot.xml',
86  'Geometry/VeryForwardData/data/CTPPS_Timing_Positive_Station.xml',
87  'Geometry/VeryForwardData/data/CTPPS_Timing_Negative_Station.xml',
88  'Geometry/VeryForwardData/data/CTPPS_Diamond_2021/Reco/v1/CTPPS_Timing_Stations_Assembly.xml',
89  'Geometry/VeryForwardData/data/CTPPS_Diamond_Segments/CTPPS_Diamond_Pattern1_Segment1.xml',
90  'Geometry/VeryForwardData/data/CTPPS_Diamond_Segments/CTPPS_Diamond_Pattern2_Segment1.xml',
91  'Geometry/VeryForwardData/data/CTPPS_Diamond_Segments/CTPPS_Diamond_Pattern2_Segment2.xml',
92  'Geometry/VeryForwardData/data/CTPPS_Diamond_Segments/CTPPS_Diamond_Pattern3_Segment1.xml',
93  'Geometry/VeryForwardData/data/CTPPS_Diamond_Segments/CTPPS_Diamond_Pattern3_Segment2.xml',
94  'Geometry/VeryForwardData/data/CTPPS_Diamond_Segments/CTPPS_Diamond_Pattern3_Segment3.xml',
95  'Geometry/VeryForwardData/data/CTPPS_Diamond_Segments/CTPPS_Diamond_Pattern3_Segment4.xml',
96  'Geometry/VeryForwardData/data/CTPPS_Diamond_Segments/CTPPS_Diamond_Pattern4_Segment1.xml',
97  'Geometry/VeryForwardData/data/CTPPS_Diamond_Segments/CTPPS_Diamond_Pattern4_Segment2.xml',
98  'Geometry/VeryForwardData/data/CTPPS_Diamond_Segments/CTPPS_Diamond_Pattern4_Segment3.xml',
99  'Geometry/VeryForwardData/data/CTPPS_Diamond_Segments/CTPPS_Diamond_Pattern4_Segment4.xml',
100  'Geometry/VeryForwardData/data/CTPPS_Diamond_Segments/CTPPS_Diamond_Pattern4_Segment5.xml',
101  'Geometry/VeryForwardData/data/CTPPS_Diamond_2021/CTPPS_Diamond_Planes/CTPPS_Diamond_Plane1.xml',
102  'Geometry/VeryForwardData/data/CTPPS_Diamond_2021/CTPPS_Diamond_Planes/CTPPS_Diamond_Plane2.xml',
103  'Geometry/VeryForwardData/data/CTPPS_Diamond_2021/CTPPS_Diamond_Planes/CTPPS_Diamond_Plane3.xml',
104  'Geometry/VeryForwardData/data/CTPPS_Diamond_2021/CTPPS_Diamond_Planes/CTPPS_Diamond_Plane4.xml',
105  'Geometry/VeryForwardData/data/CTPPS_Diamond_2021/CTPPS_Diamond_Detector_Assembly.xml'
106  )
107 
108 
109 # Totem Timing files
110 totemTimingGeomXMLFiles = cms.vstring(
111  # UFSDetectors
112  'Geometry/VeryForwardData/data/TotemTiming/TotemTiming_Dist_Beam_Cent.xml',
113  'Geometry/VeryForwardData/data/TotemTiming/TotemTiming_DetectorAssembly.xml',
114  'Geometry/VeryForwardData/data/TotemTiming/TotemTiming_Parameters.xml',
115  'Geometry/VeryForwardData/data/TotemTiming/TotemTiming_Plane.xml',
116  'Geometry/VeryForwardData/data/TotemTiming/TotemTiming_Station.xml',
117  )
118 
119 # pixel files
120 ctppsPixelGeomXMLFiles = cms.vstring(
121  'Geometry/VeryForwardData/data/CTPPS_Pixel_2021/Modules/v1/ppstrackerMaterials.xml',
122  'Geometry/VeryForwardData/data/CTPPS_Pixel_2021/Modules/v1/PPS_Pixel_Module_2x2_Run3.xml',
123  'Geometry/VeryForwardData/data/CTPPS_Pixel_2021/Modules/v1/PPS_Pixel_Sens.xml',
124  'Geometry/VeryForwardData/data/CTPPS_Pixel_2021/Assembly/v1/CTPPS_Pixel_Assembly_Box_Real_003.xml',
125  'Geometry/VeryForwardData/data/CTPPS_Pixel_2021/Assembly/v1/CTPPS_Pixel_Assembly_Box_Real_023.xml',
126  'Geometry/VeryForwardData/data/CTPPS_Pixel_2021/Assembly/v1/CTPPS_Pixel_Assembly_Box_Real_103.xml',
127  'Geometry/VeryForwardData/data/CTPPS_Pixel_2021/Assembly/v1/CTPPS_Pixel_Assembly_Box_Real_123.xml'
128  )
129 
130 XMLIdealGeometryESSource_CTPPS = cms.ESSource("XMLIdealGeometryESSource",
131  geomXMLFiles = totemGeomXMLFiles + ctppsDiamondGeomXMLFiles + totemTimingGeomXMLFiles + ctppsPixelGeomXMLFiles,
132  rootNodeName = cms.string('cms:CMSE')
133  )
134 
135 # position of RPs
136 XMLIdealGeometryESSource_CTPPS.geomXMLFiles.append("Geometry/VeryForwardData/data/CTPPS_2021/RP_Dist_Beam_Cent/Reco/v1/RP_Dist_Beam_Cent.xml")
137 
138 ctppsGeometryESModule = cms.ESProducer("CTPPSGeometryESModule",
139  verbosity = cms.untracked.uint32(1),
140  isRun2 = cms.bool(False),
141  compactViewTag = cms.string('XMLIdealGeometryESSource_CTPPS')
142 )