Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-03-17 11:05:30

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 # common and strip files
0004 totemGeomXMLFiles = cms.vstring(
0005     'Geometry/CMSCommonData/data/materials.xml',
0006     'Geometry/CMSCommonData/data/rotations.xml',
0007     'Geometry/CMSCommonData/data/extend/cmsextent.xml',
0008     'Geometry/CMSCommonData/data/cms/2017/v1/cms.xml',
0009     'Geometry/CMSCommonData/data/beampipe/2017/v1/beampipe.xml',
0010     'Geometry/CMSCommonData/data/cmsBeam.xml',
0011     'Geometry/CMSCommonData/data/cmsMother.xml',
0012     'Geometry/CMSCommonData/data/mgnt.xml',
0013     'Geometry/ForwardCommonData/data/forward.xml',
0014     'Geometry/ForwardCommonData/data/totemRotations.xml',
0015     'Geometry/ForwardCommonData/data/totemMaterials.xml',
0016     'Geometry/ForwardCommonData/data/totemt1.xml',
0017     'Geometry/ForwardCommonData/data/totemt2.xml',
0018     'Geometry/ForwardCommonData/data/ionpump.xml',
0019     'Geometry/VeryForwardData/data/RP_Box.xml',
0020     'Geometry/VeryForwardData/data/RP_Box/RP_Box_000.xml',
0021     'Geometry/VeryForwardData/data/RP_Box/RP_Box_001.xml',
0022     'Geometry/VeryForwardData/data/RP_Box/RP_Box_002.xml',
0023     'Geometry/VeryForwardData/data/RP_Box/RP_Box_003.xml',
0024     'Geometry/VeryForwardData/data/RP_Box/RP_Box_004.xml',
0025     'Geometry/VeryForwardData/data/RP_Box/RP_Box_005.xml',
0026     'Geometry/VeryForwardData/data/RP_Box/RP_Box_020.xml',
0027     'Geometry/VeryForwardData/data/RP_Box/RP_Box_021.xml',
0028     'Geometry/VeryForwardData/data/RP_Box/RP_Box_022.xml',
0029     'Geometry/VeryForwardData/data/RP_Box/RP_Box_023.xml',
0030     'Geometry/VeryForwardData/data/RP_Box/RP_Box_024.xml',
0031     'Geometry/VeryForwardData/data/RP_Box/RP_Box_025.xml',
0032     'Geometry/VeryForwardData/data/RP_Box/RP_Box_100.xml',
0033     'Geometry/VeryForwardData/data/RP_Box/RP_Box_101.xml',
0034     'Geometry/VeryForwardData/data/RP_Box/RP_Box_102.xml',
0035     'Geometry/VeryForwardData/data/RP_Box/2018/RP_Box_103.xml',
0036     'Geometry/VeryForwardData/data/RP_Box/RP_Box_104.xml',
0037     'Geometry/VeryForwardData/data/RP_Box/RP_Box_105.xml',
0038     'Geometry/VeryForwardData/data/RP_Box/RP_Box_120.xml',
0039     'Geometry/VeryForwardData/data/RP_Box/RP_Box_121.xml',
0040     'Geometry/VeryForwardData/data/RP_Box/RP_Box_122.xml',
0041     'Geometry/VeryForwardData/data/RP_Box/RP_Box_123.xml',
0042     'Geometry/VeryForwardData/data/RP_Box/RP_Box_124.xml',
0043     'Geometry/VeryForwardData/data/RP_Box/RP_Box_125.xml',
0044     'Geometry/VeryForwardData/data/RP_Hybrid.xml',
0045     'Geometry/VeryForwardData/data/RP_Materials.xml',
0046     'Geometry/VeryForwardData/data/RP_Transformations.xml',
0047     'Geometry/VeryForwardData/data/RP_Detectors_Assembly.xml',
0048     'Geometry/VeryForwardData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_000.xml',
0049     'Geometry/VeryForwardData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_001.xml',
0050     'Geometry/VeryForwardData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_002.xml',
0051     'Geometry/VeryForwardData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_004.xml',
0052     'Geometry/VeryForwardData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_005.xml',
0053     'Geometry/VeryForwardData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_022.xml',
0054     'Geometry/VeryForwardData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_024.xml',
0055     'Geometry/VeryForwardData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_025.xml',
0056     'Geometry/VeryForwardData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_100.xml',
0057     'Geometry/VeryForwardData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_101.xml',
0058     'Geometry/VeryForwardData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_102.xml',
0059     'Geometry/VeryForwardData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_104.xml',
0060     'Geometry/VeryForwardData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_105.xml',
0061     'Geometry/VeryForwardData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_122.xml',
0062     'Geometry/VeryForwardData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_124.xml',
0063     'Geometry/VeryForwardData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_125.xml',
0064     'Geometry/VeryForwardData/data/RP_Device.xml',
0065     'Geometry/VeryForwardData/data/RP_Vertical_Device.xml',
0066     'Geometry/VeryForwardData/data/RP_Horizontal_Device.xml',
0067     'Geometry/VeryForwardData/data/RP_220_Right_Station.xml',
0068     'Geometry/VeryForwardData/data/RP_220_Left_Station.xml',
0069     'Geometry/VeryForwardData/data/CTPPS_Pixel_2018/RP_147_Right_Station.xml',
0070     'Geometry/VeryForwardData/data/CTPPS_Pixel_2018/RP_147_Left_Station.xml',
0071     'Geometry/VeryForwardData/data/RP_Stations_Assembly.xml',
0072     'Geometry/VeryForwardData/data/RP_Sensitive_Dets.xml',
0073     'Geometry/VeryForwardData/data/RP_Cuts_Per_Region.xml',
0074     'Geometry/VeryForwardData/data/RP_Param_Beam_Region.xml'
0075     )
0076 
0077 # diamond files
0078 ctppsDiamondGeomXMLFiles = cms.vstring(
0079     'Geometry/VeryForwardData/data/CTPPS_Diamond_Materials.xml',
0080     'Geometry/VeryForwardData/data/CTPPS_Diamond_Transformations.xml',
0081     'Geometry/VeryForwardData/data/CTPPS_Diamond_X_Distance.xml',
0082     'Geometry/VeryForwardData/data/CTPPS_Diamond_Parameters.xml',
0083     'Geometry/VeryForwardData/data/CTPPS_Timing_Station_Parameters.xml',
0084     'Geometry/VeryForwardData/data/CTPPS_Timing_Horizontal_Pot.xml',
0085     'Geometry/VeryForwardData/data/CTPPS_Timing_Positive_Station.xml',
0086     'Geometry/VeryForwardData/data/CTPPS_Timing_Negative_Station.xml',
0087     'Geometry/VeryForwardData/data/CTPPS_Timing_Stations_Assembly.xml',
0088     'Geometry/VeryForwardData/data/CTPPS_Diamond_Segments/CTPPS_Diamond_Pattern1_Segment1.xml',
0089     'Geometry/VeryForwardData/data/CTPPS_Diamond_Segments/CTPPS_Diamond_Pattern2_Segment1.xml',
0090     'Geometry/VeryForwardData/data/CTPPS_Diamond_Segments/CTPPS_Diamond_Pattern2_Segment2.xml',
0091     'Geometry/VeryForwardData/data/CTPPS_Diamond_Segments/CTPPS_Diamond_Pattern3_Segment1.xml',
0092     'Geometry/VeryForwardData/data/CTPPS_Diamond_Segments/CTPPS_Diamond_Pattern3_Segment2.xml',
0093     'Geometry/VeryForwardData/data/CTPPS_Diamond_Segments/CTPPS_Diamond_Pattern3_Segment3.xml',
0094     'Geometry/VeryForwardData/data/CTPPS_Diamond_Segments/CTPPS_Diamond_Pattern3_Segment4.xml',
0095     'Geometry/VeryForwardData/data/CTPPS_Diamond_Segments/CTPPS_Diamond_Pattern4_Segment1.xml',
0096     'Geometry/VeryForwardData/data/CTPPS_Diamond_Segments/CTPPS_Diamond_Pattern4_Segment2.xml',
0097     'Geometry/VeryForwardData/data/CTPPS_Diamond_Segments/CTPPS_Diamond_Pattern4_Segment3.xml',
0098     'Geometry/VeryForwardData/data/CTPPS_Diamond_Segments/CTPPS_Diamond_Pattern4_Segment4.xml',
0099     'Geometry/VeryForwardData/data/CTPPS_Diamond_Segments/CTPPS_Diamond_Pattern4_Segment5.xml',
0100     'Geometry/VeryForwardData/data/CTPPS_Diamond_2018/CTPPS_Diamond_Planes/CTPPS_Diamond_Plane1.xml',
0101     'Geometry/VeryForwardData/data/CTPPS_Diamond_2018/CTPPS_Diamond_Planes/CTPPS_Diamond_Plane2.xml',
0102     'Geometry/VeryForwardData/data/CTPPS_Diamond_2018/CTPPS_Diamond_Planes/CTPPS_Diamond_Plane3.xml',
0103     'Geometry/VeryForwardData/data/CTPPS_Diamond_2018/CTPPS_Diamond_Planes/CTPPS_Diamond_Plane4.xml',
0104     'Geometry/VeryForwardData/data/CTPPS_Diamond_2018/CTPPS_Diamond_Detector_Assembly.xml'
0105     )
0106 
0107 # UFSD files
0108 ctppsUFSDGeomXMLFiles = cms.vstring(
0109     # UFSDetectors
0110     'Geometry/VeryForwardData/data/CTPPS_UFSD_Segments/CTPPS_UFSD_Pattern1.xml',
0111     'Geometry/VeryForwardData/data/CTPPS_UFSD_Segments/CTPPS_UFSD_Pattern2_SegmentA.xml',
0112     'Geometry/VeryForwardData/data/CTPPS_UFSD_Segments/CTPPS_UFSD_Pattern2_SegmentB.xml',
0113     'Geometry/VeryForwardData/data/CTPPS_UFSD_Planes/CTPPS_UFSD_Plane4.xml',
0114     'Geometry/VeryForwardData/data/CTPPS_UFSD_Parameters.xml',
0115     )
0116 
0117 # Totem Timing files
0118 totemTimingGeomXMLFiles = cms.vstring(
0119     # UFSDetectors
0120     'Geometry/VeryForwardData/data/TotemTiming/TotemTiming_Dist_Beam_Cent.xml',
0121     'Geometry/VeryForwardData/data/TotemTiming/TotemTiming_DetectorAssembly.xml',
0122     'Geometry/VeryForwardData/data/TotemTiming/TotemTiming_Parameters.xml',
0123     'Geometry/VeryForwardData/data/TotemTiming/TotemTiming_Plane.xml',
0124     'Geometry/VeryForwardData/data/TotemTiming/TotemTiming_Station.xml',
0125     )
0126 
0127 # pixel files
0128 ctppsPixelGeomXMLFiles = cms.vstring(
0129     'Geometry/VeryForwardData/data/ppstrackerMaterials.xml',
0130     'Geometry/VeryForwardData/data/CTPPS_Pixel_Module.xml',
0131     'Geometry/VeryForwardData/data/CTPPS_Pixel_Module_2x2.xml',
0132     'Geometry/VeryForwardData/data/CTPPS_Pixel_2018/CTPPS_Pixel_Assembly_Box_Real_023.xml',
0133     'Geometry/VeryForwardData/data/CTPPS_Pixel_2018/CTPPS_Pixel_Assembly_Box_Real_123.xml',
0134     'Geometry/VeryForwardData/data/CTPPS_Pixel_2018/CTPPS_Pixel_Assembly_Box_Real_003.xml',
0135     'Geometry/VeryForwardData/data/CTPPS_Pixel_2018/CTPPS_Pixel_Assembly_Box_Real_103.xml',
0136     'Geometry/VeryForwardData/data/CTPPS_Pixel_Sens.xml'
0137     )
0138 
0139 XMLIdealGeometryESSource_CTPPS = cms.ESSource("XMLIdealGeometryESSource",
0140                                               geomXMLFiles = totemGeomXMLFiles + ctppsDiamondGeomXMLFiles + ctppsUFSDGeomXMLFiles + totemTimingGeomXMLFiles + ctppsPixelGeomXMLFiles,
0141                                               rootNodeName = cms.string('cms:CMSE')
0142                                               )
0143 
0144 # position of RPs
0145 XMLIdealGeometryESSource_CTPPS.geomXMLFiles.append("Geometry/VeryForwardData/data/2016_ctpps_15sigma_margin0/RP_Dist_Beam_Cent.xml")
0146 
0147 ctppsGeometryESModule = cms.ESProducer("CTPPSGeometryESModule",
0148     verbosity = cms.untracked.uint32(1),
0149     isRun2 = cms.bool(True),
0150     compactViewTag = cms.string('XMLIdealGeometryESSource_CTPPS')
0151 )