Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 import os
0003 
0004 process = cms.Process("HcalValid")
0005 process.load("DQMServices.Core.DQM_cfg")
0006 
0007 process.load('Configuration.StandardSequences.EDMtoMEAtRunEnd_cff')
0008 #Magnetic Field
0009 process.load("Configuration.StandardSequences.MagneticField_cff")
0010 
0011 #Geometry
0012 process.load("Geometry.CMSCommonData.cmsExtendedGeometryXML_cfi")
0013 
0014 process.load("Validation.HcalHits.ZdcSimHitStudy_cfi")
0015 process.load("Validation.HcalDigis.ZDCDigiStudy_cfi")
0016 
0017 process.MessageLogger = cms.Service("MessageLogger",
0018     cerr = cms.untracked.PSet(
0019         enable = cms.untracked.bool(False)
0020     ),
0021     cout = cms.untracked.PSet(
0022         ZdcSim = cms.untracked.PSet(
0023             limit = cms.untracked.int32(-1)
0024         ),
0025         default = cms.untracked.PSet(
0026             limit = cms.untracked.int32(0)
0027         ),
0028         enable = cms.untracked.bool(True),
0029         threshold = cms.untracked.string('INFO')
0030     ),
0031     debugModules = cms.untracked.vstring('*')
0032 )
0033 
0034 process.maxEvents = cms.untracked.PSet(
0035     input = cms.untracked.int32(-1)
0036     )
0037 process.source = cms.Source("PoolSource",
0038                             #    debugFlag = cms.untracked.bool(True),
0039                             #    debugVebosity = cms.untracked.uint32(11),
0040                             fileNames = cms.untracked.vstring('file:simevent.root')
0041                             )
0042 # load DQM
0043 process.load("DQMServices.Core.DQM_cfg")
0044 process.load("DQMServices.Components.DQMEnvironment_cfi")
0045 process.dqmsave_step = cms.Path(process.DQMSaver)
0046 
0047 
0048 print process.ZDCDigiStudy.Verbose
0049 process.p1 = cms.Path(
0050     process.ZDCDigiStudy
0051     *process.zdcSimHitStudy)
0052 
0053 process.schedule = cms.Schedule(process.p1,
0054                                 process.dqmsave_step)
0055 
0056 
0057 #process.DQM.collectorHost = ''
0058 process.zdcSimHitStudy.outputFile = 'zdcStudy.root'
0059 process.ZDCDigiStudy.outputFile='zdcStudy.root'
0060