CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
muonValidationFastSim_cff.py
Go to the documentation of this file.
2 
3 # Configurations for MuonTrackValidators
4 
5 from Validation.RecoMuon.muonValidation_cff import trkMuonTrackVTrackAssoc
6 
7 #trkMuonTrackVTrackAssocFS = Validation.RecoMuon.muonValidation_cff.trkMuonTrackVTrackAssoc.clone()
8 trkMuonTrackVTrackAssocFS = trkMuonTrackVTrackAssoc.clone()
9 trkMuonTrackVTrackAssocFS.associatormap = 'tpToTkmuTrackAssociationFS'
10 
11 from Validation.RecoMuon.muonValidation_cff import staMuonTrackVTrackAssoc
12 
13 #staMuonTrackVTrackAssocFS = Validation.RecoMuon.muonValidation_cff.staMuonTrackVTrackAssoc.clone()
14 staMuonTrackVTrackAssocFS = staMuonTrackVTrackAssoc.clone()
15 staMuonTrackVTrackAssocFS.associatormap = 'tpToStaTrackAssociationFS'
16 staMuonTrackVTrackAssocFS.label_tp_effic = 'mix:MergedTrackTruth'
17 staMuonTrackVTrackAssocFS.label_tp_fake = 'mix:MergedTrackTruth'
18 
19 from Validation.RecoMuon.muonValidation_cff import staUpdMuonTrackVTrackAssoc
20 
21 staUpdMuonTrackVTrackAssocFS = staUpdMuonTrackVTrackAssoc.clone()
22 staUpdMuonTrackVTrackAssocFS.associatormap = 'tpToStaUpdTrackAssociationFS'
23 staUpdMuonTrackVTrackAssocFS.label_tp_effic = 'mix:MergedTrackTruth'
24 staUpdMuonTrackVTrackAssocFS.label_tp_fake = 'mix:MergedTrackTruth'
25 
26 from Validation.RecoMuon.muonValidation_cff import glbMuonTrackVTrackAssoc
27 
28 glbMuonTrackVTrackAssocFS = glbMuonTrackVTrackAssoc.clone()
29 glbMuonTrackVTrackAssocFS.associatormap = 'tpToGlbTrackAssociationFS'
30 glbMuonTrackVTrackAssocFS.label_tp_effic = 'mix:MergedTrackTruth'
31 glbMuonTrackVTrackAssocFS.label_tp_fake = 'mix:MergedTrackTruth'
32 
33 from Validation.RecoMuon.muonValidation_cff import tevMuonFirstTrackVTrackAssoc
34 
35 tevMuonFirstTrackVTrackAssocFS = tevMuonFirstTrackVTrackAssoc.clone()
36 tevMuonFirstTrackVTrackAssocFS.associatormap = 'tpToTevFirstTrackAssociationFS'
37 tevMuonFirstTrackVTrackAssocFS.label_tp_effic = 'mix:MergedTrackTruth'
38 tevMuonFirstTrackVTrackAssocFS.label_tp_fake = 'mix:MergedTrackTruth'
39 
40 from Validation.RecoMuon.muonValidation_cff import tevMuonPickyTrackVTrackAssoc
41 
42 tevMuonPickyTrackVTrackAssocFS = tevMuonPickyTrackVTrackAssoc.clone()
43 tevMuonPickyTrackVTrackAssocFS.associatormap = 'tpToTevPickyTrackAssociationFS'
44 tevMuonPickyTrackVTrackAssocFS.label_tp_effic = 'mix:MergedTrackTruth'
45 tevMuonPickyTrackVTrackAssocFS.label_tp_fake = 'mix:MergedTrackTruth'
46 
47 from Validation.RecoMuon.muonValidation_cff import tevMuonDytTrackVTrackAssoc
48 
49 tevMuonDytTrackVTrackAssocFS = tevMuonDytTrackVTrackAssoc.clone()
50 tevMuonDytTrackVTrackAssocFS.associatormap = 'tpToTevDytTrackAssociationFS'
51 tevMuonDytTrackVTrackAssocFS.label_tp_effic = 'mix:MergedTrackTruth'
52 tevMuonDytTrackVTrackAssocFS.label_tp_fake = 'mix:MergedTrackTruth'
53 
54 from Validation.RecoMuon.muonValidation_cff import trkProbeTrackVMuonAssoc
55 trkProbeTrackVMuonAssocFS = trkProbeTrackVMuonAssoc.clone()
56 trkProbeTrackVMuonAssocFS.associatormap = 'tpToTkMuonAssociationFS'
57 trkProbeTrackVMuonAssocFS.label_tp_effic = 'mix:MergedTrackTruth'
58 trkProbeTrackVMuonAssocFS.label_tp_fake = 'mix:MergedTrackTruth'
59 
60 from Validation.RecoMuon.muonValidation_cff import staSeedTrackVMuonAssoc
61 staSeedTrackVMuonAssocFS = staSeedTrackVMuonAssoc.clone()
62 staSeedTrackVMuonAssocFS.associatormap = 'tpToStaSeedAssociationFS'
63 staSeedTrackVMuonAssocFS.label_tp_effic = 'mix:MergedTrackTruth'
64 staSeedTrackVMuonAssocFS.label_tp_fake = 'mix:MergedTrackTruth'
65 
66 from Validation.RecoMuon.muonValidation_cff import staMuonTrackVMuonAssoc
67 
68 staMuonTrackVMuonAssocFS = staMuonTrackVMuonAssoc.clone()
69 staMuonTrackVMuonAssocFS.associatormap = 'tpToStaMuonAssociationFS'
70 staMuonTrackVMuonAssocFS.label_tp_effic = 'mix:MergedTrackTruth'
71 staMuonTrackVMuonAssocFS.label_tp_fake = 'mix:MergedTrackTruth'
72 
73 from Validation.RecoMuon.muonValidation_cff import staUpdMuonTrackVMuonAssoc
74 
75 staUpdMuonTrackVMuonAssocFS = staUpdMuonTrackVMuonAssoc.clone()
76 staUpdMuonTrackVMuonAssocFS.associatormap = 'tpToStaUpdMuonAssociationFS'
77 staUpdMuonTrackVMuonAssocFS.label_tp_effic = 'mix:MergedTrackTruth'
78 staUpdMuonTrackVMuonAssocFS.label_tp_fake = 'mix:MergedTrackTruth'
79 
80 from Validation.RecoMuon.muonValidation_cff import staRefitMuonTrackVMuonAssoc
81 
82 staRefitMuonTrackVMuonAssocFS = staRefitMuonTrackVMuonAssoc.clone()
83 staRefitMuonTrackVMuonAssocFS.associatormap = 'tpToStaRefitMuonAssociationFS'
84 staRefitMuonTrackVMuonAssocFS.label_tp_effic = 'mix:MergedTrackTruth'
85 staRefitMuonTrackVMuonAssocFS.label_tp_fake = 'mix:MergedTrackTruth'
86 
87 from Validation.RecoMuon.muonValidation_cff import staRefitUpdMuonTrackVMuonAssoc
88 
89 staRefitUpdMuonTrackVMuonAssocFS = staRefitUpdMuonTrackVMuonAssoc.clone()
90 staRefitUpdMuonTrackVMuonAssocFS.associatormap = 'tpToStaRefitUpdMuonAssociationFS'
91 staRefitUpdMuonTrackVMuonAssocFS.label_tp_effic = 'mix:MergedTrackTruth'
92 staRefitUpdMuonTrackVMuonAssocFS.label_tp_fake = 'mix:MergedTrackTruth'
93 
94 from Validation.RecoMuon.muonValidation_cff import glbMuonTrackVMuonAssoc
95 
96 glbMuonTrackVMuonAssocFS = glbMuonTrackVMuonAssoc.clone()
97 glbMuonTrackVMuonAssocFS.associatormap = 'tpToGlbMuonAssociationFS'
98 glbMuonTrackVMuonAssocFS.label_tp_effic = 'mix:MergedTrackTruth'
99 glbMuonTrackVMuonAssocFS.label_tp_fake = 'mix:MergedTrackTruth'
100 
101 from Validation.RecoMuon.muonValidation_cff import tevMuonFirstTrackVMuonAssoc
102 
103 tevMuonFirstTrackVMuonAssocFS = tevMuonFirstTrackVMuonAssoc.clone()
104 tevMuonFirstTrackVMuonAssocFS.associatormap = 'tpToTevFirstMuonAssociationFS'
105 tevMuonFirstTrackVMuonAssocFS.label_tp_effic = 'mix:MergedTrackTruth'
106 tevMuonFirstTrackVMuonAssocFS.label_tp_fake = 'mix:MergedTrackTruth'
107 
108 from Validation.RecoMuon.muonValidation_cff import tevMuonPickyTrackVMuonAssoc
109 
110 tevMuonPickyTrackVMuonAssocFS = tevMuonPickyTrackVMuonAssoc.clone()
111 tevMuonPickyTrackVMuonAssocFS.associatormap = 'tpToTevPickyMuonAssociationFS'
112 tevMuonPickyTrackVMuonAssocFS.label_tp_effic = 'mix:MergedTrackTruth'
113 tevMuonPickyTrackVMuonAssocFS.label_tp_fake = 'mix:MergedTrackTruth'
114 
115 from Validation.RecoMuon.muonValidation_cff import tevMuonDytTrackVMuonAssoc
116 
117 tevMuonDytTrackVMuonAssocFS = tevMuonDytTrackVMuonAssoc.clone()
118 tevMuonDytTrackVMuonAssocFS.associatormap = 'tpToTevDytMuonAssociationFS'
119 tevMuonDytTrackVMuonAssocFS.label_tp_effic = 'mix:MergedTrackTruth'
120 tevMuonDytTrackVMuonAssocFS.label_tp_fake = 'mix:MergedTrackTruth'
121 
122 # Configurations for RecoMuonValidators
124 
125 
126 # Muon validation sequence
127 muonValidationFastSim_seq = cms.Sequence(trkProbeTrackVMuonAssocFS+trkMuonTrackVTrackAssocFS
128  +staSeedTrackVMuonAssocFS
129  +staMuonTrackVMuonAssocFS+staUpdMuonTrackVMuonAssocFS+glbMuonTrackVMuonAssocFS
130  +staRefitMuonTrackVMuonAssocFS+staRefitUpdMuonTrackVMuonAssocFS
131  +tevMuonFirstTrackVMuonAssocFS+tevMuonPickyTrackVMuonAssocFS+tevMuonDytTrackVMuonAssocFS
132  +recoMuonVMuAssoc_trk+recoMuonVMuAssoc_sta+recoMuonVMuAssoc_glb+recoMuonVMuAssoc_tgt
133  +recoMuonVMuAssoc_trkPF+recoMuonVMuAssoc_staPF+recoMuonVMuAssoc_glbPF)
134 
135 # The muon association and validation sequence
136 from Validation.RecoMuon.associators_cff import muonAssociationFastSim_seq
137 recoMuonAssociationFastSim = cms.Sequence(muonAssociationFastSim_seq)
138 recoMuonValidationFastSim = cms.Sequence(muonValidationFastSim_seq)
139