File indexing completed on 2024-04-06 12:31:57
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("RelValValidation")
0004 process.load("Configuration.StandardSequences.Reconstruction_cff")
0005 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0006
0007 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0008 from Configuration.AlCa.autoCond import autoCond
0009 process.GlobalTag.globaltag = autoCond['com10']
0010
0011 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0012 process.MessageLogger.cerr.FwkReport.reportEvery = 100
0013
0014 process.load("DQMServices.Core.DQM_cfg")
0015 process.DQM.collectorHost = ''
0016
0017 process.load("DQMServices.Components.MEtoEDMConverter_cfi")
0018
0019 process.maxEvents = cms.untracked.PSet(
0020 input = cms.untracked.int32(-1)
0021 )
0022
0023
0024 process.source = cms.Source("PoolSource",
0025 fileNames = cms.untracked.vstring(
0026 '/store/data/Commissioning10/MinimumBias/RECO/May6thReReco-v1/0006/C6DD9B01-8459-DF11-BE72-003048678B16.root',
0027 '/store/data/Commissioning10/MinimumBias/RECO/May6thReReco-v1/0006/A42865DA-8659-DF11-B735-00304867920A.root',
0028 '/store/data/Commissioning10/MinimumBias/RECO/May6thReReco-v1/0006/38C42567-8259-DF11-AE1B-0018F3D09680.root'
0029 ),
0030 inputCommands = cms.untracked.vstring('keep *', 'drop *_MEtoEDMConverter_*_*')
0031 )
0032
0033
0034
0035 process.FEVT = cms.OutputModule("PoolOutputModule",
0036 outputCommands = cms.untracked.vstring('drop *', 'keep *_MEtoEDMConverter_*_*'),
0037 fileName = cms.untracked.string("HcalValHarvestingEDM.root")
0038 )
0039
0040 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
0041 process.hcalTowerAnalyzer = DQMEDAnalyzer('CaloTowersValidation',
0042 outputFile = cms.untracked.string('CaloTowersValidationRelVal.root'),
0043 CaloTowerCollectionLabel = cms.untracked.InputTag('towerMaker'),
0044 hcalselector = cms.untracked.string('all'),
0045 mc = cms.untracked.string('no')
0046 )
0047
0048 process.hcalNoiseRates = DQMEDAnalyzer('NoiseRates',
0049 outputFile = cms.untracked.string('NoiseRatesRelVal.root'),
0050 rbxCollName = cms.untracked.InputTag('hcalnoise'),
0051 minRBXEnergy = cms.untracked.double(20.0),
0052 minHitEnergy = cms.untracked.double(1.5)
0053 )
0054
0055 process.hcalRecoAnalyzer = DQMEDAnalyzer('HcalRecHitsValidation',
0056 outputFile = cms.untracked.string('HcalRecHitValidationRelVal.root'),
0057
0058 HBHERecHitCollectionLabel = cms.untracked.InputTag("hbhereco"),
0059 HFRecHitCollectionLabel = cms.untracked.InputTag("hfreco"),
0060 HORecHitCollectionLabel = cms.untracked.InputTag("horeco"),
0061
0062 eventype = cms.untracked.string('multi'),
0063 ecalselector = cms.untracked.string('yes'),
0064 hcalselector = cms.untracked.string('all'),
0065 mc = cms.untracked.string('no')
0066 )
0067
0068 process.p = cms.Path(process.hcalTowerAnalyzer * process.hcalNoiseRates * process.hcalRecoAnalyzer * process.MEtoEDMConverter)
0069 process.output = cms.EndPath(process.FEVT)
0070 process.DQM.collectorHost = ''