CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
customizeHLTforCMSSW Namespace Reference

Functions

def customizeHLTforCMSSW
 
def esproducers_by_type
 
def producers_by_type
 

Function Documentation

def customizeHLTforCMSSW.customizeHLTforCMSSW (   process,
  menuType = "GRun" 
)

Definition at line 25 of file customizeHLTforCMSSW.py.

25 
26 def customizeHLTforCMSSW(process, menuType="GRun"):
27  import os
28  cmsswVersion = os.environ['CMSSW_VERSION']
29 
30  if cmsswVersion >= "CMSSW_8_0":
31 # process = customiseFor12718(process)
32  pass
33 
34  return process
def customizeHLTforCMSSW.esproducers_by_type (   process,
  types 
)

Definition at line 8 of file customizeHLTforCMSSW.py.

8 
9 def esproducers_by_type(process, *types):
10  return (module for module in process._Process__esproducers.values() if module._TypedParameterizable__type in types)
11 
12 #
13 # one action function per PR - put the PR number into the name of the function
14 
15 # example:
16 # def customiseFor12718(process):
17 # for pset in process._Process__psets.values():
18 # if hasattr(pset,'ComponentType'):
19 # if (pset.ComponentType == 'CkfBaseTrajectoryFilter'):
20 # if not hasattr(pset,'minGoodStripCharge'):
21 # pset.minGoodStripCharge = cms.PSet(refToPSet_ = cms.string('HLTSiStripClusterChargeCutNone'))
22 # return process
23 
24 #
# CMSSW version specific customizations
def customizeHLTforCMSSW.producers_by_type (   process,
  types 
)

Definition at line 5 of file customizeHLTforCMSSW.py.

5 
6 def producers_by_type(process, *types):
7  return (module for module in process._Process__producers.values() if module._TypedParameterizable__type in types)