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  # HcalRecAlgoESProducer - these flags are not used at HLT (they should stay set to the default value for both data and MC)
14  #if 'hcalRecAlgos' in process.__dict__:
15  # import RecoLocalCalo.HcalRecAlgos.RemoveAddSevLevel as HcalRemoveAddSevLevel
16  # HcalRemoveAddSevLevel.AddFlag(process.hcalRecAlgos, "HFDigiTime", 8)
17  # HcalRemoveAddSevLevel.AddFlag(process.hcalRecAlgos, "HBHEFlatNoise", 8)
18  # HcalRemoveAddSevLevel.AddFlag(process.hcalRecAlgos, "HBHESpikeNoise", 8)
19 
20  # PFRecHitProducerHCAL
21  if 'hltParticleFlowRecHitHCAL' in process.__dict__:
22  process.hltParticleFlowRecHitHCAL.ApplyPulseDPG = cms.bool(False)
23  process.hltParticleFlowRecHitHCAL.LongShortFibre_Cut = cms.double(1000000000.0)
24 
25  return process