CMS 3D CMS Logo

geometryRPFromDD_2017_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/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_003.xml',
52  'Geometry/VeryForwardData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_004.xml',
53  'Geometry/VeryForwardData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_005.xml',
54  'Geometry/VeryForwardData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_020.xml',
55  'Geometry/VeryForwardData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_021.xml',
56  'Geometry/VeryForwardData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_022.xml',
57  'Geometry/VeryForwardData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_024.xml',
58  'Geometry/VeryForwardData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_025.xml',
59  'Geometry/VeryForwardData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_100.xml',
60  'Geometry/VeryForwardData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_101.xml',
61  'Geometry/VeryForwardData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_102.xml',
62  'Geometry/VeryForwardData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_103.xml',
63  'Geometry/VeryForwardData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_104.xml',
64  'Geometry/VeryForwardData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_105.xml',
65  'Geometry/VeryForwardData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_120.xml',
66  'Geometry/VeryForwardData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_121.xml',
67  'Geometry/VeryForwardData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_122.xml',
68  'Geometry/VeryForwardData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_124.xml',
69  'Geometry/VeryForwardData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_125.xml',
70  'Geometry/VeryForwardData/data/RP_Device.xml',
71  'Geometry/VeryForwardData/data/RP_Vertical_Device.xml',
72  'Geometry/VeryForwardData/data/RP_Horizontal_Device.xml',
73  'Geometry/VeryForwardData/data/RP_220_Right_Station.xml',
74  'Geometry/VeryForwardData/data/RP_220_Left_Station.xml',
75  'Geometry/VeryForwardData/data/RP_147_Right_Station.xml',
76  'Geometry/VeryForwardData/data/RP_147_Left_Station.xml',
77  'Geometry/VeryForwardData/data/RP_Stations_Assembly.xml',
78  'Geometry/VeryForwardData/data/RP_Sensitive_Dets.xml',
79  'Geometry/VeryForwardData/data/RP_Cuts_Per_Region.xml',
80  'Geometry/VeryForwardData/data/RP_Param_Beam_Region.xml'
81 )
82 
83 # diamond files
84 ctppsDiamondGeomXMLFiles = cms.vstring(
85  # diamond detectors
86  'Geometry/VeryForwardData/data/CTPPS_Diamond_Materials.xml',
87  'Geometry/VeryForwardData/data/CTPPS_Diamond_Transformations.xml',
88  'Geometry/VeryForwardData/data/CTPPS_Diamond_X_Distance.xml',
89  'Geometry/VeryForwardData/data/CTPPS_Diamond_Parameters.xml',
90  'Geometry/VeryForwardData/data/CTPPS_Timing_Station_Parameters.xml',
91  'Geometry/VeryForwardData/data/CTPPS_Timing_Horizontal_Pot.xml',
92  'Geometry/VeryForwardData/data/CTPPS_Timing_Positive_Station.xml',
93  'Geometry/VeryForwardData/data/CTPPS_Timing_Negative_Station.xml',
94  'Geometry/VeryForwardData/data/CTPPS_Timing_Stations_Assembly.xml',
95  'Geometry/VeryForwardData/data/CTPPS_Diamond_Segments/CTPPS_Diamond_Pattern1_Segment1.xml',
96  'Geometry/VeryForwardData/data/CTPPS_Diamond_Segments/CTPPS_Diamond_Pattern2_Segment1.xml',
97  'Geometry/VeryForwardData/data/CTPPS_Diamond_Segments/CTPPS_Diamond_Pattern2_Segment2.xml',
98  'Geometry/VeryForwardData/data/CTPPS_Diamond_Segments/CTPPS_Diamond_Pattern3_Segment1.xml',
99  'Geometry/VeryForwardData/data/CTPPS_Diamond_Segments/CTPPS_Diamond_Pattern3_Segment2.xml',
100  'Geometry/VeryForwardData/data/CTPPS_Diamond_Segments/CTPPS_Diamond_Pattern3_Segment3.xml',
101  'Geometry/VeryForwardData/data/CTPPS_Diamond_Segments/CTPPS_Diamond_Pattern3_Segment4.xml',
102  'Geometry/VeryForwardData/data/CTPPS_Diamond_Segments/CTPPS_Diamond_Pattern4_Segment1.xml',
103  'Geometry/VeryForwardData/data/CTPPS_Diamond_Segments/CTPPS_Diamond_Pattern4_Segment2.xml',
104  'Geometry/VeryForwardData/data/CTPPS_Diamond_Segments/CTPPS_Diamond_Pattern4_Segment3.xml',
105  'Geometry/VeryForwardData/data/CTPPS_Diamond_Segments/CTPPS_Diamond_Pattern4_Segment4.xml',
106  'Geometry/VeryForwardData/data/CTPPS_Diamond_Segments/CTPPS_Diamond_Pattern4_Segment5.xml',
107  'Geometry/VeryForwardData/data/CTPPS_Diamond_2017/CTPPS_Diamond_Planes/CTPPS_Diamond_Plane1.xml',
108  'Geometry/VeryForwardData/data/CTPPS_Diamond_2017/CTPPS_Diamond_Planes/CTPPS_Diamond_Plane2.xml',
109  'Geometry/VeryForwardData/data/CTPPS_Diamond_2017/CTPPS_Diamond_Planes/CTPPS_Diamond_Plane3.xml',
110  'Geometry/VeryForwardData/data/CTPPS_Diamond_2017/CTPPS_Diamond_Detector_Assembly.xml'
111 )
112 
113 # UFSD files
114 ctppsUFSDGeomXMLFiles = cms.vstring(
115  # UFSDetectors
116  'Geometry/VeryForwardData/data/CTPPS_UFSD_Segments/CTPPS_UFSD_Pattern1.xml',
117  'Geometry/VeryForwardData/data/CTPPS_UFSD_Segments/CTPPS_UFSD_Pattern2_SegmentA.xml',
118  'Geometry/VeryForwardData/data/CTPPS_UFSD_Segments/CTPPS_UFSD_Pattern2_SegmentB.xml',
119  'Geometry/VeryForwardData/data/CTPPS_UFSD_Planes/CTPPS_UFSD_Plane4.xml',
120  'Geometry/VeryForwardData/data/CTPPS_UFSD_Parameters.xml'
121 )
122 
123 # pixel files
124 ctppsPixelGeomXMLFiles = cms.vstring(
125  'Geometry/VeryForwardData/data/ppstrackerMaterials.xml',
126  'Geometry/VeryForwardData/data/CTPPS_Pixel_Module.xml',
127  'Geometry/VeryForwardData/data/CTPPS_Pixel_Module_2x2.xml',
128  'Geometry/VeryForwardData/data/CTPPS_Pixel_2017/CTPPS_Pixel_Assembly_Box_Real_023.xml',
129  'Geometry/VeryForwardData/data/CTPPS_Pixel_2017/CTPPS_Pixel_Assembly_Box_Real_123.xml',
130  'Geometry/VeryForwardData/data/CTPPS_Pixel_Sens.xml'
131 )
132 
133 XMLIdealGeometryESSource_CTPPS = cms.ESSource("XMLIdealGeometryESSource",
134  geomXMLFiles = totemGeomXMLFiles + ctppsDiamondGeomXMLFiles + ctppsUFSDGeomXMLFiles + ctppsPixelGeomXMLFiles,
135  rootNodeName = cms.string('cms:CMSE')
136 )
137 
138 # position of RPs
139 XMLIdealGeometryESSource_CTPPS.geomXMLFiles.append("Geometry/VeryForwardData/data/2016_ctpps_15sigma_margin0/RP_Dist_Beam_Cent.xml")
140 
141 ctppsGeometryESModule = cms.ESProducer("CTPPSGeometryESModule",
142  verbosity = cms.untracked.uint32(1),
143  isRun2 = cms.bool(True),
144  compactViewTag = cms.string('XMLIdealGeometryESSource_CTPPS')
145 )