Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:33:20

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("MuonHitsValid")
0004 # initialize  MessageLogger
0005 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0006 
0007 # initialize magnetic field
0008 process.load("Configuration.StandardSequences.MagneticField_cff")
0009 
0010 # geometry 
0011 #process.load("Geometry.EcalCommonData.EcalOnly_cfi")
0012 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0013 #process.load("Configuration.StandardSequences.GeometryPilot2_cff")
0014 #process.load("Alignment.CommonAlignmentProducer.test.GlobalPositionRcd_read_cfg.py") 
0015 process.load("Geometry.MuonNumbering.muonNumberingInitialization_cfi")
0016 process.load("Geometry.DTGeometryBuilder.dtGeometry_cfi")
0017 process.load("Configuration.StandardSequences.FakeConditions_cff")
0018 
0019 
0020 # DQM services
0021 process.load("DQMServices.Core.DQM_cfg")
0022 
0023 #process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi")
0024 
0025 # run simulation, with EcalHits Validation specific watcher 
0026 #process.load("SimG4Core.Application.g4SimHits_cfi")
0027 
0028 # DT Muon hits validation sequence
0029 process.load("Validation.MuonHits.muonHitsValidation_cfi")
0030 
0031 process.maxEvents = cms.untracked.PSet(
0032     input = cms.untracked.int32(-1)
0033 )
0034 process.source = cms.Source("PoolSource",
0035 #    fileNames = cms.untracked.vstring('file:Pion_Pt60GeV_all.root')
0036       fileNames = cms.untracked.vstring(
0037 ## CMSSW_210_pre9 relval files
0038 # '/store/relval/2008/7/21/RelVal-RelValSingleMuPt100-1216579481-IDEAL_V5-2nd/RelValSingleMuPt100/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/CMSSW_2_1_0_pre9-RelVal-1216579481-IDEAL_V5-2nd-unmerged/0000/940DEAA6-6E57-DD11-A383-000423D98800.root',
0039 #         '/store/relval/2008/7/21/RelVal-RelValSingleMuPt100-1216579481-IDEAL_V5-2nd/RelValSingleMuPt100/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/CMSSW_2_1_0_pre9-RelVal-1216579481-IDEAL_V5-2nd-unmerged/0000/E0124BEF-6E57-DD11-9696-000423D98834.root',
0040 #        '/store/relval/2008/7/21/RelVal-RelValSingleMuPt100-1216579481-IDEAL_V5-2nd/RelValSingleMuPt100/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/CMSSW_2_1_0_pre9-RelVal-1216579481-IDEAL_V5-2nd-unmerged/0000/F632DE6B-6F57-DD11-8A2C-001617C3B77C.root')
0041 ## CMSSW_200_pre4 relval 
0042 #'/store/relval/2008/3/12/RelVal-RelValSingleMuPlusPt100-1205356055/0000/44DB3F3D-CBF0-DC11-92F5-000423D6C8E6.root',
0043 #  '/store/relval/2008/3/12/RelVal-RelValSingleMuPlusPt100-1205356055/0000/FEFBEE7D-C9F0-DC11-A5DC-000423D98844.root'
0044 ## CMSSW_214 relval  
0045 #       '/store/relval/CMSSW_2_1_4/RelValSingleMuPt100/GEN-SIM-DIGI-RAW-HLTDEBUG/IDEAL_V6_v1/0004/400B03E1-2A6C-DD11-A78C-001617E30D4A.root')
0046         '/store/relval/CMSSW_2_1_4/RelValZMM/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/STARTUP_V5_v1/0004/2E5CADBF-7B6C-DD11-9888-0019DB29C614.root')
0047 )
0048 
0049 process.USER = cms.OutputModule("PoolOutputModule",
0050     outputCommands = cms.untracked.vstring('keep *'),
0051     fileName = cms.untracked.string('Muon_HitsValidation.root')
0052 )
0053 
0054 process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService",
0055     moduleSeeds = cms.PSet(
0056         g4SimHits = cms.untracked.uint32(9876)
0057     )
0058 )
0059 
0060 process.randomEngineStateProducer = cms.EDProducer("RandomEngineStateProducer")
0061 
0062 process.Timing = cms.Service("Timing")
0063 
0064 process.SimpleMemoryCheck = cms.Service("SimpleMemoryCheck")
0065 
0066 #process.simhits = cms.Sequence(process.g4SimHits*process.ecalSimHitsValidationSequence)
0067 #process.validation = cms.Sequence(process.muonHitsValidation)
0068 process.validation = cms.Sequence(process.validSimHit)
0069 process.p1 = cms.Path(process.validation)
0070 process.p4 = cms.Path(process.randomEngineStateProducer)
0071 process.outpath = cms.EndPath(process.USER)
0072 #process.schedule = cms.Schedule(process.p1,process.p4,process.outpath)
0073 process.schedule = cms.Schedule(process.p1)
0074 
0075 process.DQM.collectorHost = ''
0076 #process.g4SimHits.Generator.HepMCProductLabel = 'source'
0077 #process.g4SimHits.Watchers = cms.VPSet(cms.PSet(
0078 #    instanceLabel = cms.untracked.string('EcalValidInfo'),
0079 #    type = cms.string('EcalSimHitsValidProducer'),
0080 #    verbose = cms.untracked.bool(False)
0081 #))
0082 
0083 
0084 
0085