CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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.

3 
4 def customizeHLTforMC(process):
5  """adapt the HLT to run on MC, instead of data
6  see Configuration/StandardSequences/Reconstruction_Data_cff.py
7  which does the opposite, for RECO"""
8 
9  # CSCHaloDataProducer - not used at HLT
10  #if 'CSCHaloData' in process.__dict__:
11  # process.CSCHaloData.ExpectedBX = cms.int32(6)
12 
13  # EcalUncalibRecHitProducer - not used at HLT
14  #if 'ecalGlobalUncalibRecHit' in process.__dict__:
15  # process.ecalGlobalUncalibRecHit.doEBtimeCorrection = cms.bool(False)
16  # process.ecalGlobalUncalibRecHit.doEEtimeCorrection = cms.bool(False)
17 
18  # HcalRecAlgoESProducer - these flags are not used at HLT (they should stay set to the default value for both data and MC)
19  #if 'hcalRecAlgos' in process.__dict__:
20  # import RecoLocalCalo.HcalRecAlgos.RemoveAddSevLevel as HcalRemoveAddSevLevel
21  # HcalRemoveAddSevLevel.AddFlag(process.hcalRecAlgos, "HFDigiTime", 8)
22  # HcalRemoveAddSevLevel.AddFlag(process.hcalRecAlgos, "HBHEFlatNoise", 8)
23  # HcalRemoveAddSevLevel.AddFlag(process.hcalRecAlgos, "HBHESpikeNoise", 8)
24 
25  # PFRecHitProducerHCAL
26  if 'hltParticleFlowRecHitHCAL' in process.__dict__:
27  process.hltParticleFlowRecHitHCAL.ApplyPulseDPG = cms.bool(False)
28  process.hltParticleFlowRecHitHCAL.LongShortFibre_Cut = cms.double(1000000000.0)
29 
30  return process