00001 import FWCore.ParameterSet.Config as cms 00002 00003 from Configuration.StandardSequences.SimulationRandomNumberGeneratorSeeds_cff import * 00004 from Configuration.StandardSequences.VtxSmearedGauss_cff import * 00005 from Configuration.StandardSequences.Simulation_cff import * 00006 from Configuration.StandardSequences.Geometry_cff import * 00007 from Configuration.StandardSequences.Digi_cff import * 00008 00009 from Configuration.StandardSequences.MagneticField_cff import * 00010 00011 from Configuration.StandardSequences.MixingNoPileUp_cff import * 00012 from Configuration.StandardSequences.FakeConditions_cff import * 00013 from Configuration.StandardSequences.Reconstruction_cff import * 00014 from DQMServices.Core.DQM_cfg import * 00015 MessageLogger = cms.Service("MessageLogger") 00016 00017 maxEvents = cms.untracked.PSet( 00018 input = cms.untracked.int32(-1) 00019 ) 00020 source = cms.Source("PoolSource", 00021 debugFlag = cms.untracked.bool(True), 00022 debugVebosity = cms.untracked.uint32(10), 00023 fileNames = cms.untracked.vstring('file:/afs/cern.ch/cms/data/CMSSW/Validation/HcalHits/data/1_4_x/mc_pi+100_etaphi44.root') 00024 ) 00025 00026 hcalDigiAnalyzer = cms.EDFilter("HcalDigiTester", 00027 digiLabel = cms.InputTag("simHcalDigis"), 00028 subpedvalue = cms.untracked.bool(True), 00029 outputFile = cms.untracked.string('HcalDigisValidationHF.root'), 00030 hcalselector = cms.untracked.string('HF') 00031 ) 00032 00033 hcalRecoAnalyzer = cms.EDFilter("HcalRecHitsValidation", 00034 outputFile = cms.untracked.string('HcalRecHitsValidationHB.root'), 00035 eventype = cms.untracked.string('single'), 00036 mc = cms.untracked.string('yes'), 00037 sign = cms.untracked.string('*'), 00038 hcalselector = cms.untracked.string('HF'), 00039 ecalselector = cms.untracked.string('no') 00040 ) 00041 00042 hcalTowerAnalyzer = cms.EDFilter("CaloTowersValidation", 00043 outputFile = cms.untracked.string('CaloTowersValidationHB.root'), 00044 CaloTowerCollectionLabel = cms.untracked.string('towerMaker'), 00045 hcalselector = cms.untracked.string('HB') 00046 ) 00047 00048 dQM.collectorHost = '' 00049 00050 XMLIdealGeometryESSource.geomXMLFiles = cms.vstring( 00051 "geometry/CMSCommonData/data/materials.xml", 00052 "geometry/CMSCommonData/data/rotations.xml", 00053 "geometry/HcalCommonData/data/hcalrotations.xml", 00054 "geometry/HcalCommonData/data/hcalforwardmaterial.xml", 00055 "geometry/TrackerCommonData/data/trackermaterial.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/EcalCommonData/data/eregalgo.xml", 00068 "geometry/EcalCommonData/data/ebalgo.xml", 00069 "geometry/EcalCommonData/data/ebcon.xml", 00070 "geometry/EcalCommonData/data/ebrot.xml", 00071 "geometry/EcalCommonData/data/eecon.xml", 00072 "geometry/EcalCommonData/data/escon.xml", 00073 "geometry/EcalCommonData/data/eefixed.xml", 00074 "geometry/EcalCommonData/data/eehier.xml", 00075 "geometry/EcalCommonData/data/eealgo.xml", 00076 "geometry/EcalCommonData/data/esalgo.xml", 00077 "geometry/EcalCommonData/data/eeF.xml", 00078 "geometry/EcalCommonData/data/eeB.xml", 00079 "geometry/HcalCommonData/data/hcalbarrelalgo.xml", 00080 "geometry/HcalCommonData/data/hcalendcapalgo.xml", 00081 "geometry/HcalCommonData/data/hcalouteralgo.xml", 00082 "geometry/HcalCommonData/data/hcalforwardalgo.xml", 00083 "geometry/HcalCommonData/data/hcalforwardfibre.xml", 00084 "geometry/EcalSimData/data/ecalsens.xml", 00085 "geometry/HcalCommonData/data/hcalsens.xml", 00086 "geometry/HcalSimData/data/CaloUtil.xml", 00087 "geometry/EcalSimData/data/EcalProdCuts.xml", 00088 "geometry/HcalSimData/data/HcalProdCuts.xml", 00089 "geometry/CMSCommonData/data/FieldParameters.xml" 00090 ) 00091 00092 VtxSmeared.SigmaX = 0.00001 00093 VtxSmeared.SigmaY = 0.00001 00094 VtxSmeared.SigmaZ = 0.00001 00095 00096 g4SimHits.UseMagneticField = False 00097 00098 hbhereco.digiLabel = 'simHcalDigis' 00099 horeco.digiLabel = 'simHcalDigis' 00100 hfreco.digiLabel = 'simHcalDigis' 00101 00102 ecalPreshowerRecHit.ESdigiCollection = 'simEcalPreshowerDigis' 00103 ecalWeightUncalibRecHit.EBdigiCollection = 'simEcalDigis:ebDigis' 00104 ecalWeightUncalibRecHit.EEdigiCollection = 'simEcalDigis:eeDigis'