CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/Validation/RecoMuon/python/associators_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 #Track selector
00004 from Validation.RecoMuon.selectors_cff import *
00005 
00006 #TrackAssociation
00007 from SimTracker.TrackAssociation.TrackAssociatorByChi2_cfi import *
00008 import SimTracker.TrackAssociation.TrackAssociatorByHits_cfi
00009 import SimTracker.TrackAssociation.TrackAssociatorByPosition_cfi
00010 
00011 TrackAssociatorByHits = SimTracker.TrackAssociation.TrackAssociatorByHits_cfi.TrackAssociatorByHits.clone()
00012 
00013 OnlineTrackAssociatorByHits = SimTracker.TrackAssociation.TrackAssociatorByHits_cfi.TrackAssociatorByHits.clone()
00014 OnlineTrackAssociatorByHits.ComponentName = 'OnlineTrackAssociatorByHits'
00015 OnlineTrackAssociatorByHits.UseGrouped = False
00016 OnlineTrackAssociatorByHits.UseSplitting = False
00017 OnlineTrackAssociatorByHits.ThreeHitTracksAreSpecial = False
00018 
00019 TrackAssociatorByPosDeltaR = SimTracker.TrackAssociation.TrackAssociatorByPosition_cfi.TrackAssociatorByPosition.clone()
00020 TrackAssociatorByPosDeltaR.ComponentName = 'TrackAssociatorByDeltaR'
00021 TrackAssociatorByPosDeltaR.method = cms.string('momdr')
00022 TrackAssociatorByPosDeltaR.QCut = cms.double(0.5)
00023 TrackAssociatorByPosDeltaR.ConsiderAllSimHits = cms.bool(True)
00024 
00025 #
00026 # Configuration for Muon track extractor
00027 #
00028 
00029 import SimMuon.MCTruth.MuonTrackProducer_cfi
00030 extractedGlobalMuons = SimMuon.MCTruth.MuonTrackProducer_cfi.muonTrackProducer.clone()
00031 extractedGlobalMuons.selectionTags = ('AllGlobalMuons',)
00032 extractedGlobalMuons.trackType = "globalTrack"
00033 extractedMuonTracks_seq = cms.Sequence( extractedGlobalMuons )
00034 
00035 #
00036 # Associators for Full Sim + Reco:
00037 #
00038 
00039 tpToTkmuTrackAssociation = cms.EDProducer('TrackAssociatorEDProducer',
00040     associator = cms.string('TrackAssociatorByHits'),
00041     label_tp = cms.InputTag('mergedtruth', 'MergedTrackTruth'),
00042     label_tr = cms.InputTag('generalTracks')
00043 )
00044 
00045 tpToStaTrackAssociation = cms.EDProducer('TrackAssociatorEDProducer',
00046     associator = cms.string('TrackAssociatorByDeltaR'),
00047     label_tp = cms.InputTag('mergedtruth', 'MergedTrackTruth'),
00048     label_tr = cms.InputTag('standAloneMuons','')
00049 )
00050 
00051 tpToStaUpdTrackAssociation = cms.EDProducer('TrackAssociatorEDProducer',
00052     associator = cms.string('TrackAssociatorByDeltaR'),
00053     label_tp = cms.InputTag('mergedtruth', 'MergedTrackTruth'),
00054     label_tr = cms.InputTag('standAloneMuons','UpdatedAtVtx')
00055 )
00056 
00057 tpToGlbTrackAssociation = cms.EDProducer('TrackAssociatorEDProducer',
00058     associator = cms.string('TrackAssociatorByDeltaR'),
00059     label_tp = cms.InputTag('mergedtruth', 'MergedTrackTruth'),
00060     label_tr = cms.InputTag('extractedGlobalMuons')
00061 )
00062 
00063 tpToStaSETTrackAssociation = cms.EDProducer('TrackAssociatorEDProducer',
00064     associator = cms.string('TrackAssociatorByDeltaR'),
00065     label_tp = cms.InputTag('mergedtruth', 'MergedTrackTruth'),
00066     label_tr = cms.InputTag('standAloneSETMuons','')
00067 )
00068 
00069 tpToStaSETUpdTrackAssociation = cms.EDProducer('TrackAssociatorEDProducer',
00070     associator = cms.string('TrackAssociatorByDeltaR'),
00071     label_tp = cms.InputTag('mergedtruth', 'MergedTrackTruth'),
00072     label_tr = cms.InputTag('standAloneSETMuons','UpdatedAtVtx')
00073 )
00074 
00075 tpToGlbSETTrackAssociation = cms.EDProducer('TrackAssociatorEDProducer',
00076     associator = cms.string('TrackAssociatorByDeltaR'),
00077     label_tp = cms.InputTag('mergedtruth', 'MergedTrackTruth'),
00078     label_tr = cms.InputTag('globalSETMuons')
00079 )
00080 
00081 tpToTevFirstTrackAssociation = cms.EDProducer('TrackAssociatorEDProducer',
00082     associator = cms.string('TrackAssociatorByDeltaR'),
00083     label_tp = cms.InputTag('mergedtruth', 'MergedTrackTruth'),
00084     label_tr = cms.InputTag('tevMuons','firstHit')
00085 )
00086 
00087 tpToTevPickyTrackAssociation = cms.EDProducer('TrackAssociatorEDProducer',
00088     associator = cms.string('TrackAssociatorByDeltaR'),
00089     label_tp = cms.InputTag('mergedtruth', 'MergedTrackTruth'),
00090     label_tr = cms.InputTag('tevMuons','picky')
00091 )
00092 tpToTevDytTrackAssociation = cms.EDProducer('TrackAssociatorEDProducer',
00093     associator = cms.string('TrackAssociatorByDeltaR'),
00094     label_tp = cms.InputTag('mergedtruth', 'MergedTrackTruth'),
00095     label_tr = cms.InputTag('tevMuons','dyt')
00096 )
00097 
00098 tpToL2TrackAssociation = cms.EDProducer('TrackAssociatorEDProducer',
00099     ignoremissingtrackcollection=cms.untracked.bool(True),
00100     associator = cms.string('TrackAssociatorByDeltaR'),
00101     label_tp = cms.InputTag('mergedtruth', 'MergedTrackTruth'),
00102     label_tr = cms.InputTag('hltL2Muons','')
00103 )
00104 
00105 tpToL2UpdTrackAssociation = cms.EDProducer('TrackAssociatorEDProducer',
00106     ignoremissingtrackcollection=cms.untracked.bool(True),
00107     associator = cms.string('TrackAssociatorByDeltaR'),
00108     label_tp = cms.InputTag('mergedtruth', 'MergedTrackTruth'),
00109     label_tr = cms.InputTag('hltL2Muons','UpdatedAtVtx')
00110 )
00111 
00112 tpToL3TrackAssociation = cms.EDProducer("TrackAssociatorEDProducer",
00113     ignoremissingtrackcollection=cms.untracked.bool(True),
00114     associator = cms.string('TrackAssociatorByDeltaR'),
00115     label_tp = cms.InputTag('mergedtruth', 'MergedTrackTruth'),
00116     label_tr = cms.InputTag('hltL3Muons')
00117 )
00118 
00119 tpToL3TkTrackTrackAssociation = cms.EDProducer("TrackAssociatorEDProducer",
00120     ignoremissingtrackcollection=cms.untracked.bool(True),
00121     associator = cms.string('OnlineTrackAssociatorByHits'),
00122     label_tp = cms.InputTag('mergedtruth','MergedTrackTruth'),
00123     label_tr = cms.InputTag('hltL3TkTracksFromL2','')
00124 )
00125 
00126 tpToL3L2TrackTrackAssociation = cms.EDProducer("TrackAssociatorEDProducer",
00127     ignoremissingtrackcollection=cms.untracked.bool(True),
00128     associator = cms.string('OnlineTrackAssociatorByHits'),
00129     label_tp = cms.InputTag('mergedtruth','MergedTrackTruth'),
00130     label_tr = cms.InputTag('hltL3Muons:L2Seeded')
00131 )
00132 
00133 
00134 
00135 #MuonAssociation
00136 import SimMuon.MCTruth.MuonAssociatorByHits_cfi
00137 
00138 tpToTkMuonAssociation = SimMuon.MCTruth.MuonAssociatorByHits_cfi.muonAssociatorByHits.clone()
00139 tpToStaMuonAssociation = SimMuon.MCTruth.MuonAssociatorByHits_cfi.muonAssociatorByHits.clone()
00140 tpToStaUpdMuonAssociation = SimMuon.MCTruth.MuonAssociatorByHits_cfi.muonAssociatorByHits.clone()
00141 tpToGlbMuonAssociation = SimMuon.MCTruth.MuonAssociatorByHits_cfi.muonAssociatorByHits.clone()
00142 tpToStaRefitMuonAssociation = SimMuon.MCTruth.MuonAssociatorByHits_cfi.muonAssociatorByHits.clone()
00143 tpToStaRefitUpdMuonAssociation = SimMuon.MCTruth.MuonAssociatorByHits_cfi.muonAssociatorByHits.clone()
00144 tpToStaSETMuonAssociation = SimMuon.MCTruth.MuonAssociatorByHits_cfi.muonAssociatorByHits.clone()
00145 tpToStaSETUpdMuonAssociation = SimMuon.MCTruth.MuonAssociatorByHits_cfi.muonAssociatorByHits.clone()
00146 tpToGlbSETMuonAssociation = SimMuon.MCTruth.MuonAssociatorByHits_cfi.muonAssociatorByHits.clone()
00147 tpToTevFirstMuonAssociation = SimMuon.MCTruth.MuonAssociatorByHits_cfi.muonAssociatorByHits.clone()
00148 tpToTevPickyMuonAssociation = SimMuon.MCTruth.MuonAssociatorByHits_cfi.muonAssociatorByHits.clone()
00149 tpToTevDytMuonAssociation = SimMuon.MCTruth.MuonAssociatorByHits_cfi.muonAssociatorByHits.clone()
00150 tpToL3TkMuonAssociation = SimMuon.MCTruth.MuonAssociatorByHits_cfi.muonAssociatorByHits.clone()
00151 tpToL2MuonAssociation = SimMuon.MCTruth.MuonAssociatorByHits_cfi.muonAssociatorByHits.clone()
00152 tpToL2UpdMuonAssociation = SimMuon.MCTruth.MuonAssociatorByHits_cfi.muonAssociatorByHits.clone()
00153 tpToL3MuonAssociation = SimMuon.MCTruth.MuonAssociatorByHits_cfi.muonAssociatorByHits.clone()
00154 
00155 tpToTkMuonAssociation.tpTag = 'mergedtruth:MergedTrackTruth'
00156 tpToTkMuonAssociation.tracksTag = 'generalTracks'
00157 tpToTkMuonAssociation.UseTracker = True
00158 tpToTkMuonAssociation.UseMuon = False
00159 
00160 tpToStaMuonAssociation.tpTag = 'mergedtruth:MergedTrackTruth'
00161 tpToStaMuonAssociation.tracksTag = 'standAloneMuons'
00162 tpToStaMuonAssociation.UseTracker = False
00163 tpToStaMuonAssociation.UseMuon = True
00164 
00165 tpToStaUpdMuonAssociation.tpTag = 'mergedtruth:MergedTrackTruth'
00166 tpToStaUpdMuonAssociation.tracksTag = 'standAloneMuons:UpdatedAtVtx'
00167 tpToStaUpdMuonAssociation.UseTracker = False
00168 tpToStaUpdMuonAssociation.UseMuon = True
00169 
00170 tpToGlbMuonAssociation.tpTag = 'mergedtruth:MergedTrackTruth'
00171 tpToGlbMuonAssociation.tracksTag = 'extractedGlobalMuons'
00172 tpToGlbMuonAssociation.UseTracker = True
00173 tpToGlbMuonAssociation.UseMuon = True
00174 
00175 tpToStaRefitMuonAssociation.tpTag = 'mergedtruth:MergedTrackTruth'
00176 tpToStaRefitMuonAssociation.tracksTag = 'refittedStandAloneMuons'
00177 tpToStaRefitMuonAssociation.UseTracker = False
00178 tpToStaRefitMuonAssociation.UseMuon = True
00179 
00180 tpToStaRefitUpdMuonAssociation.tpTag = 'mergedtruth:MergedTrackTruth'
00181 tpToStaRefitUpdMuonAssociation.tracksTag = 'refittedStandAloneMuons:UpdatedAtVtx'
00182 tpToStaRefitUpdMuonAssociation.UseTracker = False
00183 tpToStaRefitUpdMuonAssociation.UseMuon = True
00184 
00185 tpToStaSETMuonAssociation.tpTag = 'mergedtruth:MergedTrackTruth'
00186 tpToStaSETMuonAssociation.tracksTag = 'standAloneSETMuons'
00187 tpToStaSETMuonAssociation.UseTracker = False
00188 tpToStaSETMuonAssociation.UseMuon = True
00189 
00190 tpToStaSETUpdMuonAssociation.tpTag = 'mergedtruth:MergedTrackTruth'
00191 tpToStaSETUpdMuonAssociation.tracksTag = 'standAloneSETMuons:UpdatedAtVtx'
00192 tpToStaSETUpdMuonAssociation.UseTracker = False
00193 tpToStaSETUpdMuonAssociation.UseMuon = True
00194 
00195 tpToGlbSETMuonAssociation.tpTag = 'mergedtruth:MergedTrackTruth'
00196 tpToGlbSETMuonAssociation.tracksTag = 'globalSETMuons'
00197 tpToGlbSETMuonAssociation.UseTracker = True
00198 tpToGlbSETMuonAssociation.UseMuon = True
00199 
00200 tpToTevFirstMuonAssociation.tpTag = 'mergedtruth:MergedTrackTruth'
00201 tpToTevFirstMuonAssociation.tracksTag = 'tevMuons:firstHit'
00202 tpToTevFirstMuonAssociation.UseTracker = True
00203 tpToTevFirstMuonAssociation.UseMuon = True
00204 
00205 tpToTevPickyMuonAssociation.tpTag = 'mergedtruth:MergedTrackTruth'
00206 tpToTevPickyMuonAssociation.tracksTag = 'tevMuons:picky'
00207 tpToTevPickyMuonAssociation.UseTracker = True
00208 tpToTevPickyMuonAssociation.UseMuon = True
00209 
00210 tpToTevDytMuonAssociation.tpTag = 'mergedtruth:MergedTrackTruth'
00211 tpToTevDytMuonAssociation.tracksTag = 'tevMuons:dyt'
00212 tpToTevDytMuonAssociation.UseTracker = True
00213 tpToTevDytMuonAssociation.UseMuon = True
00214 
00215 tpToL3TkMuonAssociation.tpTag = 'mergedtruth:MergedTrackTruth'
00216 tpToL3TkMuonAssociation.tracksTag = 'hltL3TkTracksFromL2'
00217 tpToL3TkMuonAssociation.DTrechitTag = 'hltDt1DRecHits'
00218 tpToL3TkMuonAssociation.UseTracker = True
00219 tpToL3TkMuonAssociation.UseMuon = False
00220 tpToL3TkMuonAssociation.ignoreMissingTrackCollection = True
00221 tpToL3TkMuonAssociation.UseSplitting = False
00222 tpToL3TkMuonAssociation.UseGrouped = False
00223 
00224 tpToL2MuonAssociation.tpTag = 'mergedtruth:MergedTrackTruth'
00225 tpToL2MuonAssociation.tracksTag = 'hltL2Muons'
00226 tpToL2MuonAssociation.DTrechitTag = 'hltDt1DRecHits'
00227 tpToL2MuonAssociation.UseTracker = False
00228 tpToL2MuonAssociation.UseMuon = True
00229 tpToL2MuonAssociation.ignoreMissingTrackCollection = True
00230 
00231 tpToL2UpdMuonAssociation.tpTag = 'mergedtruth:MergedTrackTruth'
00232 tpToL2UpdMuonAssociation.tracksTag = 'hltL2Muons:UpdatedAtVtx'
00233 tpToL2UpdMuonAssociation.DTrechitTag = 'hltDt1DRecHits'
00234 tpToL2UpdMuonAssociation.UseTracker = False
00235 tpToL2UpdMuonAssociation.UseMuon = True
00236 tpToL2UpdMuonAssociation.ignoreMissingTrackCollection = True
00237 
00238 tpToL3MuonAssociation.tpTag = 'mergedtruth:MergedTrackTruth'
00239 tpToL3MuonAssociation.tracksTag = 'hltL3Muons'
00240 tpToL3MuonAssociation.DTrechitTag = 'hltDt1DRecHits'
00241 tpToL3MuonAssociation.UseTracker = True
00242 tpToL3MuonAssociation.UseMuon = True
00243 tpToL3MuonAssociation.ignoreMissingTrackCollection = True
00244 tpToL3MuonAssociation.UseSplitting = False
00245 tpToL3MuonAssociation.UseGrouped = False
00246 
00247 #
00248 # Associators for cosmics:
00249 #
00250 
00251 tpToTkCosmicTrackAssociation = cms.EDProducer('TrackAssociatorEDProducer',
00252     associator = cms.string('TrackAssociatorByHits'),
00253     label_tp = cms.InputTag('mergedtruth', 'MergedTrackTruth'),
00254     label_tr = cms.InputTag('ctfWithMaterialTracksP5LHCNavigation')
00255 )
00256 
00257 tpToStaCosmicTrackAssociation = cms.EDProducer('TrackAssociatorEDProducer',
00258     associator = cms.string('TrackAssociatorByDeltaR'),
00259     label_tp = cms.InputTag('mergedtruth', 'MergedTrackTruth'),
00260     label_tr = cms.InputTag('cosmicMuons')
00261 )
00262 
00263 tpToGlbCosmicTrackAssociation = cms.EDProducer('TrackAssociatorEDProducer',
00264     associator = cms.string('TrackAssociatorByDeltaR'),
00265     label_tp = cms.InputTag('mergedtruth', 'MergedTrackTruth'),
00266     label_tr = cms.InputTag('globalCosmicMuons')
00267 )
00268 
00269 tpToTkCosmicMuonAssociation = SimMuon.MCTruth.MuonAssociatorByHits_cfi.muonAssociatorByHits.clone()
00270 tpToStaCosmicMuonAssociation = SimMuon.MCTruth.MuonAssociatorByHits_cfi.muonAssociatorByHits.clone()
00271 tpToGlbCosmicMuonAssociation = SimMuon.MCTruth.MuonAssociatorByHits_cfi.muonAssociatorByHits.clone()
00272 
00273 tpToTkCosmicMuonAssociation.tpTag = 'mergedtruth:MergedTrackTruth'
00274 tpToTkCosmicMuonAssociation.tracksTag = 'ctfWithMaterialTracksP5LHCNavigation'
00275 tpToTkCosmicMuonAssociation.UseTracker = True
00276 tpToTkCosmicMuonAssociation.UseMuon = False
00277 
00278 tpToStaCosmicMuonAssociation.tpTag = 'mergedtruth:MergedTrackTruth'
00279 tpToStaCosmicMuonAssociation.tracksTag = 'cosmicMuons'
00280 tpToStaCosmicMuonAssociation.UseTracker = False
00281 tpToStaCosmicMuonAssociation.UseMuon = True
00282 
00283 tpToGlbCosmicMuonAssociation.tpTag = 'mergedtruth:MergedTrackTruth'
00284 tpToGlbCosmicMuonAssociation.tracksTag = 'globalCosmicMuons'
00285 tpToGlbCosmicMuonAssociation.UseTracker = True
00286 tpToGlbCosmicMuonAssociation.UseMuon = True
00287 
00288 
00289 #
00290 # The full-sim association sequences
00291 #
00292 
00293 muonAssociation_seq = cms.Sequence(
00294     extractedMuonTracks_seq
00295     +(tpToTkMuonAssociation+tpToStaMuonAssociation+tpToStaUpdMuonAssociation+tpToGlbMuonAssociation)
00296     +(tpToTkmuTrackAssociation)
00297 #   +(tpToTkmuTrackAssociation+tpToStaTrackAssociation+tpToStaUpdTrackAssociation+tpToGlbTrackAssociation)
00298 )
00299 muonAssociationTEV_seq = cms.Sequence(
00300     (tpToTevFirstMuonAssociation+tpToTevPickyMuonAssociation+tpToTevDytMuonAssociation)
00301 #    +(tpToTevFirstTrackAssociation+tpToTevPickyTrackAssociation)
00302 )
00303 muonAssociationRefit_seq = cms.Sequence(
00304     (tpToStaRefitMuonAssociation+tpToStaRefitUpdMuonAssociation)
00305 )
00306 muonAssociationSET_seq = cms.Sequence(
00307     (tpToStaSETMuonAssociation+tpToStaSETUpdMuonAssociation+tpToGlbSETMuonAssociation)
00308 #    +(tpToStaSETTrackAssociation+tpToStaSETUpdTrackAssociation+tpToGlbSETTrackAssociation)
00309 )
00310 muonAssociationCosmic_seq = cms.Sequence(
00311     (tpToTkCosmicMuonAssociation+tpToStaCosmicMuonAssociation+tpToGlbCosmicMuonAssociation)
00312 #    +(tpToTkCosmicTrackAssociation+tpToStaCosmicTrackAssociation+tpToGlbCosmicTrackAssociation)
00313 )
00314 muonAssociationHLT_seq = cms.Sequence(
00315     (tpToL2MuonAssociation+tpToL2UpdMuonAssociation+tpToL3MuonAssociation+tpToL3TkMuonAssociation)
00316 #    +(tpToL2TrackAssociation+tpToL2UpdTrackAssociation+tpToL3TrackAssociation+tpToL3TkTrackTrackAssociation)
00317 )
00318 
00319 
00320 #
00321 # Associators for Fast Sim
00322 #
00323 
00324 tpToTkmuTrackAssociationFS = cms.EDProducer('TrackAssociatorEDProducer',
00325     associator = cms.string('TrackAssociatorByHits'),
00326     label_tp = cms.InputTag('mergedtruth', 'MergedTrackTruth'),
00327     label_tr = cms.InputTag('generalTracks')
00328 )
00329 
00330 tpToStaTrackAssociationFS = cms.EDProducer('TrackAssociatorEDProducer',
00331     associator = cms.string('TrackAssociatorByDeltaR'),
00332     label_tp = cms.InputTag('mergedtruthMuon', 'MergedTrackTruth'),
00333     label_tr = cms.InputTag('standAloneMuons','')
00334 )
00335 
00336 tpToStaUpdTrackAssociationFS = cms.EDProducer('TrackAssociatorEDProducer',
00337     associator = cms.string('TrackAssociatorByDeltaR'),
00338     label_tp = cms.InputTag('mergedtruthMuon', 'MergedTrackTruth'),
00339     label_tr = cms.InputTag('standAloneMuons','UpdatedAtVtx')
00340 )
00341 
00342 tpToGlbTrackAssociationFS = cms.EDProducer('TrackAssociatorEDProducer',
00343     associator = cms.string('TrackAssociatorByDeltaR'),
00344     label_tp = cms.InputTag('mergedtruth', 'MergedTrackTruth'),
00345     label_tr = cms.InputTag('extractedGlobalMuons')
00346 )
00347 
00348 tpToTevFirstTrackAssociationFS = cms.EDProducer('TrackAssociatorEDProducer',
00349     associator = cms.string('TrackAssociatorByDeltaR'),
00350     label_tp = cms.InputTag('mergedtruth', 'MergedTrackTruth'),
00351     label_tr = cms.InputTag('tevMuons','firstHit')
00352 )
00353 
00354 tpToTevPickyTrackAssociationFS = cms.EDProducer('TrackAssociatorEDProducer',
00355     associator = cms.string('TrackAssociatorByDeltaR'),
00356     label_tp = cms.InputTag('mergedtruth', 'MergedTrackTruth'),
00357     label_tr = cms.InputTag('tevMuons','picky')
00358 )
00359 
00360 tpToTevDytTrackAssociationFS = cms.EDProducer('TrackAssociatorEDProducer',
00361     associator = cms.string('TrackAssociatorByDeltaR'),
00362     label_tp = cms.InputTag('mergedtruth', 'MergedTrackTruth'),
00363     label_tr = cms.InputTag('tevMuons','dyt')
00364 )
00365 
00366 tpToL2TrackAssociationFS = cms.EDProducer('TrackAssociatorEDProducer',
00367     ignoremissingtrackcollection=cms.untracked.bool(True),
00368     associator = cms.string('TrackAssociatorByDeltaR'),
00369     label_tp = cms.InputTag('mergedtruthMuon', 'MergedTrackTruth'),
00370     label_tr = cms.InputTag('hltL2Muons','')
00371 )
00372 
00373 tpToL2UpdTrackAssociationFS = cms.EDProducer('TrackAssociatorEDProducer',
00374     ignoremissingtrackcollection=cms.untracked.bool(True),
00375     associator = cms.string('TrackAssociatorByDeltaR'),
00376     label_tp = cms.InputTag('mergedtruthMuon', 'MergedTrackTruth'),
00377     label_tr = cms.InputTag('hltL2Muons','UpdatedAtVtx')
00378 )
00379 
00380 tpToL3TrackAssociationFS = cms.EDProducer("TrackAssociatorEDProducer",
00381     ignoremissingtrackcollection=cms.untracked.bool(True),
00382     associator = cms.string('TrackAssociatorByDeltaR'),
00383     label_tp = cms.InputTag('mergedtruth', 'MergedTrackTruth'),
00384     label_tr = cms.InputTag('hltL3Muons')
00385 )
00386 
00387 tpToL3TkTrackTrackAssociationFS = cms.EDProducer("TrackAssociatorEDProducer",
00388     ignoremissingtrackcollection=cms.untracked.bool(True),
00389     associator = cms.string('OnlineTrackAssociatorByHits'),
00390     label_tp = cms.InputTag('mergedtruth','MergedTrackTruth'),
00391     label_tr = cms.InputTag('hltL3TkTracksFromL2','')
00392 )
00393 
00394 tpToL3L2TrackTrackAssociationFS = cms.EDProducer("TrackAssociatorEDProducer",
00395     ignoremissingtrackcollection=cms.untracked.bool(True),
00396     associator = cms.string('OnlineTrackAssociatorByHits'),
00397     label_tp = cms.InputTag('mergedtruth','MergedTrackTruth'),
00398     label_tr = cms.InputTag('hltL3Muons:L2Seeded')
00399 )
00400 
00401 
00402 #MuonAssociation
00403 import SimMuon.MCTruth.MuonAssociatorByHits_cfi
00404 
00405 baseMuonAssociatorFS = SimMuon.MCTruth.MuonAssociatorByHits_cfi.muonAssociatorByHits.clone()
00406 baseMuonAssociatorFS.tpTag = 'mergedtruthMuon:MergedTrackTruth'
00407 baseMuonAssociatorFS.UseTracker = True
00408 baseMuonAssociatorFS.UseMuon = True
00409 baseMuonAssociatorFS.simtracksTag = "famosSimHits"
00410 baseMuonAssociatorFS.DTsimhitsTag  = "MuonSimHits:MuonDTHits"
00411 baseMuonAssociatorFS.CSCsimHitsTag = "MuonSimHits:MuonCSCHits"
00412 baseMuonAssociatorFS.RPCsimhitsTag = "MuonSimHits:MuonRPCHits"
00413 baseMuonAssociatorFS.simtracksXFTag = "mix:famosSimHits"
00414 baseMuonAssociatorFS.DTsimhitsXFTag  = "mix:MuonSimHitsMuonDTHits"
00415 baseMuonAssociatorFS.CSCsimHitsXFTag = "mix:MuonSimHitsMuonCSCHits"
00416 baseMuonAssociatorFS.RPCsimhitsXFTag = "mix:MuonSimHitsMuonRPCHits"
00417 baseMuonAssociatorFS.ROUList = ['famosSimHitsTrackerHits']
00418 
00419 
00420 tpToTkMuonAssociationFS   = baseMuonAssociatorFS.clone()
00421 tpToStaMuonAssociationFS  = baseMuonAssociatorFS.clone()
00422 tpToStaUpdMuonAssociationFS  = baseMuonAssociatorFS.clone()
00423 tpToStaRefitMuonAssociationFS  = baseMuonAssociatorFS.clone()
00424 tpToStaRefitUpdMuonAssociationFS  = baseMuonAssociatorFS.clone()
00425 tpToGlbMuonAssociationFS  = baseMuonAssociatorFS.clone()
00426 tpToTevFirstMuonAssociationFS = baseMuonAssociatorFS.clone()
00427 tpToTevPickyMuonAssociationFS = baseMuonAssociatorFS.clone()
00428 tpToTevDytMuonAssociationFS = baseMuonAssociatorFS.clone()
00429 tpToL3TkMuonAssociationFS = baseMuonAssociatorFS.clone()
00430 tpToL2MuonAssociationFS   = baseMuonAssociatorFS.clone()
00431 tpToL2UpdMuonAssociationFS   = baseMuonAssociatorFS.clone()
00432 tpToL3MuonAssociationFS   = baseMuonAssociatorFS.clone()
00433 
00434 tpToTkMuonAssociationFS.tracksTag = 'generalTracks'
00435 tpToTkMuonAssociationFS.tpTag = 'mergedtruth:MergedTrackTruth'
00436 tpToTkMuonAssociationFS.UseTracker = True
00437 tpToTkMuonAssociationFS.UseMuon = False
00438 
00439 tpToStaMuonAssociationFS.tracksTag = 'standAloneMuons'
00440 tpToStaMuonAssociationFS.UseTracker = False
00441 tpToStaMuonAssociationFS.UseMuon = True
00442 
00443 tpToStaUpdMuonAssociationFS.tracksTag = 'standAloneMuons:UpdatedAtVtx'
00444 tpToStaUpdMuonAssociationFS.UseTracker = False
00445 tpToStaUpdMuonAssociationFS.UseMuon = True
00446 
00447 tpToStaRefitMuonAssociationFS.tracksTag = 'refittedStandAloneMuons'
00448 tpToStaRefitMuonAssociationFS.UseTracker = False
00449 tpToStaRefitMuonAssociationFS.UseMuon = True
00450 
00451 tpToStaRefitUpdMuonAssociationFS.tracksTag = 'refittedStandAloneMuons:UpdatedAtVtx'
00452 tpToStaRefitUpdMuonAssociationFS.UseTracker = False
00453 tpToStaRefitUpdMuonAssociationFS.UseMuon = True
00454 
00455 tpToGlbMuonAssociationFS.tracksTag = 'extractedGlobalMuons'
00456 tpToGlbMuonAssociationFS.tpTag = 'mergedtruth:MergedTrackTruth'
00457 tpToGlbMuonAssociationFS.UseTracker = True
00458 tpToGlbMuonAssociationFS.UseMuon = True
00459 
00460 tpToTevFirstMuonAssociationFS.tracksTag = 'tevMuons:firstHit'
00461 tpToTevFirstMuonAssociationFS.tpTag = 'mergedtruth:MergedTrackTruth'
00462 tpToTevFirstMuonAssociationFS.UseTracker = True
00463 tpToTevFirstMuonAssociationFS.UseMuon = True
00464 
00465 tpToTevPickyMuonAssociationFS.tracksTag = 'tevMuons:picky'
00466 tpToTevPickyMuonAssociationFS.tpTag = 'mergedtruth:MergedTrackTruth'
00467 tpToTevPickyMuonAssociationFS.UseTracker = True
00468 tpToTevPickyMuonAssociationFS.UseMuon = True
00469 
00470 tpToTevDytMuonAssociationFS.tracksTag = 'tevMuons:dyt'
00471 tpToTevDytMuonAssociationFS.tpTag = 'mergedtruth:MergedTrackTruth'
00472 tpToTevDytMuonAssociationFS.UseTracker = True
00473 tpToTevDytMuonAssociationFS.UseMuon = True
00474 
00475 tpToL3TkMuonAssociationFS.tracksTag = 'hltL3TkTracksFromL2'
00476 tpToL3TkMuonAssociationFS.tpTag = 'mergedtruth:MergedTrackTruth'
00477 tpToL3TkMuonAssociationFS.UseTracker = True
00478 tpToL3TkMuonAssociationFS.UseMuon = False
00479 tpToL3TkMuonAssociationFS.ignoreMissingTrackCollection = True
00480 tpToL3TkMuonAssociationFS.UseSplitting = False
00481 tpToL3TkMuonAssociationFS.UseGrouped = False
00482 
00483 tpToL2MuonAssociationFS.tracksTag = 'hltL2Muons'
00484 tpToL2MuonAssociationFS.UseTracker = False
00485 tpToL2MuonAssociationFS.UseMuon = True
00486 tpToL2MuonAssociationFS.ignoreMissingTrackCollection = True
00487 
00488 tpToL2UpdMuonAssociationFS.tracksTag = 'hltL2Muons:UpdatedAtVtx'
00489 tpToL2UpdMuonAssociationFS.UseTracker = False
00490 tpToL2UpdMuonAssociationFS.UseMuon = True
00491 tpToL2UpdMuonAssociationFS.ignoreMissingTrackCollection = True
00492 
00493 tpToL3MuonAssociationFS.tracksTag = 'hltL3Muons'
00494 tpToL3MuonAssociationFS.tpTag = 'mergedtruth:MergedTrackTruth'
00495 tpToL3MuonAssociationFS.UseTracker = True
00496 tpToL3MuonAssociationFS.UseMuon = True
00497 tpToL3MuonAssociationFS.ignoreMissingTrackCollection = True
00498 tpToL3MuonAssociationFS.UseSplitting = False
00499 tpToL3MuonAssociationFS.UseGrouped = False
00500 
00501 
00502 
00503 muonAssociationFastSim_seq = cms.Sequence(
00504         extractedMuonTracks_seq
00505         +(tpToTkMuonAssociationFS+tpToStaMuonAssociationFS+tpToStaUpdMuonAssociationFS+tpToGlbMuonAssociationFS)
00506         +(tpToStaRefitMuonAssociationFS+tpToStaRefitUpdMuonAssociationFS)
00507         +(tpToTevFirstMuonAssociationFS+tpToTevPickyMuonAssociationFS+tpToTevDytMuonAssociationFS)
00508         +tpToTkmuTrackAssociationFS
00509 #        +tpToStaTrackAssociationFS+tpToStaUpdTrackAssociationFS+tpToGlbTrackAssociationFS
00510 #        +tpToTevFirstTrackAssociationFS+tpToTevPickyTrackAssociationFS
00511         )
00512 muonAssociationHLTFastSim_seq = cms.Sequence(
00513     tpToL2MuonAssociationFS+tpToL2UpdMuonAssociationFS+tpToL3MuonAssociationFS+tpToL3TkMuonAssociationFS
00514 #    +tpToL2TrackAssociationFS+tpToL2UpdTrackAssociationFS+tpToL3TrackAssociationFS+tpToL3TkTrackTrackAssociationFS
00515     )
00516