Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:31:43

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from TrackPropagation.SteppingHelixPropagator.SteppingHelixPropagatorAny_cfi import *
0004 from TrackPropagation.SteppingHelixPropagator.SteppingHelixPropagatorAlong_cfi import *
0005 from TrackPropagation.SteppingHelixPropagator.SteppingHelixPropagatorOpposite_cfi import *
0006 from RecoMuon.DetLayers.muonDetLayerGeometry_cfi import *
0007 
0008 triggerMatcherToHLTDebug = cms.EDProducer("TriggerMatcherToHLTDebug",
0009     tags = cms.InputTag("muons"), 
0010     l1s  = cms.InputTag("hltL1extraParticles"),
0011     L2Muons_Collection=cms.InputTag("hltL2MuonCandidates"),
0012     L2Seeds_Collection=cms.InputTag("hltL2MuonSeeds"),
0013     L3Seeds_Collection=cms.InputTag("hltL3TrajectorySeed"),
0014     L3TkTracks_Collection=cms.InputTag("hltL3TkTracksFromL2"),
0015     L3Muons_Collection=cms.InputTag("hltL3MuonCandidates"), 
0016     BeamSpotTag = cms.InputTag("hltOfflineBeamSpot"),
0017 
0018     l1matcherConfig = cms.PSet(
0019         #useTrack = cms.string('global'),
0020         #useState = cms.string('outermost'),
0021         useTrack = cms.string("tracker"),  # 'none' to use Candidate P4; or 'tracker', 'muon', 'global'
0022         useState = cms.string("atVertex"), # 'innermost' and 'outermost' require the TrackExtra
0023         useSimpleGeometry = cms.bool(True),
0024     ),
0025     deltaR  = cms.double(0.3),
0026 
0027     #FilteringL1
0028     MinL1Quality = cms.int32( 1 ),
0029 
0030     #associationMap                                      
0031     SeedMapTag = cms.InputTag( "hltL2Muons" ),
0032 
0033 
0034 
0035     #FilteringL2
0036     #PreviousCandTag_L2 = cms.InputTag( "hltL1SingleMu3L1Filtered0" ),
0037     MinN_L2 = cms.int32( 1 ),
0038     MaxEta_L2 = cms.double( 2.5 ),
0039     MinNhits_L2 = cms.int32( 0 ),
0040     MaxDr_L2 = cms.double( 9999.0 ),
0041     MaxDz_L2 = cms.double( 9999.0 ),
0042     MinPt_L2 = cms.double( 7.0 ),
0043     NSigmaPt_L2 = cms.double( 0.0 ),
0044 
0045     #PreviousCandTag_L3 = cms.InputTag( "hltSingleMu5L2Filtered4" ),
0046     MinN_L3 = cms.int32( 1 ),
0047     MaxEta_L3 = cms.double( 2.5 ),
0048     MinNhits_L3 = cms.int32( 0 ),
0049     MaxDr_L3 = cms.double( 2.0 ),
0050     MaxDz_L3 = cms.double( 9999.0 ),
0051     MinPt_L3 = cms.double( 9.0 ),
0052     NSigmaPt_L3 = cms.double( 0.0 ),
0053 )
0054 
0055 def addUserData(patMuonProducer, matcherLabel='triggerMatcherToHLTDebug'):
0056     patMuonProducer.userData.userInts.src += [
0057         cms.InputTag(matcherLabel,"propagatesToM2"),
0058         cms.InputTag(matcherLabel,"hasL1Particle"),
0059         cms.InputTag(matcherLabel,"hasL1Filtered"),
0060         cms.InputTag(matcherLabel,"hasL2Seed"),
0061         cms.InputTag(matcherLabel,"hasL2Muon"),
0062         cms.InputTag(matcherLabel,"hasL2MuonFiltered"),
0063         cms.InputTag(matcherLabel,"hasL3Seed"),
0064         cms.InputTag(matcherLabel,"hasL3Track"),
0065         cms.InputTag(matcherLabel,"hasL3Muon"),
0066         cms.InputTag(matcherLabel,"hasL3MuonFiltered"),
0067     ]
0068     patMuonProducer.userData.userCands.src += [
0069         cms.InputTag(matcherLabel,"l1Candidate"),
0070         cms.InputTag(matcherLabel,"l2Candidate"),
0071         cms.InputTag(matcherLabel,"l3Candidate"),
0072     ]
0073