4 import FWCore.ParameterSet.Config
as cms
8 import Validation.RecoMuon.MuonTrackValidator_cfi
10 trkMuonTrackVTrackAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
11 trkMuonTrackVTrackAssoc.associatormap =
'tpToTkmuTrackAssociation'
12 trkMuonTrackVTrackAssoc.associators = (
'trackAssociatorByHits',)
14 trkMuonTrackVTrackAssoc.label = (
'probeTracks',)
15 trkMuonTrackVTrackAssoc.usetracker =
True
16 trkMuonTrackVTrackAssoc.usemuon =
False
18 staMuonTrackVTrackAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
19 staMuonTrackVTrackAssoc.associatormap =
'tpToStaTrackAssociation'
20 staMuonTrackVTrackAssoc.associators = (
'trackAssociatorByDeltaR',)
21 staMuonTrackVTrackAssoc.label = (
'standAloneMuons',)
22 staMuonTrackVTrackAssoc.usetracker =
False
23 staMuonTrackVTrackAssoc.usemuon =
True
25 staUpdMuonTrackVTrackAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
26 staUpdMuonTrackVTrackAssoc.associatormap =
'tpToStaUpdTrackAssociation'
27 staUpdMuonTrackVTrackAssoc.associators = (
'trackAssociatorByDeltaR',)
28 staUpdMuonTrackVTrackAssoc.label = (
'standAloneMuons:UpdatedAtVtx',)
29 staUpdMuonTrackVTrackAssoc.usetracker =
False
30 staUpdMuonTrackVTrackAssoc.usemuon =
True
32 glbMuonTrackVTrackAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
33 glbMuonTrackVTrackAssoc.associatormap =
'tpToGlbTrackAssociation'
34 glbMuonTrackVTrackAssoc.associators = (
'trackAssociatorByDeltaR',)
35 glbMuonTrackVTrackAssoc.label = (
'globalMuons',)
36 glbMuonTrackVTrackAssoc.usetracker =
True
37 glbMuonTrackVTrackAssoc.usemuon =
True
39 staSETMuonTrackVTrackAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
40 staSETMuonTrackVTrackAssoc.associatormap =
'tpToStaSETTrackAssociation'
41 staSETMuonTrackVTrackAssoc.associators = (
'trackAssociatorByDeltaR',)
42 staSETMuonTrackVTrackAssoc.label = (
'standAloneSETMuons',)
43 staSETMuonTrackVTrackAssoc.usetracker =
False
44 staSETMuonTrackVTrackAssoc.usemuon =
True
46 staSETUpdMuonTrackVTrackAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
47 staSETUpdMuonTrackVTrackAssoc.associatormap =
'tpToStaSETUpdTrackAssociation'
48 staSETUpdMuonTrackVTrackAssoc.associators = (
'trackAssociatorByDeltaR',)
49 staSETUpdMuonTrackVTrackAssoc.label = (
'standAloneSETMuons:UpdatedAtVtx',)
50 staSETUpdMuonTrackVTrackAssoc.usetracker =
False
51 staSETUpdMuonTrackVTrackAssoc.usemuon =
True
53 glbSETMuonTrackVTrackAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
54 glbSETMuonTrackVTrackAssoc.associatormap =
'tpToGlbSETTrackAssociation'
55 glbSETMuonTrackVTrackAssoc.associators = (
'trackAssociatorByDeltaR',)
56 glbSETMuonTrackVTrackAssoc.label = (
'globalSETMuons',)
57 glbSETMuonTrackVTrackAssoc.usetracker =
True
58 glbSETMuonTrackVTrackAssoc.usemuon =
True
60 tevMuonFirstTrackVTrackAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
61 tevMuonFirstTrackVTrackAssoc.associatormap =
'tpToTevFirstTrackAssociation'
62 tevMuonFirstTrackVTrackAssoc.associators = (
'trackAssociatorByDeltaR',)
63 tevMuonFirstTrackVTrackAssoc.label = (
'tevMuons:firstHit',)
64 tevMuonFirstTrackVTrackAssoc.usetracker =
True
65 tevMuonFirstTrackVTrackAssoc.usemuon =
True
67 tevMuonPickyTrackVTrackAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
68 tevMuonPickyTrackVTrackAssoc.associatormap =
'tpToTevPickyTrackAssociation'
69 tevMuonPickyTrackVTrackAssoc.associators = (
'trackAssociatorByDeltaR',)
70 tevMuonPickyTrackVTrackAssoc.label = (
'tevMuons:picky',)
71 tevMuonPickyTrackVTrackAssoc.usetracker =
True
72 tevMuonPickyTrackVTrackAssoc.usemuon =
True
74 tevMuonDytTrackVTrackAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
75 tevMuonDytTrackVTrackAssoc.associatormap =
'tpToTevDytTrackAssociation'
76 tevMuonDytTrackVTrackAssoc.associators = (
'trackAssociatorByDeltaR',)
77 tevMuonDytTrackVTrackAssoc.label = (
'tevMuons:dyt',)
78 tevMuonDytTrackVTrackAssoc.usetracker =
True
79 tevMuonDytTrackVTrackAssoc.usemuon =
True
81 trkCosmicMuonTrackVTrackAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
82 trkCosmicMuonTrackVTrackAssoc.associatormap =
'tpToTkCosmicTrackAssociation'
83 trkCosmicMuonTrackVTrackAssoc.associators = (
'trackAssociatorByHits',)
84 trkCosmicMuonTrackVTrackAssoc.label = (
'ctfWithMaterialTracksP5LHCNavigation',)
85 trkCosmicMuonTrackVTrackAssoc.usetracker =
True
86 trkCosmicMuonTrackVTrackAssoc.usemuon =
False
88 staCosmicMuonTrackVTrackAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
89 staCosmicMuonTrackVTrackAssoc.associatormap =
'tpToStaCosmicTrackAssociation'
90 staCosmicMuonTrackVTrackAssoc.associators = (
'trackAssociatorByDeltaR',)
91 staCosmicMuonTrackVTrackAssoc.label = (
'cosmicMuons',)
92 staCosmicMuonTrackVTrackAssoc.usetracker =
False
93 staCosmicMuonTrackVTrackAssoc.usemuon =
True
95 glbCosmicMuonTrackVTrackAssoc = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
96 glbCosmicMuonTrackVTrackAssoc.associatormap =
'tpToGlbCosmicTrackAssociation'
97 glbCosmicMuonTrackVTrackAssoc.associators = (
'trackAssociatorByDeltaR',)
98 glbCosmicMuonTrackVTrackAssoc.label = (
'globalCosmicMuons',)
99 glbCosmicMuonTrackVTrackAssoc.usetracker =
True
100 glbCosmicMuonTrackVTrackAssoc.usemuon =
True
105 muonValidation_seq = cms.Sequence(
107 +trackAssociatorByHits + tpToTkmuTrackAssociation + trkMuonTrackVTrackAssoc
108 +tpToStaTrackAssociation + staMuonTrackVTrackAssoc
109 +tpToStaUpdTrackAssociation + staUpdMuonTrackVTrackAssoc
110 +tpToGlbTrackAssociation + glbMuonTrackVTrackAssoc
113 muonValidationTEV_seq = cms.Sequence(
114 tpToTevFirstTrackAssociation + tevMuonFirstTrackVTrackAssoc
115 +tpToTevPickyTrackAssociation + tevMuonPickyTrackVTrackAssoc
116 +tpToTevDytTrackAssociation + tevMuonDytTrackVTrackAssoc
119 muonValidationSET_seq = cms.Sequence(
120 tpToStaSETTrackAssociation + staSETMuonTrackVTrackAssoc
121 +tpToStaSETUpdTrackAssociation + staSETUpdMuonTrackVTrackAssoc
122 +tpToGlbSETTrackAssociation + glbSETMuonTrackVTrackAssoc
125 muonValidationCosmic_seq = cms.Sequence(
126 tpToTkCosmicTrackAssociation + trkCosmicMuonTrackVTrackAssoc
127 +tpToStaCosmicTrackAssociation + staCosmicMuonTrackVTrackAssoc
128 +tpToGlbCosmicTrackAssociation + glbCosmicMuonTrackVTrackAssoc
132 recoMuonValidation = cms.Sequence(
133 muonValidation_seq + muonValidationTEV_seq + muonValidationSET_seq
137 recoCosmicMuonValidation = cms.Sequence(
138 muonValidationCosmic_seq