CMS 3D CMS Logo

Functions

customizeHLTforMC Namespace Reference

Functions

def customizeHLTforMC

Function Documentation

def customizeHLTforMC::customizeHLTforMC (   process)
adapt the HLT to run on MC, instead of data
see Configuration/StandardSequences/Reconstruction_Data_cff.py
which does the opposite, for RECO

Definition at line 3 of file customizeHLTforMC.py.

00004                               :
00005   """adapt the HLT to run on MC, instead of data
00006   see Configuration/StandardSequences/Reconstruction_Data_cff.py
00007   which does the opposite, for RECO"""
00008 
00009   # CSCHaloDataProducer - not used at HLT
00010   #if 'CSCHaloData' in process.__dict__:
00011   #  process.CSCHaloData.ExpectedBX = cms.int32(6)
00012 
00013   # EcalUncalibRecHitProducer - not used at HLT
00014   #if 'ecalGlobalUncalibRecHit' in process.__dict__:
00015   #  process.ecalGlobalUncalibRecHit.doEBtimeCorrection = cms.bool(False)
00016   #  process.ecalGlobalUncalibRecHit.doEEtimeCorrection = cms.bool(False)
00017 
00018   # HcalRecAlgoESProducer - these flags are not used at HLT (they should stay set to the default value for both data and MC)
00019   #if 'hcalRecAlgos' in process.__dict__:
00020   #  import RecoLocalCalo.HcalRecAlgos.RemoveAddSevLevel as HcalRemoveAddSevLevel
00021   #  HcalRemoveAddSevLevel.AddFlag(process.hcalRecAlgos, "HFDigiTime",     8)
00022   #  HcalRemoveAddSevLevel.AddFlag(process.hcalRecAlgos, "HBHEFlatNoise",  8)
00023   #  HcalRemoveAddSevLevel.AddFlag(process.hcalRecAlgos, "HBHESpikeNoise", 8)
00024 
00025   # PFRecHitProducerHCAL
00026   if 'hltParticleFlowRecHitHCAL' in process.__dict__:
00027     process.hltParticleFlowRecHitHCAL.ApplyPulseDPG      = cms.bool(False)
00028     process.hltParticleFlowRecHitHCAL.LongShortFibre_Cut = cms.double(1000000000.0)
00029 
00030   return process