Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:33:09

0001 # configuration for FullSim: muon track validation using TrackAssociatorByPosition
0002 #  (backup solution, incomplete, not run by default)
0003 #
0004 import FWCore.ParameterSet.Config as cms
0005 
0006 from Validation.RecoMuon.selectors_cff import *
0007 from Validation.RecoMuon.tabp_associators_cff import *
0008 import Validation.RecoMuon.MuonTrackValidator_cfi
0009 
0010 l2MuonTrackV = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
0011 l2MuonTrackV.label = ('hltL2Muons',)
0012 l2MuonTrackV.associatormap = 'tpToL2TrackAssociation'
0013 l2MuonTrackV.associators = ('TrackAssociatorByDeltaR',)
0014 l2MuonTrackV.dirName = 'HLT/Muon/MuonTrack/'
0015 #l2MuonTrackV.beamSpot = 'hltOfflineBeamSpot'
0016 l2MuonTrackV.ignoremissingtrackcollection=True
0017 l2MuonTrackV.usetracker = False
0018 l2MuonTrackV.usemuon = True
0019 
0020 l2UpdMuonTrackV = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
0021 l2UpdMuonTrackV.label = ('hltL2Muons:UpdatedAtVtx',)
0022 l2UpdMuonTrackV.associatormap = 'tpToL2UpdTrackAssociation'
0023 l2UpdMuonTrackV.associators = ('TrackAssociatorByDeltaR',)
0024 l2UpdMuonTrackV.dirName = 'HLT/Muon/MuonTrack/'
0025 #l2UpdMuonTrackV.beamSpot = 'hltOfflineBeamSpot'
0026 l2UpdMuonTrackV.ignoremissingtrackcollection=True
0027 l2UpdMuonTrackV.usetracker = False
0028 l2UpdMuonTrackV.usemuon = True
0029 
0030 l3MuonTrackV = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
0031 l3MuonTrackV.associatormap = 'tpToL3TrackAssociation'
0032 l3MuonTrackV.label = ('hltL3Muons',)
0033 l3MuonTrackV.associators = ('TrackAssociatorByDeltaR',)
0034 l3MuonTrackV.dirName = 'HLT/Muon/MuonTrack/'
0035 #l3MuonTrackV.beamSpot = 'hltOfflineBeamSpot'
0036 l3MuonTrackV.ignoremissingtrackcollection=True
0037 l3MuonTrackV.usetracker = True
0038 l3MuonTrackV.usemuon = True
0039 
0040 l3TkMuonTrackV = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
0041 l3TkMuonTrackV.associatormap = 'tpToL3TkTrackTrackAssociation'
0042 l3TkMuonTrackV.label = ('hltL3TkTracksFromL2',)
0043 l3TkMuonTrackV.associators = ('OnlineTrackAssociatorByHits',)
0044 l3TkMuonTrackV.dirName = 'HLT/Muon/MuonTrack/'
0045 #l3TkMuonTrackV.beamSpot = 'hltOfflineBeamSpot'
0046 l3TkMuonTrackV.ignoremissingtrackcollection=True
0047 l3TkMuonTrackV.usetracker = True
0048 l3TkMuonTrackV.usemuon = False
0049 
0050 #
0051 # The full Muon HLT validation sequence
0052 #
0053 muonValidationHLT_seq = cms.Sequence(
0054     tpToL2TrackAssociation + l2MuonTrackV
0055     +tpToL2UpdTrackAssociation + l2UpdMuonTrackV
0056     +tpToL3TkTrackTrackAssociation + l3TkMuonTrackV
0057     +tpToL3TrackAssociation + l3MuonTrackV
0058     )
0059 
0060 recoMuonValidationHLT_seq = cms.Sequence(muonValidationHLT_seq)