Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #37394 from bsunanda/Run2-gex125
Run2-gex125 Attempt to make 2017 scenario compatible with dd4hep
- Loading branch information
Showing
24 changed files
with
12,735 additions
and
483 deletions.
There are no files selected for viewing
4,466 changes: 4,466 additions & 0 deletions
4,466
Geometry/CMSCommonData/data/materials/2017/v2/materials.xml
Large diffs are not rendered by default.
Oops, something went wrong.
318 changes: 318 additions & 0 deletions
318
Geometry/DTGeometryBuilder/data/dtSpecsFilter/2017/v1/dtSpecsFilter.xml
Large diffs are not rendered by default.
Oops, something went wrong.
1,181 changes: 1,181 additions & 0 deletions
1,181
Geometry/EcalCommonData/data/eefixed/2017/v1/eefixed.xml
Large diffs are not rendered by default.
Oops, something went wrong.
292 changes: 292 additions & 0 deletions
292
Geometry/HcalCommonData/data/cmsExtendedGeometry2017.xml
Large diffs are not rendered by default.
Oops, something went wrong.
18 changes: 18 additions & 0 deletions
18
Geometry/HcalCommonData/data/hcalsens/2017/v1/hcalsenspmf.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?xml version="1.0"?> | ||
<DDDefinition> | ||
|
||
<SpecParSection label="hcalsenspmf.xml" eval="true"> | ||
<SpecPar name="hcalSensPar"> | ||
<PartSelector path="//HBS.*"/> | ||
<PartSelector path="//HTS.*"/> | ||
<PartSelector path="//.*HES.*"/> | ||
<PartSelector path="//HVQX"/> | ||
<PartSelector path="//VcalElecCathode"/> | ||
<PartSelector path="//FibreBundle.*"/> | ||
<PartSelector path="//VcalFibreBundleL.*"/> | ||
<PartSelector path="//VcalFibreBundleR.*"/> | ||
<Parameter name="SensitiveDetector" value="HcalSensitiveDetector" eval="false"/> | ||
<Parameter name="ReadOutName" value="HcalHits" eval="false"/> | ||
</SpecPar> | ||
</SpecParSection> | ||
</DDDefinition> |
29 changes: 29 additions & 0 deletions
29
Geometry/HcalCommonData/python/GeometryDD4HepExtended2017Reco_cff.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
from Geometry.HcalCommonData.GeometryDD4HepExtended2017_cff import * | ||
|
||
from Geometry.CommonTopologies.globalTrackingGeometry_cfi import * | ||
from RecoTracker.GeometryESProducer.TrackerRecoGeometryESProducer_cfi import * | ||
from Geometry.TrackerGeometryBuilder.TrackerAdditionalParametersPerDet_cfi import * | ||
from Geometry.TrackerGeometryBuilder.trackerParameters_cff import * | ||
from Geometry.TrackerNumberingBuilder.trackerTopology_cfi import * | ||
from Geometry.TrackerGeometryBuilder.idealForDigiTrackerGeometry_cff import * | ||
|
||
from Geometry.MuonNumbering.muonNumberingInitialization_cfi import * | ||
from RecoMuon.DetLayers.muonDetLayerGeometry_cfi import * | ||
from Geometry.GEMGeometryBuilder.gemGeometry_cff import * | ||
from Geometry.CSCGeometryBuilder.idealForDigiCscGeometry_cff import * | ||
from Geometry.DTGeometryBuilder.idealForDigiDtGeometry_cff import * | ||
|
||
from Geometry.CaloEventSetup.CaloTopology_cfi import * | ||
from Geometry.CaloEventSetup.CaloGeometry_cff import * | ||
from Geometry.CaloEventSetup.EcalTrigTowerConstituents_cfi import * | ||
from Geometry.EcalAlgo.EcalGeometry_cfi import * | ||
from Geometry.EcalMapping.EcalMapping_cfi import * | ||
from Geometry.EcalMapping.EcalMappingRecord_cfi import * | ||
from Geometry.HcalEventSetup.HcalGeometry_cfi import * | ||
from Geometry.HcalEventSetup.CaloTowerGeometry_cfi import * | ||
from Geometry.HcalEventSetup.CaloTowerTopology_cfi import * | ||
from Geometry.HcalCommonData.hcalDDDRecConstants_cfi import * | ||
from Geometry.HcalEventSetup.hcalTopologyIdeal_cfi import * | ||
from Geometry.ForwardGeometry.ForwardGeometry_cfi import * |
10 changes: 10 additions & 0 deletions
10
Geometry/HcalCommonData/python/GeometryDD4HepExtended2017_cff.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
from Configuration.Geometry.GeometryDD4hep_cff import * | ||
DDDetectorESProducer.confGeomXMLFiles = cms.FileInPath("Geometry/HcalCommonData/data/cmsExtendedGeometry2017.xml") | ||
|
||
from Geometry.TrackerNumberingBuilder.trackerNumberingGeometry_cff import * | ||
from Geometry.EcalCommonData.ecalSimulationParameters_cff import * | ||
from Geometry.HcalCommonData.hcalDDDSimConstants_cff import * | ||
from Geometry.MuonNumbering.muonGeometryConstants_cff import * | ||
from Geometry.MuonNumbering.muonOffsetESProducer_cff import * |
290 changes: 290 additions & 0 deletions
290
Geometry/HcalCommonData/python/cmsExtendedGeometry2017XML_cfi.py
Large diffs are not rendered by default.
Oops, something went wrong.
159 changes: 159 additions & 0 deletions
159
Geometry/HcalCommonData/test/python/TTbar_13TeV_TuneCUETP8M1_cfi_GEN_SIM_10024.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,159 @@ | ||
# Auto generated configuration file | ||
# using: | ||
# Revision: 1.19 | ||
# Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v | ||
# with command line options: TTbar_13TeV_TuneCUETP8M1_cfi -s GEN,SIM -n 10 --conditions auto:phase1_2017_realistic --beamspot Realistic25ns13TeVEarly2017Collision --datatier GEN-SIM --eventcontent FEVTDEBUG --geometry DB:Extended --era Run2_2017 --relval 9000,50 --fileout file:step1.root | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
from Configuration.Eras.Era_Run2_2017_cff import Run2_2017 | ||
from Configuration.ProcessModifiers.dd4hep_cff import dd4hep | ||
process = cms.Process('SIM',Run2_2017,dd4hep) | ||
|
||
# import of standard configurations | ||
process.load('Configuration.StandardSequences.Services_cff') | ||
process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi') | ||
process.load('FWCore.MessageService.MessageLogger_cfi') | ||
process.load('Configuration.EventContent.EventContent_cff') | ||
process.load('SimGeneral.MixingModule.mixNoPU_cfi') | ||
process.load('Geometry.HcalCommonData.GeometryDD4HepExtended2017_cff') | ||
process.load('Geometry.HcalCommonData.GeometryDD4HepExtended2017Reco_cff') | ||
process.load('Configuration.StandardSequences.MagneticField_cff') | ||
process.load('Configuration.StandardSequences.Generator_cff') | ||
process.load('IOMC.EventVertexGenerators.VtxSmearedRealistic25ns13TeVEarly2017Collision_cfi') | ||
process.load('GeneratorInterface.Core.genFilterSummary_cff') | ||
process.load('Configuration.StandardSequences.SimIdeal_cff') | ||
process.load('Configuration.StandardSequences.EndOfProcess_cff') | ||
process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff') | ||
|
||
process.maxEvents = cms.untracked.PSet( | ||
input = cms.untracked.int32(10), | ||
output = cms.optional.untracked.allowed(cms.int32,cms.PSet) | ||
) | ||
|
||
# Input source | ||
process.source = cms.Source("EmptySource") | ||
|
||
process.options = cms.untracked.PSet( | ||
FailPath = cms.untracked.vstring(), | ||
IgnoreCompletely = cms.untracked.vstring(), | ||
Rethrow = cms.untracked.vstring(), | ||
SkipEvent = cms.untracked.vstring(), | ||
accelerators = cms.untracked.vstring('*'), | ||
allowUnscheduled = cms.obsolete.untracked.bool, | ||
canDeleteEarly = cms.untracked.vstring(), | ||
deleteNonConsumedUnscheduledModules = cms.untracked.bool(True), | ||
dumpOptions = cms.untracked.bool(False), | ||
emptyRunLumiMode = cms.obsolete.untracked.string, | ||
eventSetup = cms.untracked.PSet( | ||
forceNumberOfConcurrentIOVs = cms.untracked.PSet( | ||
allowAnyLabel_=cms.required.untracked.uint32 | ||
), | ||
numberOfConcurrentIOVs = cms.untracked.uint32(0) | ||
), | ||
fileMode = cms.untracked.string('FULLMERGE'), | ||
forceEventSetupCacheClearOnNewRun = cms.untracked.bool(False), | ||
makeTriggerResults = cms.obsolete.untracked.bool, | ||
numberOfConcurrentLuminosityBlocks = cms.untracked.uint32(0), | ||
numberOfConcurrentRuns = cms.untracked.uint32(1), | ||
numberOfStreams = cms.untracked.uint32(0), | ||
numberOfThreads = cms.untracked.uint32(1), | ||
printDependencies = cms.untracked.bool(False), | ||
sizeOfStackForThreadsInKB = cms.optional.untracked.uint32, | ||
throwIfIllegalParameter = cms.untracked.bool(True), | ||
wantSummary = cms.untracked.bool(False) | ||
) | ||
|
||
# Production Info | ||
process.configurationMetadata = cms.untracked.PSet( | ||
annotation = cms.untracked.string('TTbar_13TeV_TuneCUETP8M1_cfi nevts:10'), | ||
name = cms.untracked.string('Applications'), | ||
version = cms.untracked.string('$Revision: 1.19 $') | ||
) | ||
|
||
# Output definition | ||
|
||
process.FEVTDEBUGoutput = cms.OutputModule("PoolOutputModule", | ||
SelectEvents = cms.untracked.PSet( | ||
SelectEvents = cms.vstring('generation_step') | ||
), | ||
dataset = cms.untracked.PSet( | ||
dataTier = cms.untracked.string('GEN-SIM'), | ||
filterName = cms.untracked.string('') | ||
), | ||
fileName = cms.untracked.string('file:step1.root'), | ||
outputCommands = process.FEVTDEBUGEventContent.outputCommands, | ||
splitLevel = cms.untracked.int32(0) | ||
) | ||
|
||
# Additional output definition | ||
|
||
# Other statements | ||
if hasattr(process, "XMLFromDBSource"): process.XMLFromDBSource.label="Extended" | ||
if hasattr(process, "DDDetectorESProducerFromDB"): process.DDDetectorESProducerFromDB.label="Extended" | ||
process.genstepfilter.triggerConditions=cms.vstring("generation_step") | ||
from Configuration.AlCa.GlobalTag import GlobalTag | ||
process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase1_2017_realistic', '') | ||
|
||
process.generator = cms.EDFilter("Pythia8ConcurrentGeneratorFilter", | ||
PythiaParameters = cms.PSet( | ||
parameterSets = cms.vstring( | ||
'pythia8CommonSettings', | ||
'pythia8CUEP8M1Settings', | ||
'processParameters' | ||
), | ||
processParameters = cms.vstring( | ||
'Top:gg2ttbar = on ', | ||
'Top:qqbar2ttbar = on ', | ||
'6:m0 = 175 ' | ||
), | ||
pythia8CUEP8M1Settings = cms.vstring( | ||
'Tune:pp 14', | ||
'Tune:ee 7', | ||
'MultipartonInteractions:pT0Ref=2.4024', | ||
'MultipartonInteractions:ecmPow=0.25208', | ||
'MultipartonInteractions:expPow=1.6' | ||
), | ||
pythia8CommonSettings = cms.vstring( | ||
'Tune:preferLHAPDF = 2', | ||
'Main:timesAllowErrors = 10000', | ||
'Check:epTolErr = 0.01', | ||
'Beams:setProductionScalesFromLHEF = off', | ||
'SLHA:minMassSM = 1000.', | ||
'ParticleDecays:limitTau0 = on', | ||
'ParticleDecays:tau0Max = 10', | ||
'ParticleDecays:allowPhotonRadiation = on' | ||
) | ||
), | ||
comEnergy = cms.double(13000.0), | ||
filterEfficiency = cms.untracked.double(1.0), | ||
maxEventsToPrint = cms.untracked.int32(0), | ||
pythiaHepMCVerbosity = cms.untracked.bool(False), | ||
pythiaPylistVerbosity = cms.untracked.int32(0) | ||
) | ||
|
||
|
||
process.ProductionFilterSequence = cms.Sequence(process.generator) | ||
|
||
# Path and EndPath definitions | ||
process.generation_step = cms.Path(process.pgen) | ||
process.simulation_step = cms.Path(process.psim) | ||
process.genfiltersummary_step = cms.EndPath(process.genFilterSummary) | ||
process.endjob_step = cms.EndPath(process.endOfProcess) | ||
process.FEVTDEBUGoutput_step = cms.EndPath(process.FEVTDEBUGoutput) | ||
|
||
# Schedule definition | ||
process.schedule = cms.Schedule(process.generation_step,process.genfiltersummary_step,process.simulation_step,process.endjob_step,process.FEVTDEBUGoutput_step) | ||
from PhysicsTools.PatAlgos.tools.helpers import associatePatAlgosToolsTask | ||
associatePatAlgosToolsTask(process) | ||
# filter all path with the production filter sequence | ||
for path in process.paths: | ||
getattr(process,path).insert(0, process.ProductionFilterSequence) | ||
|
||
|
||
|
||
# Customisation from command line | ||
|
||
# Add early deletion of temporary data products to reduce peak memory need | ||
from Configuration.StandardSequences.earlyDeleteSettings_cff import customiseEarlyDelete | ||
process = customiseEarlyDelete(process) | ||
# End adding early deletion |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
process = cms.Process("DUMP") | ||
|
||
process.load('FWCore.MessageService.MessageLogger_cfi') | ||
process.source = cms.Source("EmptySource") | ||
process.maxEvents = cms.untracked.PSet( | ||
input = cms.untracked.int32(1) | ||
) | ||
|
||
process.MessageLogger.cerr.FwkReport.reportEvery = 5 | ||
#if 'MessageLogger' in process.__dict__: | ||
# process.MessageLogger.PixelGeom=dict() | ||
# process.MessageLogger.TIBGeom=dict() | ||
# process.MessageLogger.TIDGeom=dict() | ||
# process.MessageLogger.TOBGeom=dict() | ||
# process.MessageLogger.TECGeom=dict() | ||
# process.MessageLogger.TGeoMgrFromDdd=dict() | ||
|
||
process.DDDetectorESProducer = cms.ESSource("DDDetectorESProducer", | ||
confGeomXMLFiles = cms.FileInPath('Geometry/HcalCommonData/data/cmsExtendedGeometry2017.xml'), | ||
appendToDataLabel = cms.string('cms2017') | ||
) | ||
|
||
process.testDump = cms.EDAnalyzer("DDTestDumpFile", | ||
outputFileName = cms.untracked.string('cms2017DD4hep.root'), | ||
DDDetector = cms.ESInputTag('','cms2017') | ||
) | ||
|
||
process.p = cms.Path(process.testDump) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
process = cms.Process("DUMP") | ||
|
||
process.load("Geometry.HcalCommonData.cmsExtendedGeometry2017XML_cfi") | ||
process.load('FWCore.MessageService.MessageLogger_cfi') | ||
|
||
if 'MessageLogger' in process.__dict__: | ||
process.MessageLogger.PixelGeom=dict() | ||
process.MessageLogger.TIBGeom=dict() | ||
process.MessageLogger.TIDGeom=dict() | ||
process.MessageLogger.TOBGeom=dict() | ||
# process.MessageLogger.TECGeom=dict() | ||
# process.MessageLogger.TGeoMgrFromDdd=dict() | ||
|
||
process.source = cms.Source("EmptySource") | ||
|
||
process.maxEvents = cms.untracked.PSet( | ||
input = cms.untracked.int32(1) | ||
) | ||
|
||
process.add_(cms.ESProducer("TGeoMgrFromDdd", | ||
verbose = cms.untracked.bool(False), | ||
level = cms.untracked.int32(14) | ||
)) | ||
|
||
|
||
process.dump = cms.EDAnalyzer("DumpSimGeometry", | ||
outputFileName = cms.untracked.string('cms2017.root') | ||
) | ||
|
||
process.p = cms.Path(process.dump) |
Oops, something went wrong.