File indexing completed on 2023-03-17 11:06:09
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def customizeHLTforMC(process):
0004 """adapt the HLT to run on MC, instead of data
0005 see Configuration/StandardSequences/Reconstruction_Data_cff.py
0006 which does the opposite, for RECO"""
0007
0008
0009 if 'hltParticleFlowRecHitHCAL' in process.__dict__:
0010 process.hltParticleFlowRecHitHCAL.ApplyPulseDPG = cms.bool(False)
0011 process.hltParticleFlowRecHitHCAL.LongShortFibre_Cut = cms.double(1000000000.0)
0012
0013
0014 if 'hltHbhereco' in process.__dict__:
0015 if process.hltHbhereco._TypedParameterizable__type == 'HcalHitReconstructor':
0016
0017 process.hltHbhereco.pedestalSubtractionType = cms.int32( 1 )
0018 process.hltHbhereco.pedestalUpperLimit = cms.double( 2.7 )
0019 process.hltHbhereco.timeSlewParsType = cms.int32( 3 )
0020
0021 process.hltHbhereco.timeSlewPars = cms.vdouble( 12.2999, -2.19142, 0, 12.2999, -2.19142, 0, 12.2999, -2.19142, 0 )
0022
0023 process.hltHbhereco.respCorrM3 = cms.double( 1.0 )
0024 elif process.hltHbhereco._TypedParameterizable__type == 'HBHEPhase1Reconstructor':
0025
0026 process.hltHbhereco.algorithm.respCorrM3 = cms.double( 1.0 )
0027
0028 if 'hltHbhePhase1Reco' in process.__dict__:
0029 if process.hltHbhePhase1Reco._TypedParameterizable__type == 'HBHEPhase1Reconstructor':
0030
0031
0032
0033 pass
0034
0035 return process