Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 23:29:37

0001 import os
0002 import FWCore.ParameterSet.Config as cms
0003 from Configuration.Eras.Era_Run2_2017_cff import Run2_2017
0004 process = cms.Process('PCL',Run2_2017)
0005 
0006 # ----------------------------------------------------------------------
0007 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0008 process.MessageLogger.cerr.threshold = 'INFO'
0009 process.MessageLogger.cerr.FwkReport.reportEvery = 10000
0010 process.MessageLogger.HLTrigReport=dict()
0011 process.MessageLogger.L1GtTrigReport=dict()
0012 process.options = cms.untracked.PSet(
0013     SkipEvent = cms.untracked.vstring('ProductNotFound'),
0014     wantSummary = cms.untracked.bool(True)
0015 )
0016 
0017 # -- Conditions
0018 process.load("Configuration.StandardSequences.MagneticField_38T_cff")
0019 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0020 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0021 
0022 from Configuration.AlCa.GlobalTag import GlobalTag
0023 process.GlobalTag = GlobalTag(process.GlobalTag, '92X_dataRun2_Express_v8', '')
0024 
0025 # -- Input files
0026 process.source = cms.Source(
0027     "PoolSource",
0028     fileNames = cms.untracked.vstring(
0029     "/store/express/Run2017F/ExpressPhysics/FEVT/Express-v1/000/305/366/00000/863EC350-6EB6-E711-8EAD-02163E019B61.root",
0030     "/store/express/Run2017F/ExpressPhysics/FEVT/Express-v1/000/305/366/00000/B6268B1F-6FB6-E711-A46C-02163E01439D.root",
0031     ),
0032     #lumisToProcess = cms.untracked.VLuminosityBlockRange("305366:1-305366:1"),
0033 )
0034 
0035 
0036 # -- number of events
0037 process.maxEvents = cms.untracked.PSet(
0038     input = cms.untracked.int32(-1)
0039 )
0040 
0041 from EventFilter.SiPixelRawToDigi.SiPixelRawToDigi_cfi import siPixelDigis
0042 process.siPixelDigis = siPixelDigis.clone()
0043 process.siPixelDigis.InputLabel = cms.InputTag("rawDataCollector")
0044 
0045 process.siPixelStatusProducer = cms.EDProducer("SiPixelStatusProducer",
0046     SiPixelStatusProducerParameters = cms.PSet(
0047         badPixelFEDChannelCollections = cms.VInputTag(cms.InputTag('siPixelDigis')),
0048         pixelClusterLabel = cms.untracked.InputTag("siPixelClusters::RECO"),
0049         monitorOnDoubleColumn = cms.untracked.bool(False),
0050         resetEveryNLumi = cms.untracked.int32( 1 )
0051     )
0052 )
0053 
0054 process.ALCARECOStreamSiPixelCalZeroBias = cms.OutputModule("PoolOutputModule",
0055     fileName = cms.untracked.string('SiPixelCalZeroBias.root'),
0056     outputCommands = cms.untracked.vstring('drop *',
0057         'keep *_siPixelStatusProducer_*_*',
0058     )
0059 )
0060 
0061 process.p = cms.Path(process.siPixelDigis*process.siPixelStatusProducer)
0062 process.end = cms.EndPath(process.ALCARECOStreamSiPixelCalZeroBias)
0063 
0064 process.schedule = cms.Schedule(process.p,process.end)
0065 
0066 # Add early deletion of temporary data products to reduce peak memory need
0067 from Configuration.StandardSequences.earlyDeleteSettings_cff import customiseEarlyDelete
0068 process = customiseEarlyDelete(process)
0069 # End adding early deletion
0070