Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:32:31

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from Validation.HcalRecHits.HcalRecHitParam_cfi import *
0004 
0005 hltHCALRecoAnalyzer = hcalRecoAnalyzer.clone()
0006 hltHCALRecoAnalyzer.TopFolderName             = cms.string('HLT/HCAL/RecHits/Simulation')
0007 hltHCALRecoAnalyzer.outputFile                = cms.untracked.string('')
0008 hltHCALRecoAnalyzer.HBHERecHitCollectionLabel = cms.untracked.InputTag("hltHbhereco")
0009 hltHCALRecoAnalyzer.HFRecHitCollectionLabel   = cms.untracked.InputTag("hltHfreco")
0010 hltHCALRecoAnalyzer.HORecHitCollectionLabel   = cms.untracked.InputTag("hltHoreco")
0011 hltHCALRecoAnalyzer.EBRecHitCollectionLabel   = cms.InputTag("hltEcalRecHit","EcalRecHitsEB")
0012 hltHCALRecoAnalyzer.EERecHitCollectionLabel   = cms.InputTag("hltEcalRecHit","EcalRecHitsEE")
0013 hltHCALRecoAnalyzer.ecalselector              = cms.untracked.string('yes')
0014 hltHCALRecoAnalyzer.hcalselector              = cms.untracked.string('all')
0015 hltHCALRecoAnalyzer.mc                        = cms.untracked.string('yes')
0016 hltHCALRecoAnalyzer.SimHitCollectionLabel = cms.untracked.InputTag("g4SimHits","HcalHits")
0017 hltHCALRecoAnalyzer.TestNumber                = cms.bool(False)
0018 
0019 
0020 hltHCALNoiseRates = hcalNoiseRates.clone()
0021 hltHCALNoiseRates.outputFile   = cms.untracked.string('')
0022 hltHCALNoiseRates.rbxCollName  = cms.untracked.InputTag('hcalnoise')
0023 hltHCALNoiseRates.minRBXEnergy = cms.untracked.double(20.0)
0024 hltHCALNoiseRates.minHitEnergy = cms.untracked.double(1.5)
0025 hltHCALNoiseRates.noiselabel   = cms.InputTag('hcalnoise')
0026 
0027 from Configuration.Eras.Modifier_fastSim_cff import fastSim
0028 fastSim.toModify( hltHCALRecoAnalyzer, SimHitCollectionLabel = cms.untracked.InputTag("fastSimProducer","HcalHits") )
0029 
0030 from Configuration.Eras.Modifier_run2_HCAL_2017_cff import run2_HCAL_2017
0031 (run2_HCAL_2017 & ~fastSim).toModify( hltHCALRecoAnalyzer, TestNumber = cms.bool(True) )