Main Page
Namespaces
Classes
Package Documentation
HLTrigger
Configuration
python
customizeHLTforCMSSW.py
Go to the documentation of this file.
1
import
FWCore.ParameterSet.Config
as
cms
2
3
# helper fuctions
4
from
HLTrigger.Configuration.common
import
*
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
# CMSSW version specific customizations
21
def
customizeHLTforCMSSW
(process, menuType="GRun"):
22
23
# add call to action function in proper order: newest last!
24
# process = customiseFor12718(process)
25
26
return
process
customizeHLTforCMSSW.customizeHLTforCMSSW
def customizeHLTforCMSSW(process, menuType="GRun")
Definition:
customizeHLTforCMSSW.py:21
common
Generated for CMSSW Reference Manual by
1.8.11