Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-08-02 04:38:43

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("HcalValid")
0004 process.load("DQMServices.Core.DQM_cfg")
0005 
0006 #Magnetic Field         
0007 process.load("Configuration.StandardSequences.MagneticField_cff")
0008 
0009 #Geometry
0010 process.load("Geometry.CMSCommonData.ecalhcalGeometryXML_cfi")
0011 process.load("Geometry.EcalCommonData.ecalSimulationParameters_cff")
0012 process.load("Geometry.HcalCommonData.hcalDDConstants_cff")
0013 
0014 process.load("Validation.HcalHits.HcalSimHitStudy_cfi")
0015 
0016 process.MessageLogger = cms.Service("MessageLogger",
0017     debugModules = cms.untracked.vstring('*'),
0018     cout = cms.untracked.PSet(
0019         threshold = cms.untracked.string('INFO'),
0020         default = cms.untracked.PSet(
0021             limit = cms.untracked.int32(0)
0022         ),
0023         HcalSim = cms.untracked.PSet(
0024             limit = cms.untracked.int32(-1)
0025         )
0026     ),
0027     categories = cms.untracked.vstring('HcalSim'),
0028     destinations = cms.untracked.vstring('cout')
0029 )
0030 
0031 process.maxEvents = cms.untracked.PSet(
0032     input = cms.untracked.int32(-1)
0033 )
0034 process.source = cms.Source("PoolSource",
0035     debugFlag = cms.untracked.bool(True),
0036     debugVebosity = cms.untracked.uint32(11),
0037     fileNames = cms.untracked.vstring('file:simevent.root')
0038 )
0039 
0040 process.p1 = cms.Path(process.hcalSimHitStudy)
0041 #process.DQM.collectorHost = ''
0042 process.hcalSimHitStudy.outputFile = 'hcalsimstudy.root'
0043 
0044