Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-06-07 22:23:00

0001 # Auto generated configuration file
0002 # using: 
0003 # Revision: 1.19 
0004 import FWCore.ParameterSet.Config as cms
0005 
0006 from Configuration.StandardSequences.Eras import eras
0007 process = cms.Process('RECO',eras.Run3)
0008 
0009 # import of standard configurations
0010 process.load('Configuration.StandardSequences.Services_cff')
0011 process.load('FWCore.MessageService.MessageLogger_cfi')
0012 process.load("Configuration.EventContent.EventContent_cff")
0013 process.load('Configuration.StandardSequences.MagneticField_cff')
0014 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0015 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0016 process.load('Configuration.StandardSequences.RawToDigi_cff')
0017 process.load('Configuration.StandardSequences.Reconstruction_cff')
0018 process.load('Configuration.StandardSequences.GeometryDB_cff')
0019 #process.load("Geometry.VeryForwardGeometry.geometryRPFromDB_cfi")
0020 #process.load("Geometry.VeryForwardGeometry.geometryPPS_CMSxz_fromDD_2018_cfi") # CMS frame, 2021 = 2018
0021 #process.load('CalibPPS.ESProducers.ppsPixelTopologyESSourceRun2_cfi')          # temporary solution, the 2021 geometry is the same as run2, force the usage of run2 topology 
0022 
0023 process.maxEvents = cms.untracked.PSet(
0024     input = cms.untracked.int32(-1)
0025 )
0026 
0027 # Input source
0028 process.source = cms.Source("PoolSource",
0029     fileNames = cms.untracked.vstring('file:step2_DIGI_DIGI2RAW2021.root'),
0030     secondaryFileNames = cms.untracked.vstring()
0031 )
0032 
0033 # Track memory leaks
0034 process.SimpleMemoryCheck = cms.Service("SimpleMemoryCheck",ignoreTotal = cms.untracked.int32(1) )
0035 
0036 process.options = cms.untracked.PSet(
0037     SkipEvent = cms.untracked.vstring('ProductNotFound')
0038 )
0039 
0040 # Output definition
0041 
0042 process.output = cms.OutputModule("PoolOutputModule",
0043     fileName = cms.untracked.string('step3_RAW2DIGI_RECO2021.root'),
0044     outputCommands = cms.untracked.vstring("drop *","keep SimVertexs_g4SimHits_*_*","keep PSimHits*_*_*_*","keep CTPPS*_*_*_*","keep *_*RP*_*_*",'keep *_generatorSmeared_*_*')
0045 )
0046 
0047 
0048 # Additional output definition
0049 # Other statements
0050 from Configuration.AlCa.GlobalTag import GlobalTag
0051 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase1_2022_realistic', '')
0052 #process.GlobalTag = GlobalTag(process.GlobalTag, '113X_mcRun3_2021_realistic_Candidate_2021_04_06_19_59_53', '')
0053 
0054 # Path and EndPath definitions
0055 #process.raw2digi_step = cms.Path(process.RawToDigi)
0056 #process.reco_step = cms.Path(process.reconstruction)
0057 process.raw2digi_step = cms.Path(process.ctppsRawToDigi) # to avoid full CMS digitization
0058 process.reco_step = cms.Path(process.totemRPLocalReconstruction*process.ctppsPixelLocalReconstruction) # to avoid full CMS reconstruction
0059 process.endjob_step = cms.EndPath(process.endOfProcess)
0060 process.output_step = cms.EndPath(process.output)
0061 
0062 # Schedule definition
0063 process.schedule = cms.Schedule(process.raw2digi_step,process.reco_step,process.endjob_step,process.output_step)
0064 
0065 # filter all path with the production filter sequence
0066 for path in process.paths:
0067     #  getattr(process,path)._seq = process.ProductionFilterSequence * getattr(process,path)._seq
0068     getattr(process,path)._seq = getattr(process,path)._seq