Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-03-24 05:59:48

0001 from __future__ import print_function
0002 import FWCore.ParameterSet.Config as cms
0003 import os 
0004 
0005 process = cms.Process("HcalValid")
0006 process.load("DQMServices.Core.DQM_cfg")
0007 
0008 process.load('Configuration.StandardSequences.EDMtoMEAtRunEnd_cff')
0009 #Magnetic Field         
0010 process.load("Configuration.StandardSequences.MagneticField_cff")
0011 
0012 #Geometry
0013 process.load("Geometry.CMSCommonData.cmsExtendedGeometryXML_cfi")
0014 
0015 process.load("Validation.HcalHits.ZdcSimHitStudy_cfi")
0016 process.load("Validation.HcalDigis.ZDCDigiStudy_cfi")
0017 
0018 process.load('FWCore.MessageService.MessageLogger_cfi')
0019 
0020 if 'MessageLogger' in process.__dict__:
0021     process.MessageLogger.G4cout=dict()
0022     process.MessageLogger.ZdcSim=dict()
0023     process.MessageLogger.ZdcDigiStudy=dict()
0024 
0025 process.maxEvents = cms.untracked.PSet(
0026     input = cms.untracked.int32(-1)
0027 )
0028 process.source = cms.Source("PoolSource",
0029 #    debugFlag = cms.untracked.bool(True),
0030 #    debugVebosity = cms.untracked.uint32(11),
0031        fileNames = cms.untracked.vstring('file:simevent.root')
0032 )
0033 
0034 # load DQM
0035 process.load("DQMServices.Core.DQM_cfg")
0036 process.load("DQMServices.Components.DQMEnvironment_cfi")
0037 process.dqmsave_step = cms.Path(process.DQMSaver)
0038 
0039 print(process.ZDCDigiStudy.Verbose)
0040 process.p1 = cms.Path(
0041                      process.ZDCDigiStudy
0042                      *process.zdcSimHitStudy)
0043 
0044 process.schedule = cms.Schedule(process.p1,
0045                                 process.dqmsave_step)
0046 
0047 #process.DQM.collectorHost = ''
0048 process.zdcSimHitStudy.outputFile = 'zdcStudy.root'
0049 process.ZDCDigiStudy.outputFile='zdcStudy.root'
0050