CMS 3D CMS Logo

customizeHLTforCMSSW.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # helper fuctions
5 
6 # add one customisation function per PR
7 # - put the PR number into the name of the function
8 # - add a short comment
9 # for example:
10 
11 # CCCTF tuning
12 # def customiseFor12718(process):
13 # for pset in process._Process__psets.values():
14 # if hasattr(pset,'ComponentType'):
15 # if (pset.ComponentType == 'CkfBaseTrajectoryFilter'):
16 # if not hasattr(pset,'minGoodStripCharge'):
17 # pset.minGoodStripCharge = cms.PSet(refToPSet_ = cms.string('HLTSiStripClusterChargeCutNone'))
18 # return process
19 
20 
22  """Adapt the HLT to run the legacy DT unpacking
23  for pre2018 data/MC workflows as the default"""
24 
25  if hasattr(process,'hltMuonDTDigis'):
26  process.hltMuonDTDigis = cms.EDProducer( "DTUnpackingModule",
27  useStandardFEDid = cms.bool( True ),
28  maxFEDid = cms.untracked.int32( 779 ),
29  inputLabel = cms.InputTag( "rawDataCollector" ),
30  minFEDid = cms.untracked.int32( 770 ),
31  dataType = cms.string( "DDU" ),
32  readOutParameters = cms.PSet(
33  localDAQ = cms.untracked.bool( False ),
34  debug = cms.untracked.bool( False ),
35  rosParameters = cms.PSet(
36  localDAQ = cms.untracked.bool( False ),
37  debug = cms.untracked.bool( False ),
38  writeSC = cms.untracked.bool( True ),
39  readDDUIDfromDDU = cms.untracked.bool( True ),
40  readingDDU = cms.untracked.bool( True ),
41  performDataIntegrityMonitor = cms.untracked.bool( False )
42  ),
43  performDataIntegrityMonitor = cms.untracked.bool( False )
44  ),
45  dqmOnly = cms.bool( False )
46  )
47 
48  return process
49 
50 
51 # CMSSW version specific customizations
52 def customizeHLTforCMSSW(process, menuType="GRun"):
53 
54  # add call to action function in proper order: newest last!
55  # process = customiseFor12718(process)
56 
57  return process
def customizeHLTforCMSSW(process, menuType="GRun")
def customiseFor2017DtUnpacking(process)