CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_9_patch3/src/MuonAnalysis/MuonAssociators/python/triggerMatcherToHLTDebug_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 from TrackPropagation.SteppingHelixPropagator.SteppingHelixPropagatorAny_cfi import *
00004 from TrackPropagation.SteppingHelixPropagator.SteppingHelixPropagatorAlong_cfi import *
00005 from TrackPropagation.SteppingHelixPropagator.SteppingHelixPropagatorOpposite_cfi import *
00006 from RecoMuon.DetLayers.muonDetLayerGeometry_cfi import *
00007 
00008 triggerMatcherToHLTDebug = cms.EDProducer("triggerMatcherToHLTDebug",
00009     tags = cms.InputTag("muons"), 
00010     l1s  = cms.InputTag("hltL1extraParticles"),
00011     L2Muons_Collection=cms.InputTag("hltL2MuonCandidates"),
00012     L2Seeds_Collection=cms.InputTag("hltL2MuonSeeds"),
00013     L3Seeds_Collection=cms.InputTag("hltL3TrajectorySeed"),
00014     L3TkTracks_Collection=cms.InputTag("hltL3TkTracksFromL2"),
00015     L3Muons_Collection=cms.InputTag("hltL3MuonCandidates"), 
00016     BeamSpotTag = cms.InputTag("hltOfflineBeamSpot"),
00017 
00018     l1matcherConfig = cms.PSet(
00019         #useTrack = cms.string('global'),
00020         #useState = cms.string('outermost'),
00021         useTrack = cms.string("tracker"),  # 'none' to use Candidate P4; or 'tracker', 'muon', 'global'
00022         useState = cms.string("atVertex"), # 'innermost' and 'outermost' require the TrackExtra
00023         useSimpleGeometry = cms.bool(True),
00024     ),
00025     deltaR  = cms.double(0.3),
00026 
00027     #FilteringL1
00028     MinL1Quality = cms.int32( 1 ),
00029 
00030     #associationMap                                      
00031     SeedMapTag = cms.InputTag( "hltL2Muons" ),
00032 
00033 
00034 
00035     #FilteringL2
00036     #PreviousCandTag_L2 = cms.InputTag( "hltL1SingleMu3L1Filtered0" ),
00037     MinN_L2 = cms.int32( 1 ),
00038     MaxEta_L2 = cms.double( 2.5 ),
00039     MinNhits_L2 = cms.int32( 0 ),
00040     MaxDr_L2 = cms.double( 9999.0 ),
00041     MaxDz_L2 = cms.double( 9999.0 ),
00042     MinPt_L2 = cms.double( 7.0 ),
00043     NSigmaPt_L2 = cms.double( 0.0 ),
00044 
00045     #PreviousCandTag_L3 = cms.InputTag( "hltSingleMu5L2Filtered4" ),
00046     MinN_L3 = cms.int32( 1 ),
00047     MaxEta_L3 = cms.double( 2.5 ),
00048     MinNhits_L3 = cms.int32( 0 ),
00049     MaxDr_L3 = cms.double( 2.0 ),
00050     MaxDz_L3 = cms.double( 9999.0 ),
00051     MinPt_L3 = cms.double( 9.0 ),
00052     NSigmaPt_L3 = cms.double( 0.0 ),
00053 )
00054 
00055 def addUserData(patMuonProducer, matcherLabel='triggerMatcherToHLTDebug'):
00056     patMuonProducer.userData.userInts.src += [
00057         cms.InputTag(matcherLabel,"propagatesToM2"),
00058         cms.InputTag(matcherLabel,"hasL1Particle"),
00059         cms.InputTag(matcherLabel,"hasL1Filtered"),
00060         cms.InputTag(matcherLabel,"hasL2Seed"),
00061         cms.InputTag(matcherLabel,"hasL2Muon"),
00062         cms.InputTag(matcherLabel,"hasL2MuonFiltered"),
00063         cms.InputTag(matcherLabel,"hasL3Seed"),
00064         cms.InputTag(matcherLabel,"hasL3Track"),
00065         cms.InputTag(matcherLabel,"hasL3Muon"),
00066         cms.InputTag(matcherLabel,"hasL3MuonFiltered"),
00067     ]
00068     patMuonProducer.userData.userCands.src += [
00069         cms.InputTag(matcherLabel,"l1Candidate"),
00070         cms.InputTag(matcherLabel,"l2Candidate"),
00071         cms.InputTag(matcherLabel,"l3Candidate"),
00072     ]
00073