CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
customizeHLTforMC.py
Go to the documentation of this file.
2 
3 def customizeHLTforMC(process):
4  """adapt the HLT to run on MC, instead of data
5  see Configuration/StandardSequences/Reconstruction_Data_cff.py
6  which does the opposite, for RECO"""
7 
8  # CSCHaloDataProducer - not used at HLT
9  #if 'CSCHaloData' in process.__dict__:
10  # process.CSCHaloData.ExpectedBX = cms.int32(6)
11 
12  # HcalRecAlgoESProducer - these flags are not used at HLT (they should stay set to the default value for both data and MC)
13  #if 'hcalRecAlgos' in process.__dict__:
14  # import RecoLocalCalo.HcalRecAlgos.RemoveAddSevLevel as HcalRemoveAddSevLevel
15  # HcalRemoveAddSevLevel.AddFlag(process.hcalRecAlgos, "HFDigiTime", 8)
16  # HcalRemoveAddSevLevel.AddFlag(process.hcalRecAlgos, "HBHEFlatNoise", 8)
17  # HcalRemoveAddSevLevel.AddFlag(process.hcalRecAlgos, "HBHESpikeNoise", 8)
18 
19  # PFRecHitProducerHCAL
20  if 'hltParticleFlowRecHitHCAL' in process.__dict__:
21  process.hltParticleFlowRecHitHCAL.ApplyPulseDPG = cms.bool(False)
22  process.hltParticleFlowRecHitHCAL.LongShortFibre_Cut = cms.double(1000000000.0)
23 
24  return process