34 print "Loading configuration for tag ", options.tag ,
"...\n" 37 process.load(
"Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
39 process.GlobalTag.globaltag = autoCond[
'run1_mc']
40 process.load(
"Configuration.StandardSequences.GeometryDB_cff")
43 process.load(
"Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
45 process.GlobalTag.globaltag = autoCond[
'run2_mc']
46 process.load(
"Configuration.StandardSequences.GeometryDB_cff")
49 process.load(
"Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
51 process.GlobalTag.globaltag = autoCond[
'upgrade2017']
52 process.load(
'Configuration.Geometry.GeometryExtended2017Reco_cff')
55 process.load(
"Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
57 process.GlobalTag.globaltag = autoCond[
'upgrade2019']
59 process.load(
'Geometry.TrackerGeometryBuilder.trackerParameters_cfi')
60 process.load(
'Configuration.Geometry.GeometryExtended2019Reco_cff')
62 process.DTGeometryESModule.applyAlignment = cms.bool(
False)
63 process.CSCGeometryESModule.applyAlignment = cms.bool(
False)
65 elif score ==
"2023D7":
66 process.load(
"Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
68 process.GlobalTag.globaltag = autoCond[
'run2_mc']
69 process.load(
'Configuration.Geometry.GeometryExtended2023D7Reco_cff')
71 elif score ==
"2023D10":
72 process.load(
"Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
74 process.GlobalTag.globaltag = autoCond[
'phase2_realistic']
75 process.load(
'Configuration.Geometry.GeometryExtended2023D10Reco_cff')
77 elif score ==
"2023D4":
78 process.load(
"Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
80 process.GlobalTag.globaltag = autoCond[
'phase2_realistic']
81 process.load(
'Configuration.Geometry.GeometryExtended2023D4Reco_cff')
83 elif score ==
"2023D8":
84 process.load(
"Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
86 process.GlobalTag.globaltag = autoCond[
'phase2_realistic']
87 process.load(
'Configuration.Geometry.GeometryExtended2023D8Reco_cff')
89 elif score ==
"MaPSA":
90 process.load(
'Geometry.TrackerGeometryBuilder.idealForDigiTrackerGeometry_cff')
91 process.load(
'Geometry.TrackerCommonData.mapsaGeometryXML_cfi')
92 process.load(
'Geometry.TrackerNumberingBuilder.trackerNumberingGeometry_cfi')
93 process.load(
'Geometry.TrackerNumberingBuilder.trackerTopology_cfi')
94 process.load(
'Geometry.TrackerGeometryBuilder.trackerParameters_cfi')
95 process.load(
'Geometry.TrackerGeometryBuilder.trackerGeometry_cfi')
96 process.trackerGeometry.applyAlignment = cms.bool(
False)
97 process.load(
'RecoTracker.GeometryESProducer.TrackerRecoGeometryESProducer_cfi')
99 process.load(
'Geometry.CommonDetUnit.bareGlobalTrackingGeometry_cfi')
101 elif score ==
"HGCTB160":
102 process.load(
"Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
104 process.GlobalTag.globaltag = autoCond[
'mc']
105 process.load(
'Geometry.HGCalCommonData.hgcalV6ParametersInitialization_cfi')
106 process.load(
'Geometry.HGCalCommonData.hgcalV6NumberingInitialization_cfi')
107 process.load(
'Geometry.CaloEventSetup.HGCalV6Topology_cfi')
108 process.load(
'Geometry.HGCalGeometry.HGCalV6GeometryESProducer_cfi')
109 process.load(
'Geometry.CaloEventSetup.CaloTopology_cfi')
110 process.load(
'Geometry.CaloEventSetup.CaloGeometryBuilder_cfi')
111 process.CaloGeometryBuilder = cms.ESProducer(
112 "CaloGeometryBuilder",
113 SelectedCalos = cms.vstring(
"HGCalEESensitive")
115 process.load(
"SimG4CMS.HGCalTestBeam.HGCalTB160XML_cfi")