Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:30:25

0001 # Auto generated configuration file
0002 # using: 
0003 # Revision: 1.19 
0004 # Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v 
0005 import FWCore.ParameterSet.Config as cms
0006 
0007 from Configuration.StandardSequences.Eras import eras
0008 process = cms.Process('DIGI2RAW',eras.Run2_2017)
0009 
0010 # import of standard configurations
0011 process.load("CondCore.CondDB.CondDB_cfi")
0012 process.load('Configuration.StandardSequences.Services_cff')
0013 process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
0014 process.load('FWCore.MessageService.MessageLogger_cfi')
0015 process.load('Configuration.EventContent.EventContent_cff')
0016 process.load('Configuration.StandardSequences.MagneticField_cff')
0017 process.load('SimGeneral.MixingModule.mixNoPU_cfi')
0018 process.load('Configuration.StandardSequences.Digi_cff')
0019 process.load('Configuration.StandardSequences.SimL1Emulator_cff')
0020 process.load('Configuration.StandardSequences.DigiToRaw_cff')
0021 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0022 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0023 process.load('Configuration.StandardSequences.SimIdeal_cff')
0024 process.load('Configuration.StandardSequences.GeometryDB_cff')
0025 #process.load("Geometry.VeryForwardGeometry.geometryPPS_CMSxz_fromDD_2017_cfi")
0026 process.load("Geometry.VeryForwardGeometry.geometryRPFromDB_cfi")
0027 
0028 
0029 # Input source
0030 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1))
0031 process.source = cms.Source("PoolSource",
0032     skipEvents= cms.untracked.uint32(0),
0033     dropDescendantsOfDroppedBranches = cms.untracked.bool(False),
0034     fileNames = cms.untracked.vstring('file:step1_SIM2017.root'),
0035     inputCommands = cms.untracked.vstring('keep *', 
0036         'drop *_genParticles_*_*', 
0037         'drop *_genParticlesForJets_*_*', 
0038         'drop *_kt4GenJets_*_*', 
0039         'drop *_kt6GenJets_*_*', 
0040         'drop *_iterativeCone5GenJets_*_*', 
0041         'drop *_ak4GenJets_*_*', 
0042         'drop *_ak7GenJets_*_*', 
0043         'drop *_ak8GenJets_*_*', 
0044         'drop *_ak4GenJetsNoNu_*_*', 
0045         'drop *_ak8GenJetsNoNu_*_*', 
0046         'drop *_genCandidatesForMET_*_*', 
0047         'drop *_genParticlesForMETAllVisible_*_*', 
0048         'drop *_genMetCalo_*_*', 
0049         'drop *_genMetCaloAndNonPrompt_*_*', 
0050         'drop *_genMetTrue_*_*', 
0051         'drop *_genMetIC5GenJs_*_*'),
0052     secondaryFileNames = cms.untracked.vstring()
0053 )
0054 
0055 process.options = cms.untracked.PSet(
0056     #SkipEvent = cms.untracked.vstring('ProductNotFound')
0057 )
0058 
0059 # Production Info
0060 process.configurationMetadata = cms.untracked.PSet(
0061     annotation = cms.untracked.string('step2 nevts:10'),
0062     name = cms.untracked.string('Applications'),
0063     version = cms.untracked.string('$Revision: 1.19 $')
0064 )
0065 
0066 # Output definition
0067 process.FEVTDEBUGoutput = cms.OutputModule("PoolOutputModule",
0068     dataset = cms.untracked.PSet(
0069         dataTier = cms.untracked.string('GEN-SIM-DIGI-RAW'),
0070         filterName = cms.untracked.string('')
0071     ),
0072     eventAutoFlushCompressedSize = cms.untracked.int32(5242880),
0073     fileName = cms.untracked.string('step2_DIGI_DIGI2RAW2017.root'),
0074     outputCommands = process.FEVTDEBUGEventContent.outputCommands + ['keep *_CTPPS*_*_*',"keep *_*RP*_*_*",'keep *_LHCTransport_*_*'],
0075     splitLevel = cms.untracked.int32(0)
0076 )
0077 
0078 # Additional output definition
0079 
0080 # Other statements
0081 from Configuration.AlCa.GlobalTag import GlobalTag
0082 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase1_2017_realistic', '')
0083 
0084 # modify Totem 2017 mapping
0085 process.load('CalibPPS.ESProducers.totemDAQMappingESSourceXML_cfi')
0086 process.totemDAQMappingESSourceXML.configuration = cms.VPSet(
0087     cms.PSet(
0088       validityRange = cms.EventRange("1:min - 999999999:max"),
0089       mappingFileNames = cms.vstring("CondFormats/PPSObjects/xml/mapping_tracking_strip_2017.xml"),
0090       maskFileNames = cms.vstring()
0091     )   
0092 )
0093 
0094 # Path and EndPath definitions
0095 process.digitisation_step = cms.Path(process.pdigi)
0096 process.L1simulation_step = cms.Path(process.SimL1Emulator)
0097 process.digi2raw_step = cms.Path(process.DigiToRaw)
0098 process.endjob_step = cms.EndPath(process.endOfProcess)
0099 process.FEVTDEBUGoutput_step = cms.EndPath(process.FEVTDEBUGoutput)
0100 # Schedule definition
0101 process.schedule = cms.Schedule(process.digitisation_step,process.L1simulation_step,process.digi2raw_step)
0102 process.schedule.extend([process.endjob_step,process.FEVTDEBUGoutput_step])
0103 from PhysicsTools.PatAlgos.tools.helpers import associatePatAlgosToolsTask
0104 associatePatAlgosToolsTask(process)
0105 
0106 # Customisation from command line
0107 
0108 # Add early deletion of temporary data products to reduce peak memory need
0109 from Configuration.StandardSequences.earlyDeleteSettings_cff import customiseEarlyDelete
0110 process = customiseEarlyDelete(process)
0111 # End adding early deletion