CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
geometryRPFromDD_2018_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/ForwardCommonData/data/forward.xml',
14  'Geometry/ForwardCommonData/data/totemRotations.xml',
15  'Geometry/ForwardCommonData/data/totemMaterials.xml',
16  'Geometry/ForwardCommonData/data/totemt1.xml',
17  'Geometry/ForwardCommonData/data/totemt2.xml',
18  'Geometry/ForwardCommonData/data/ionpump.xml',
19  'Geometry/VeryForwardData/data/RP_Box.xml',
20  'Geometry/VeryForwardData/data/RP_Box/RP_Box_000.xml',
21  'Geometry/VeryForwardData/data/RP_Box/RP_Box_001.xml',
22  'Geometry/VeryForwardData/data/RP_Box/RP_Box_002.xml',
23  'Geometry/VeryForwardData/data/RP_Box/RP_Box_003.xml',
24  'Geometry/VeryForwardData/data/RP_Box/RP_Box_004.xml',
25  'Geometry/VeryForwardData/data/RP_Box/RP_Box_005.xml',
26  'Geometry/VeryForwardData/data/RP_Box/RP_Box_020.xml',
27  'Geometry/VeryForwardData/data/RP_Box/RP_Box_021.xml',
28  'Geometry/VeryForwardData/data/RP_Box/RP_Box_022.xml',
29  'Geometry/VeryForwardData/data/RP_Box/RP_Box_023.xml',
30  'Geometry/VeryForwardData/data/RP_Box/RP_Box_024.xml',
31  'Geometry/VeryForwardData/data/RP_Box/RP_Box_025.xml',
32  'Geometry/VeryForwardData/data/RP_Box/RP_Box_100.xml',
33  'Geometry/VeryForwardData/data/RP_Box/RP_Box_101.xml',
34  'Geometry/VeryForwardData/data/RP_Box/RP_Box_102.xml',
35  'Geometry/VeryForwardData/data/RP_Box/2018/RP_Box_103.xml',
36  'Geometry/VeryForwardData/data/RP_Box/RP_Box_104.xml',
37  'Geometry/VeryForwardData/data/RP_Box/RP_Box_105.xml',
38  'Geometry/VeryForwardData/data/RP_Box/RP_Box_120.xml',
39  'Geometry/VeryForwardData/data/RP_Box/RP_Box_121.xml',
40  'Geometry/VeryForwardData/data/RP_Box/RP_Box_122.xml',
41  'Geometry/VeryForwardData/data/RP_Box/RP_Box_123.xml',
42  'Geometry/VeryForwardData/data/RP_Box/RP_Box_124.xml',
43  'Geometry/VeryForwardData/data/RP_Box/RP_Box_125.xml',
44  'Geometry/VeryForwardData/data/RP_Hybrid.xml',
45  'Geometry/VeryForwardData/data/RP_Materials.xml',
46  'Geometry/VeryForwardData/data/RP_Transformations.xml',
47  'Geometry/VeryForwardData/data/RP_Detectors_Assembly.xml',
48  'Geometry/VeryForwardData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_000.xml',
49  'Geometry/VeryForwardData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_001.xml',
50  'Geometry/VeryForwardData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_002.xml',
51  'Geometry/VeryForwardData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_004.xml',
52  'Geometry/VeryForwardData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_005.xml',
53  'Geometry/VeryForwardData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_022.xml',
54  'Geometry/VeryForwardData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_024.xml',
55  'Geometry/VeryForwardData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_025.xml',
56  'Geometry/VeryForwardData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_100.xml',
57  'Geometry/VeryForwardData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_101.xml',
58  'Geometry/VeryForwardData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_102.xml',
59  'Geometry/VeryForwardData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_104.xml',
60  'Geometry/VeryForwardData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_105.xml',
61  'Geometry/VeryForwardData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_122.xml',
62  'Geometry/VeryForwardData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_124.xml',
63  'Geometry/VeryForwardData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_125.xml',
64  'Geometry/VeryForwardData/data/RP_Device.xml',
65  'Geometry/VeryForwardData/data/RP_Vertical_Device.xml',
66  'Geometry/VeryForwardData/data/RP_Horizontal_Device.xml',
67  'Geometry/VeryForwardData/data/RP_220_Right_Station.xml',
68  'Geometry/VeryForwardData/data/RP_220_Left_Station.xml',
69  'Geometry/VeryForwardData/data/CTPPS_Pixel_2018/RP_147_Right_Station.xml',
70  'Geometry/VeryForwardData/data/CTPPS_Pixel_2018/RP_147_Left_Station.xml',
71  'Geometry/VeryForwardData/data/RP_Stations_Assembly.xml',
72  'Geometry/VeryForwardData/data/RP_Sensitive_Dets.xml',
73  'Geometry/VeryForwardData/data/RP_Cuts_Per_Region.xml',
74  'Geometry/VeryForwardData/data/RP_Param_Beam_Region.xml'
75  )
76 
77 # diamond files
78 ctppsDiamondGeomXMLFiles = cms.vstring(
79  'Geometry/VeryForwardData/data/CTPPS_Diamond_Materials.xml',
80  'Geometry/VeryForwardData/data/CTPPS_Diamond_Transformations.xml',
81  'Geometry/VeryForwardData/data/CTPPS_Diamond_X_Distance.xml',
82  'Geometry/VeryForwardData/data/CTPPS_Diamond_Parameters.xml',
83  'Geometry/VeryForwardData/data/CTPPS_Timing_Station_Parameters.xml',
84  'Geometry/VeryForwardData/data/CTPPS_Timing_Horizontal_Pot.xml',
85  'Geometry/VeryForwardData/data/CTPPS_Timing_Positive_Station.xml',
86  'Geometry/VeryForwardData/data/CTPPS_Timing_Negative_Station.xml',
87  'Geometry/VeryForwardData/data/CTPPS_Timing_Stations_Assembly.xml',
88  'Geometry/VeryForwardData/data/CTPPS_Diamond_Segments/CTPPS_Diamond_Pattern1_Segment1.xml',
89  'Geometry/VeryForwardData/data/CTPPS_Diamond_Segments/CTPPS_Diamond_Pattern2_Segment1.xml',
90  'Geometry/VeryForwardData/data/CTPPS_Diamond_Segments/CTPPS_Diamond_Pattern2_Segment2.xml',
91  'Geometry/VeryForwardData/data/CTPPS_Diamond_Segments/CTPPS_Diamond_Pattern3_Segment1.xml',
92  'Geometry/VeryForwardData/data/CTPPS_Diamond_Segments/CTPPS_Diamond_Pattern3_Segment2.xml',
93  'Geometry/VeryForwardData/data/CTPPS_Diamond_Segments/CTPPS_Diamond_Pattern3_Segment3.xml',
94  'Geometry/VeryForwardData/data/CTPPS_Diamond_Segments/CTPPS_Diamond_Pattern3_Segment4.xml',
95  'Geometry/VeryForwardData/data/CTPPS_Diamond_Segments/CTPPS_Diamond_Pattern4_Segment1.xml',
96  'Geometry/VeryForwardData/data/CTPPS_Diamond_Segments/CTPPS_Diamond_Pattern4_Segment2.xml',
97  'Geometry/VeryForwardData/data/CTPPS_Diamond_Segments/CTPPS_Diamond_Pattern4_Segment3.xml',
98  'Geometry/VeryForwardData/data/CTPPS_Diamond_Segments/CTPPS_Diamond_Pattern4_Segment4.xml',
99  'Geometry/VeryForwardData/data/CTPPS_Diamond_Segments/CTPPS_Diamond_Pattern4_Segment5.xml',
100  'Geometry/VeryForwardData/data/CTPPS_Diamond_2018/CTPPS_Diamond_Planes/CTPPS_Diamond_Plane1.xml',
101  'Geometry/VeryForwardData/data/CTPPS_Diamond_2018/CTPPS_Diamond_Planes/CTPPS_Diamond_Plane2.xml',
102  'Geometry/VeryForwardData/data/CTPPS_Diamond_2018/CTPPS_Diamond_Planes/CTPPS_Diamond_Plane3.xml',
103  'Geometry/VeryForwardData/data/CTPPS_Diamond_2018/CTPPS_Diamond_Planes/CTPPS_Diamond_Plane4.xml',
104  'Geometry/VeryForwardData/data/CTPPS_Diamond_2018/CTPPS_Diamond_Detector_Assembly.xml'
105  )
106 
107 # UFSD files
108 ctppsUFSDGeomXMLFiles = cms.vstring(
109  # UFSDetectors
110  'Geometry/VeryForwardData/data/CTPPS_UFSD_Segments/CTPPS_UFSD_Pattern1.xml',
111  'Geometry/VeryForwardData/data/CTPPS_UFSD_Segments/CTPPS_UFSD_Pattern2_SegmentA.xml',
112  'Geometry/VeryForwardData/data/CTPPS_UFSD_Segments/CTPPS_UFSD_Pattern2_SegmentB.xml',
113  'Geometry/VeryForwardData/data/CTPPS_UFSD_Planes/CTPPS_UFSD_Plane4.xml',
114  'Geometry/VeryForwardData/data/CTPPS_UFSD_Parameters.xml',
115  )
116 
117 # Totem Timing files
118 totemTimingGeomXMLFiles = cms.vstring(
119  # UFSDetectors
120  'Geometry/VeryForwardData/data/TotemTiming/TotemTiming_Dist_Beam_Cent.xml',
121  'Geometry/VeryForwardData/data/TotemTiming/TotemTiming_DetectorAssembly.xml',
122  'Geometry/VeryForwardData/data/TotemTiming/TotemTiming_Parameters.xml',
123  'Geometry/VeryForwardData/data/TotemTiming/TotemTiming_Plane.xml',
124  'Geometry/VeryForwardData/data/TotemTiming/TotemTiming_Station.xml',
125  )
126 
127 # pixel files
128 ctppsPixelGeomXMLFiles = cms.vstring(
129  'Geometry/VeryForwardData/data/ppstrackerMaterials.xml',
130  'Geometry/VeryForwardData/data/CTPPS_Pixel_Module.xml',
131  'Geometry/VeryForwardData/data/CTPPS_Pixel_Module_2x2.xml',
132  'Geometry/VeryForwardData/data/CTPPS_Pixel_2018/CTPPS_Pixel_Assembly_Box_Real_023.xml',
133  'Geometry/VeryForwardData/data/CTPPS_Pixel_2018/CTPPS_Pixel_Assembly_Box_Real_123.xml',
134  'Geometry/VeryForwardData/data/CTPPS_Pixel_2018/CTPPS_Pixel_Assembly_Box_Real_003.xml',
135  'Geometry/VeryForwardData/data/CTPPS_Pixel_2018/CTPPS_Pixel_Assembly_Box_Real_103.xml',
136  'Geometry/VeryForwardData/data/CTPPS_Pixel_Sens.xml'
137  )
138 
139 XMLIdealGeometryESSource_CTPPS = cms.ESSource("XMLIdealGeometryESSource",
140  geomXMLFiles = totemGeomXMLFiles + ctppsDiamondGeomXMLFiles + ctppsUFSDGeomXMLFiles + totemTimingGeomXMLFiles + ctppsPixelGeomXMLFiles,
141  rootNodeName = cms.string('cms:CMSE')
142  )
143 
144 # position of RPs
145 XMLIdealGeometryESSource_CTPPS.geomXMLFiles.append("Geometry/VeryForwardData/data/2016_ctpps_15sigma_margin0/RP_Dist_Beam_Cent.xml")
146 
147 ctppsGeometryESModule = cms.ESProducer("CTPPSGeometryESModule",
148  verbosity = cms.untracked.uint32(1),
149  isRun2 = cms.bool(True),
150  compactViewTag = cms.string('XMLIdealGeometryESSource_CTPPS')
151 )