CMS 3D CMS Logo

Functions
customizeHLTforCMSSW Namespace Reference

Functions

def customiseFor19029 (process)
 
def customiseFor19989 (process)
 
def customiseFor20269 (process)
 
def customiseFor20422 (process)
 
def customizeHLTforCMSSW (process, menuType="GRun")
 

Function Documentation

def customizeHLTforCMSSW.customiseFor19029 (   process)

Definition at line 21 of file customizeHLTforCMSSW.py.

References common.producers_by_type().

Referenced by customizeHLTforCMSSW().

21 def customiseFor19029(process):
22  for producer in producers_by_type(process, "RecoTrackRefSelector"):
23  if not hasattr(producer, "minPhi"):
24  producer.minPhi = cms.double(-3.2)
25  producer.maxPhi = cms.double(3.2)
26  return process
27 
def producers_by_type(process, types)
Definition: common.py:5
def customizeHLTforCMSSW.customiseFor19989 (   process)

Definition at line 35 of file customizeHLTforCMSSW.py.

Referenced by customizeHLTforCMSSW().

35 def customiseFor19989(process):
36  if hasattr(process,'StableParametersRcdSource'):
37  delattr(process,'StableParametersRcdSource')
38  if hasattr(process,'StableParameters'):
39  delattr(process,'StableParameters')
40  if not hasattr(process,'GlobalParameters'):
41  from L1Trigger.L1TGlobal.GlobalParameters_cff import GlobalParameters
42  process.GlobalParameters = GlobalParameters
43  return process
44 
45 # new parameter for HCAL method 2 reconstruction
def customizeHLTforCMSSW.customiseFor20269 (   process)

Definition at line 28 of file customizeHLTforCMSSW.py.

References common.esproducers_by_type().

Referenced by customizeHLTforCMSSW().

28 def customiseFor20269(process) :
29  for producer in esproducers_by_type(process, "ClusterShapeHitFilterESProducer"):
30  producer.PixelShapeFile = cms.string('RecoPixelVertexing/PixelLowPtUtilities/data/pixelShapePhase1_noL1.par')
31  producer.PixelShapeFileL1 = cms.string('RecoPixelVertexing/PixelLowPtUtilities/data/pixelShapePhase1_loose.par')
32  return process
33 
34 # Migrate uGT non-CondDB parameters to new cff: remove StableParameters dependence in favour of GlobalParameters
def esproducers_by_type(process, types)
Definition: common.py:17
def customizeHLTforCMSSW.customiseFor20422 (   process)

Definition at line 46 of file customizeHLTforCMSSW.py.

References common.producers_by_type().

Referenced by customizeHLTforCMSSW().

46 def customiseFor20422(process):
47  from RecoLocalCalo.HcalRecProducers.HBHEMethod2Parameters_cfi import m2Parameters
48  for producer in producers_by_type(process, "HBHEPhase1Reconstructor"):
49  producer.algorithm.applyDCConstraint = m2Parameters.applyDCConstraint
50  for producer in producers_by_type(process, "HcalHitReconstructor"):
51  producer.applyDCConstraint = m2Parameters.applyDCConstraint
52  return process
53 
54 # CMSSW version specific customizations
def producers_by_type(process, types)
Definition: common.py:5
def customizeHLTforCMSSW.customizeHLTforCMSSW (   process,
  menuType = "GRun" 
)

Definition at line 55 of file customizeHLTforCMSSW.py.

References customiseFor19029(), customiseFor19989(), customiseFor20269(), and customiseFor20422().

55 def customizeHLTforCMSSW(process, menuType="GRun"):
56 
57  # add call to action function in proper order: newest last!
58  # process = customiseFor12718(process)
59 
60  process = customiseFor19029(process)
61  process = customiseFor20269(process)
62  process = customiseFor19989(process)
63  process = customiseFor20422(process)
64 
65  return process
66 
def customizeHLTforCMSSW(process, menuType="GRun")