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.associators_cff import *
0008 import Validation.RecoMuon.MuonTrackValidator_cfi
0009 
0010 trkMuonTrackVTrackAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
0011 trkMuonTrackVTrackAssoc.associatormap = 'tpToTkmuTrackAssociation'
0012 trkMuonTrackVTrackAssoc.associators = ('trackAssociatorByHits',)
0013 #trkMuonTrackVTrackAssoc.label = ('generalTracks',)
0014 trkMuonTrackVTrackAssoc.label = ('probeTracks',)
0015 trkMuonTrackVTrackAssoc.usetracker = True
0016 trkMuonTrackVTrackAssoc.usemuon = False
0017 
0018 staMuonTrackVTrackAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
0019 staMuonTrackVTrackAssoc.associatormap = 'tpToStaTrackAssociation'
0020 staMuonTrackVTrackAssoc.associators = ('trackAssociatorByDeltaR',)
0021 staMuonTrackVTrackAssoc.label = ('standAloneMuons',)
0022 staMuonTrackVTrackAssoc.usetracker = False
0023 staMuonTrackVTrackAssoc.usemuon = True
0024 
0025 staUpdMuonTrackVTrackAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
0026 staUpdMuonTrackVTrackAssoc.associatormap = 'tpToStaUpdTrackAssociation'
0027 staUpdMuonTrackVTrackAssoc.associators = ('trackAssociatorByDeltaR',)
0028 staUpdMuonTrackVTrackAssoc.label = ('standAloneMuons:UpdatedAtVtx',)
0029 staUpdMuonTrackVTrackAssoc.usetracker = False
0030 staUpdMuonTrackVTrackAssoc.usemuon = True
0031 
0032 glbMuonTrackVTrackAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
0033 glbMuonTrackVTrackAssoc.associatormap = 'tpToGlbTrackAssociation'
0034 glbMuonTrackVTrackAssoc.associators = ('trackAssociatorByDeltaR',)
0035 glbMuonTrackVTrackAssoc.label = ('globalMuons',)
0036 glbMuonTrackVTrackAssoc.usetracker = True
0037 glbMuonTrackVTrackAssoc.usemuon = True
0038 
0039 staSETMuonTrackVTrackAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
0040 staSETMuonTrackVTrackAssoc.associatormap = 'tpToStaSETTrackAssociation'
0041 staSETMuonTrackVTrackAssoc.associators = ('trackAssociatorByDeltaR',)
0042 staSETMuonTrackVTrackAssoc.label = ('standAloneSETMuons',)
0043 staSETMuonTrackVTrackAssoc.usetracker = False
0044 staSETMuonTrackVTrackAssoc.usemuon = True
0045 
0046 staSETUpdMuonTrackVTrackAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
0047 staSETUpdMuonTrackVTrackAssoc.associatormap = 'tpToStaSETUpdTrackAssociation'
0048 staSETUpdMuonTrackVTrackAssoc.associators = ('trackAssociatorByDeltaR',)
0049 staSETUpdMuonTrackVTrackAssoc.label = ('standAloneSETMuons:UpdatedAtVtx',)
0050 staSETUpdMuonTrackVTrackAssoc.usetracker = False
0051 staSETUpdMuonTrackVTrackAssoc.usemuon = True
0052 
0053 glbSETMuonTrackVTrackAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
0054 glbSETMuonTrackVTrackAssoc.associatormap = 'tpToGlbSETTrackAssociation'
0055 glbSETMuonTrackVTrackAssoc.associators = ('trackAssociatorByDeltaR',)
0056 glbSETMuonTrackVTrackAssoc.label = ('globalSETMuons',)
0057 glbSETMuonTrackVTrackAssoc.usetracker = True
0058 glbSETMuonTrackVTrackAssoc.usemuon = True
0059 
0060 tevMuonFirstTrackVTrackAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
0061 tevMuonFirstTrackVTrackAssoc.associatormap = 'tpToTevFirstTrackAssociation'
0062 tevMuonFirstTrackVTrackAssoc.associators = ('trackAssociatorByDeltaR',)
0063 tevMuonFirstTrackVTrackAssoc.label = ('tevMuons:firstHit',)
0064 tevMuonFirstTrackVTrackAssoc.usetracker = True
0065 tevMuonFirstTrackVTrackAssoc.usemuon = True
0066 
0067 tevMuonPickyTrackVTrackAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
0068 tevMuonPickyTrackVTrackAssoc.associatormap = 'tpToTevPickyTrackAssociation'
0069 tevMuonPickyTrackVTrackAssoc.associators = ('trackAssociatorByDeltaR',)
0070 tevMuonPickyTrackVTrackAssoc.label = ('tevMuons:picky',)
0071 tevMuonPickyTrackVTrackAssoc.usetracker = True
0072 tevMuonPickyTrackVTrackAssoc.usemuon = True
0073 
0074 tevMuonDytTrackVTrackAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
0075 tevMuonDytTrackVTrackAssoc.associatormap = 'tpToTevDytTrackAssociation'
0076 tevMuonDytTrackVTrackAssoc.associators = ('trackAssociatorByDeltaR',)
0077 tevMuonDytTrackVTrackAssoc.label = ('tevMuons:dyt',)
0078 tevMuonDytTrackVTrackAssoc.usetracker = True
0079 tevMuonDytTrackVTrackAssoc.usemuon = True
0080 
0081 trkCosmicMuonTrackVTrackAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
0082 trkCosmicMuonTrackVTrackAssoc.associatormap = 'tpToTkCosmicTrackAssociation'
0083 trkCosmicMuonTrackVTrackAssoc.associators = ('trackAssociatorByHits',)
0084 trkCosmicMuonTrackVTrackAssoc.label = ('ctfWithMaterialTracksP5LHCNavigation',)
0085 trkCosmicMuonTrackVTrackAssoc.usetracker = True
0086 trkCosmicMuonTrackVTrackAssoc.usemuon = False
0087 
0088 staCosmicMuonTrackVTrackAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
0089 staCosmicMuonTrackVTrackAssoc.associatormap = 'tpToStaCosmicTrackAssociation'
0090 staCosmicMuonTrackVTrackAssoc.associators = ('trackAssociatorByDeltaR',)
0091 staCosmicMuonTrackVTrackAssoc.label = ('cosmicMuons',)
0092 staCosmicMuonTrackVTrackAssoc.usetracker = False
0093 staCosmicMuonTrackVTrackAssoc.usemuon = True
0094 
0095 glbCosmicMuonTrackVTrackAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
0096 glbCosmicMuonTrackVTrackAssoc.associatormap = 'tpToGlbCosmicTrackAssociation'
0097 glbCosmicMuonTrackVTrackAssoc.associators = ('trackAssociatorByDeltaR',)
0098 glbCosmicMuonTrackVTrackAssoc.label = ('globalCosmicMuons',)
0099 glbCosmicMuonTrackVTrackAssoc.usetracker = True
0100 glbCosmicMuonTrackVTrackAssoc.usemuon = True
0101 
0102 #
0103 # Muon validation sequences
0104 #
0105 muonValidation_seq = cms.Sequence(
0106     probeTracks_seq
0107     +trackAssociatorByHits + tpToTkmuTrackAssociation + trkMuonTrackVTrackAssoc
0108     +tpToStaTrackAssociation + staMuonTrackVTrackAssoc
0109     +tpToStaUpdTrackAssociation + staUpdMuonTrackVTrackAssoc
0110     +tpToGlbTrackAssociation + glbMuonTrackVTrackAssoc
0111     )
0112 
0113 muonValidationTEV_seq = cms.Sequence(
0114     tpToTevFirstTrackAssociation + tevMuonFirstTrackVTrackAssoc
0115     +tpToTevPickyTrackAssociation + tevMuonPickyTrackVTrackAssoc
0116     +tpToTevDytTrackAssociation + tevMuonDytTrackVTrackAssoc
0117     )
0118 
0119 muonValidationSET_seq = cms.Sequence(
0120     tpToStaSETTrackAssociation + staSETMuonTrackVTrackAssoc
0121     +tpToStaSETUpdTrackAssociation + staSETUpdMuonTrackVTrackAssoc
0122     +tpToGlbSETTrackAssociation + glbSETMuonTrackVTrackAssoc
0123     )
0124 
0125 muonValidationCosmic_seq = cms.Sequence(
0126     tpToTkCosmicTrackAssociation + trkCosmicMuonTrackVTrackAssoc
0127     +tpToStaCosmicTrackAssociation + staCosmicMuonTrackVTrackAssoc
0128     +tpToGlbCosmicTrackAssociation + glbCosmicMuonTrackVTrackAssoc
0129     )
0130 
0131 # The muon validation sequence
0132 recoMuonValidation = cms.Sequence(
0133     muonValidation_seq + muonValidationTEV_seq + muonValidationSET_seq
0134     )
0135 
0136 # sequence for cosmic muons
0137 recoCosmicMuonValidation = cms.Sequence(
0138     muonValidationCosmic_seq
0139     )