19 Rescale_eta = cms.double( 3.0 ),
20 Rescale_phi = cms.double( 3.0 ),
21 Rescale_Dz = cms.double( 3.0 ),
22 EtaR_UpperLimit_Par1 = cms.double( 0.25 ),
23 EtaR_UpperLimit_Par2 = cms.double( 0.15 ),
24 PhiR_UpperLimit_Par1 = cms.double( 0.6 ),
25 PhiR_UpperLimit_Par2 = cms.double( 0.2 ),
26 UseVertex = cms.bool(
False ),
27 Pt_fixed = cms.bool(
False ),
28 Z_fixed = cms.bool(
True ),
29 Phi_fixed = cms.bool(
False ),
30 Eta_fixed = cms.bool(
False ),
31 Pt_min = cms.double( 1.5 ),
32 Phi_min = cms.double( 0.1 ),
33 Eta_min = cms.double( 0.1 ),
34 DeltaZ = cms.double( 15.9 ),
35 DeltaR = cms.double( 0.2 ),
36 DeltaEta = cms.double( 0.2 ),
37 DeltaPhi = cms.double( 0.2 ),
38 maxRegions = cms.int32( 2 ),
39 precise = cms.bool(
True ),
40 OnDemand = cms.int32( -1 ),
41 MeasurementTrackerName = cms.InputTag(
"hltESPMeasurementTracker" ),
42 beamSpot = cms.InputTag(
"hltOnlineBeamSpot" ),
43 vertexCollection = cms.InputTag(
"pixelVertices" ),
44 input = cms.InputTag(
'hltL2Muons',
'UpdatedAtVtx' )
47 def producers_by_type(process, type):
48 return (module
for module
in process._Process__producers.values()
if module._TypedParameterizable__type == type)
50 for l3MPModule
in producers_by_type(process,
'L3MuonProducer'):
51 if hasattr(l3MPModule,
'GlbRefitterParameters'):
52 l3MPModule.GlbRefitterParameters.RefitFlag = cms.bool(
True)
53 if hasattr(l3MPModule,
'L3TrajBuilderParameters'):
54 if hasattr(l3MPModule.L3TrajBuilderParameters,
'MuonTrackingRegionBuilder'):
55 l3MPModule.L3TrajBuilderParameters.MuonTrackingRegionBuilder = MTRBPSet
57 listL3seedingModule = [
'hltL3TrajSeedIOHit',
'hltL3NoFiltersNoVtxTrajSeedIOHit',
'hltHIL3TrajSeedIOHit']
58 for l3IOTrajModule
in listL3seedingModule:
59 if hasattr(process, l3IOTrajModule):
60 if hasattr(getattr(process, l3IOTrajModule),
'MuonTrackingRegionBuilder'):
61 setattr(getattr(process, l3IOTrajModule),
'MuonTrackingRegionBuilder', MTRBPSet)