Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:30:51

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.Run2_2016)
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.GeometryRecoDB_cff')
0017 process.load('Geometry.VeryForwardGeometry.geometryPPS_CMSxz_fromDD_2016_cfi')
0018 
0019 process.maxEvents = cms.untracked.PSet(
0020     input = cms.untracked.int32(-1)
0021 )
0022 
0023 process.source = cms.Source("EmptyIOVSource",
0024     timetype = cms.string('runnumber'),
0025     firstValue = cms.uint64(1),
0026     lastValue = cms.uint64(1),
0027     interval = cms.uint64(1)
0028 )
0029 
0030 # Input source
0031 process.source = cms.Source("PoolSource",
0032     fileNames = cms.untracked.vstring('file:step2_DIGI_DIGI2RAW2016.root'),
0033     secondaryFileNames = cms.untracked.vstring()
0034 )
0035 
0036 # Track memory leaks
0037 process.SimpleMemoryCheck = cms.Service("SimpleMemoryCheck",ignoreTotal = cms.untracked.int32(1) )
0038 
0039 process.options = cms.untracked.PSet(
0040     SkipEvent = cms.untracked.vstring('ProductNotFound')
0041 )
0042 
0043 # Output definition
0044 
0045 process.output = cms.OutputModule("PoolOutputModule",
0046     fileName = cms.untracked.string('step3_RAW2DIGI_RECO2016.root'),
0047     outputCommands = cms.untracked.vstring("drop *","keep SimVertexs_g4SimHits_*_*","keep PSimHits*_*_*_*","keep CTPPS*_*_*_*","keep *_*RP*_*_*",'keep *_LHCTransport_*_*')
0048 )
0049 
0050 
0051 # Additional output definition
0052 # Other statements
0053 from Configuration.AlCa.GlobalTag import GlobalTag
0054 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:run2_mc', '')
0055 
0056 process.GlobalTag.toGet = cms.VPSet(
0057     cms.PSet(
0058         record = cms.string('CTPPSPixelGainCalibrationsRcd'),
0059         tag = cms.string("CTPPSPixelGainCalibrations_mc"),
0060         connect = cms.string('frontier://FrontierProd/CMS_CONDITIONS')
0061         ),
0062     cms.PSet(
0063         record = cms.string('CTPPSPixelAnalysisMaskRcd'),
0064         tag = cms.string("CTPPSPixelAnalysisMask_mc"),
0065         label = cms.untracked.string(""),
0066         connect = cms.string('frontier://FrontierProd/CMS_CONDITIONS')
0067         ),
0068     cms.PSet(
0069         record = cms.string('CTPPSPixelDAQMappingRcd'),
0070         tag = cms.string("CTPPSPixelDAQMapping_mc"),
0071         connect = cms.string('frontier://FrontierProd/CMS_CONDITIONS')
0072         )
0073 )
0074 
0075 # modify Totem 2016 mapping
0076 process.load('CalibPPS.ESProducers.totemDAQMappingESSourceXML_cfi')
0077 process.totemDAQMappingESSourceXML.configuration = cms.VPSet(
0078     cms.PSet(
0079       validityRange = cms.EventRange("1:min - 999999999:max"),
0080       mappingFileNames = cms.vstring("CondFormats/PPSObjects/xml/mapping_tracking_strip_2016_from_fill_5330.xml"),
0081       maskFileNames = cms.vstring()
0082     )   
0083 )
0084 
0085 # modify CTPPS 2016 raw-to-digi modules
0086 process.load('Configuration.StandardSequences.RawToDigi_cff')
0087              
0088 # do not make testID for simulation - keeping the frame
0089 from EventFilter.CTPPSRawToDigi.totemRPRawToDigi_cfi import totemRPRawToDigi
0090 totemRPRawToDigi.RawToDigi.testID = cms.uint32(1)
0091 
0092 from RecoPPS.Local.totemRPLocalReconstruction_cff import totemRPLocalReconstruction
0093 process.load('RecoPPS.Local.totemRPLocalReconstruction_cff')
0094 from RecoPPS.Local.ctppsPixelLocalReconstruction_cff import ctppsPixelLocalReconstruction
0095 process.load('RecoPPS.Local.ctppsPixelLocalReconstruction_cff')
0096 
0097 # Path and EndPath definitions
0098 process.raw2digi_step = cms.Path(process.ctppsRawToDigi)
0099 process.reco_step = cms.Path(process.totemRPLocalReconstruction*process.ctppsPixelLocalReconstruction)
0100 process.endjob_step = cms.EndPath(process.endOfProcess)
0101 process.output_step = cms.EndPath(process.output)
0102 
0103 # Schedule definition
0104 process.schedule = cms.Schedule(process.raw2digi_step,process.reco_step,process.endjob_step,process.output_step)
0105 
0106 # filter all path with the production filter sequence
0107 for path in process.paths:
0108     #  getattr(process,path)._seq = process.ProductionFilterSequence * getattr(process,path)._seq
0109     getattr(process,path)._seq = getattr(process,path)._seq
0110