00001 import FWCore.ParameterSet.Config as cms 00002 00003 from Configuration.StandardSequences.SimulationRandomNumberGeneratorSeeds_cff import * 00004 from Configuration.StandardSequences.Geometry_cff import * 00005 from Configuration.StandardSequences.VtxSmearedGauss_cff import * 00006 from SimG4Core.Application.g4SimHits_cfi import * 00007 from SimCalorimetry.HcalSimProducers.hcalUnsuppressedDigis_cfi import * 00008 from SimCalorimetry.HcalZeroSuppressionProducers.hcalDigis_cfi import * 00009 00010 from Configuration.StandardSequences.MagneticField_cff import * 00011 00012 from Configuration.StandardSequences.MixingNoPileUp_cff import * 00013 from Configuration.StandardSequences.FakeConditions_cff import * 00014 from Configuration.StandardSequences.Reconstruction_cff import * 00015 from DQMServices.Core.DQM_cfg import * 00016 maxEvents = cms.untracked.PSet( 00017 input = cms.untracked.int32(-1) 00018 ) 00019 MessageLogger = cms.Service("MessageLogger") 00020 00021 source = cms.Source("PoolSource", 00022 debugFlag = cms.untracked.bool(True), 00023 debugVebosity = cms.untracked.uint32(10), 00024 fileNames = cms.untracked.vstring('file:/afs/cern.ch/cms/data/CMSSW/Validation/HcalHits/data/1_4_x/mc_pi+100_etaphi44.root') 00025 ) 00026 00027 hcalDigiAnalyzer = cms.EDFilter("HcalDigiTester", 00028 digiLabel = cms.InputTag("simHcalDigis"), 00029 subpedvalue = cms.untracked.bool(True), 00030 outputFile = cms.untracked.string('HcalDigisValidationHF.root'), 00031 hcalselector = cms.untracked.string('HF') 00032 ) 00033 00034 hcalRecoAnalyzer = cms.EDFilter("HcalRecHitsValidation", 00035 outputFile = cms.untracked.string('HcalRecHitsValidationHB.root'), 00036 eventype = cms.untracked.string('single'), 00037 mc = cms.untracked.string('yes'), 00038 sign = cms.untracked.string('*'), 00039 hcalselector = cms.untracked.string('HF'), 00040 ecalselector = cms.untracked.string('no') 00041 ) 00042 00043 hcalTowerAnalyzer = cms.EDFilter("CaloTowersValidation", 00044 outputFile = cms.untracked.string('CaloTowersValidationHB.root'), 00045 CaloTowerCollectionLabel = cms.untracked.string('towerMaker'), 00046 hcalselector = cms.untracked.string('HB') 00047 ) 00048 00049 dQM.collectorHost = '' 00050 00051 XMLIdealGeometryESSource.geomXMLFiles = cms.vstring( 00052 "geometry/CMSCommonData/data/materials.xml", 00053 "geometry/CMSCommonData/data/rotations.xml", 00054 "geometry/HcalCommonData/data/hcalrotations.xml", 00055 "geometry/HcalCommonData/data/hcalforwardmaterial.xml", 00056 "geometry/CMSCommonData/data/normal/cmsextent.xml", 00057 "geometry/CMSCommonData/data/cms.xml", 00058 "geometry/CMSCommonData/data/cmsMother.xml", 00059 "geometry/CMSCommonData/data/muonBase.xml", 00060 "geometry/CMSCommonData/data/cmsMuon.xml", 00061 "geometry/CMSCommonData/data/mgnt.xml", 00062 "geometry/CMSCommonData/data/muonMagnet.xml", 00063 "geometry/CMSCommonData/data/muonMB.xml", 00064 "geometry/CMSCommonData/data/caloBase.xml", 00065 "geometry/CMSCommonData/data/cmsCalo.xml", 00066 "geometry/HcalCommonData/data/hcalalgo.xml", 00067 "geometry/HcalCommonData/data/hcalbarrelalgo.xml", 00068 "geometry/HcalCommonData/data/hcalendcapalgo.xml", 00069 "geometry/HcalCommonData/data/hcalouteralgo.xml", 00070 "geometry/HcalCommonData/data/hcalforwardalgo.xml", 00071 "geometry/HcalCommonData/data/hcalforwardfibre.xml", 00072 "geometry/HcalCommonData/data/hcalsens.xml", 00073 "geometry/HcalSimData/data/CaloUtil.xml", 00074 "geometry/HcalSimData/data/HcalProdCuts.xml", 00075 "geometry/CMSCommonData/data/FieldParameters.xml" 00076 ) 00077 00078 00079 CaloGeometryBuilder.SelectedCalos = ['HCAL'] 00080 00081 VtxSmeared.SigmaX = 0.00001 00082 VtxSmeared.SigmaY = 0.00001 00083 VtxSmeared.SigmaZ = 0.00001 00084 00085 g4SimHits.UseMagneticField = False 00086 00087 hbhereco.digiLabel = 'simHcalDigis' 00088 horeco.digiLabel = 'simHcalDigis' 00089 hfreco.digiLabel = 'simHcalDigis'