Created
March 7, 2017 21:01
-
-
Save tahuang1991/6d2071167c59e8ccab291d4bd49fb097 to your computer and use it in GitHub Desktop.
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
# Auto generated configuration file | |
# using: | |
# Revision: 1.20 | |
# Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v | |
# with command line options: step2 --filein file:out.root --fileout file:out_digi.root --mc --eventcontent FEVTDEBUG --datatier GEN-SIM-DIGI-RAW --conditions DES23_62_V1::All --customise SimMuon/GEMDigitizer/customizeGEMDigi.customize_digi_addGEM_addME0_muon_only --step DIGI:pdigi_valid,L1,DIGI2RAW --geometry Extended2023HGCalMuon,Extended2023HGCalMuonReco --python_filename HGCal_config_DIGI.py --no_exec -n -1 --magField 38T_PostLS1 | |
import FWCore.ParameterSet.Config as cms | |
process = cms.Process('DIGI2RAW') | |
# 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('Configuration.Geometry.GeometryExtended2023HGCalMuonReco_cff') | |
process.load('Configuration.StandardSequences.MagneticField_38T_PostLS1_cff') | |
process.load('Configuration.StandardSequences.Digi_cff') | |
process.load('Configuration.StandardSequences.SimL1Emulator_cff') | |
process.load('Configuration.StandardSequences.DigiToRaw_cff') | |
process.load('Configuration.StandardSequences.EndOfProcess_cff') | |
process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff') | |
process.maxEvents = cms.untracked.PSet( | |
input = cms.untracked.int32(-1) | |
) | |
# Input source | |
process.source = cms.Source("PoolSource", | |
secondaryFileNames = cms.untracked.vstring(), | |
fileNames = cms.untracked.vstring('file:out_sim.root') | |
) | |
process.options = cms.untracked.PSet( | |
) | |
# Production Info | |
process.configurationMetadata = cms.untracked.PSet( | |
version = cms.untracked.string('$Revision: 1.20 $'), | |
annotation = cms.untracked.string('step2 nevts:-1'), | |
name = cms.untracked.string('Applications') | |
) | |
# Output definition | |
process.FEVTDEBUGoutput = cms.OutputModule("PoolOutputModule", | |
splitLevel = cms.untracked.int32(0), | |
eventAutoFlushCompressedSize = cms.untracked.int32(5242880), | |
outputCommands = process.FEVTDEBUGEventContent.outputCommands, | |
fileName = cms.untracked.string('file:out_L1.root'), | |
dataset = cms.untracked.PSet( | |
filterName = cms.untracked.string(''), | |
dataTier = cms.untracked.string('GEN-SIM-DIGI-RAW') | |
) | |
) | |
# Additional output definition | |
# Other statements | |
process.mix.digitizers = cms.PSet(process.theDigitizersValid) | |
from Configuration.AlCa.GlobalTag import GlobalTag | |
process.GlobalTag = GlobalTag(process.GlobalTag, 'DES23_62_V1::All', '') | |
# Path and EndPath definitions | |
process.digitisation_step = cms.Path(process.pdigi_valid) | |
process.SimL1Emulator = cms.Sequence(process.simDtTriggerPrimitiveDigis+process.simCscTriggerPrimitiveDigis+process.simCsctfTrackDigis+process.simDttfDigis+process.simCsctfDigis+process.simRpcTriggerDigis+process.simGmtDigis) | |
process.L1simulation_step = cms.Path(process.SimL1Emulator) | |
process.endjob_step = cms.EndPath(process.endOfProcess) | |
process.FEVTDEBUGoutput_step = cms.EndPath(process.FEVTDEBUGoutput) | |
# Schedule definition | |
process.schedule = cms.Schedule(process.digitisation_step,process.L1simulation_step,process.endjob_step,process.FEVTDEBUGoutput_step) | |
# customisation of the process. | |
from SLHCUpgradeSimulations.Configuration.postLS1Customs import customisePostLS1 | |
from SLHCUpgradeSimulations.Configuration.gemCustoms import customise2019 as customise_gem2019 | |
from SLHCUpgradeSimulations.Configuration.gemCustoms import customise2023 as customise_gem2023 | |
from SLHCUpgradeSimulations.Configuration.me0Customs import customise as customise_me0 | |
from SLHCUpgradeSimulations.Configuration.rpcCustoms import customise as customise_rpc | |
process=customisePostLS1(process) | |
process=customise_gem2023(process) | |
process=customise_me0(process) | |
process=customise_rpc(process) | |
# Automatic addition of the customisation function from SimMuon.GEMDigitizer.customizeGEMDigi | |
from SimMuon.GEMDigitizer.customizeGEMDigi import customize_digi_addGEM_addME0_muon_only | |
#call to customisation function customize_digi_addGEM_addME0_muon_only imported from SimMuon.GEMDigitizer.customizeGEMDigi | |
process = customize_digi_addGEM_addME0_muon_only(process) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment