Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-06-22 22:49:27

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 
0004 from Configuration.Eras.Era_Phase2C17I13M9_cff import Phase2C17I13M9
0005 process = cms.Process('mtdValidation',Phase2C17I13M9)
0006 
0007 process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
0008 process.load("FWCore.MessageService.MessageLogger_cfi")
0009 process.load('Configuration.EventContent.EventContent_cff')
0010 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0011 process.load('SimGeneral.MixingModule.mixNoPU_cfi')
0012 
0013 process.load("Configuration.Geometry.GeometryExtended2026D88Reco_cff")
0014 
0015 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) )
0016 
0017 #Setup FWK for multithreaded
0018 process.options.numberOfThreads = 4
0019 process.options.numberOfStreams = 0
0020 process.options.numberOfConcurrentLuminosityBlocks = 0
0021 process.options.eventSetup.numberOfConcurrentIOVs = 1
0022 
0023 process.MessageLogger.cerr.FwkReport  = cms.untracked.PSet(
0024     reportEvery = cms.untracked.int32(100),
0025 )
0026 
0027 process.source = cms.Source("PoolSource",
0028     fileNames = cms.untracked.vstring(
0029         'file:step3.root'
0030     )
0031 )
0032 
0033 process.mix.digitizers = cms.PSet()
0034 for a in process.aliases: delattr(process, a)
0035 
0036 # --- BTL Validation
0037 process.load("Validation.MtdValidation.btlSimHitsValid_cfi")
0038 process.load("Validation.MtdValidation.btlDigiHitsValid_cfi")
0039 process.load("Validation.MtdValidation.btlLocalRecoValid_cfi")
0040 btlValidation = cms.Sequence(process.btlSimHitsValid + process.btlDigiHitsValid + process.btlLocalRecoValid)
0041 
0042 # --- ETL Validation
0043 process.load("Validation.MtdValidation.etlSimHitsValid_cfi")
0044 process.load("Validation.MtdValidation.etlDigiHitsValid_cfi")
0045 process.load("Validation.MtdValidation.etlLocalRecoValid_cfi")
0046 etlValidation = cms.Sequence(process.etlSimHitsValid + process.etlDigiHitsValid + process.etlLocalRecoValid)
0047 
0048 # --- Global Validation
0049 process.load("Validation.MtdValidation.mtdTracksValid_cfi")
0050 process.load("Validation.MtdValidation.vertices4DValid_cfi")
0051 
0052 # process.btlDigiHitsValid.optionalPlots = True
0053 # process.etlDigiHitsValid.optionalPlots = True
0054 # process.btlLocalRecoValid.optionalPlots = True
0055 # process.etlLocalRecoValid.optionalPlots = True
0056 # process.mtdTracksValid.optionalPlots = True
0057 # process.vertices4DValid.optionalPlots = True
0058 
0059 process.validation = cms.Sequence(btlValidation + etlValidation + process.mtdTracksValid + process.vertices4DValid)
0060 
0061 process.DQMoutput = cms.OutputModule("DQMRootOutputModule",
0062     dataset = cms.untracked.PSet(
0063         dataTier = cms.untracked.string('DQMIO'),
0064         filterName = cms.untracked.string('')
0065     ),
0066     fileName = cms.untracked.string('file:step3_inDQM.root'),
0067     outputCommands = process.DQMEventContent.outputCommands,
0068     splitLevel = cms.untracked.int32(0)
0069 )
0070 
0071 process.p = cms.Path( process.mix + process.validation )
0072 process.endjob_step = cms.EndPath(process.endOfProcess)
0073 process.DQMoutput_step = cms.EndPath( process.DQMoutput )
0074 
0075 process.schedule = cms.Schedule( process.p , process.endjob_step , process.DQMoutput_step )