Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:33:01

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
0004 hcalRecoAnalyzer = DQMEDAnalyzer('HcalRecHitsValidation',
0005     TopFolderName             = cms.string('HcalRecHitsV/HcalRecHitTask'),
0006     outputFile                = cms.untracked.string('HcalRecHitValidationRelVal.root'),
0007 
0008     HBHERecHitCollectionLabel = cms.untracked.InputTag("hbhereco"),
0009     HFRecHitCollectionLabel   = cms.untracked.InputTag("hfreco"),
0010     HORecHitCollectionLabel   = cms.untracked.InputTag("horeco"),
0011     EBRecHitCollectionLabel   = cms.InputTag("ecalRecHit:EcalRecHitsEB"),
0012     EERecHitCollectionLabel   = cms.InputTag("ecalRecHit:EcalRecHitsEE"),
0013 
0014     ecalselector              = cms.untracked.string('yes'),
0015     hcalselector              = cms.untracked.string('all'),
0016     mc                        = cms.untracked.string('yes'),
0017 
0018     SimHitCollectionLabel = cms.untracked.InputTag("g4SimHits","HcalHits"),
0019 
0020     TestNumber                = cms.bool(False)
0021 )
0022 
0023 hcalNoiseRates = DQMEDAnalyzer('NoiseRates',
0024     outputFile   = cms.untracked.string('NoiseRatesRelVal.root'),
0025     rbxCollName  = cms.untracked.InputTag('hcalnoise'),
0026     minRBXEnergy = cms.untracked.double(20.0),
0027     minHitEnergy = cms.untracked.double(1.5),
0028     noiselabel   = cms.InputTag('hcalnoise')
0029 )
0030 
0031 from Configuration.Eras.Modifier_fastSim_cff import fastSim
0032 fastSim.toModify( hcalRecoAnalyzer, SimHitCollectionLabel = cms.untracked.InputTag("fastSimProducer","HcalHits") )
0033 
0034 from Configuration.Eras.Modifier_run2_HCAL_2017_cff import run2_HCAL_2017
0035 (run2_HCAL_2017 & ~fastSim).toModify( hcalRecoAnalyzer, TestNumber = cms.bool(True) )