CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
tabp_muonValidationHLT_cff.py
Go to the documentation of this file.
1 # configuration for FullSim: muon track validation using TrackAssociatorByPosition
2 # (backup solution, incomplete, not run by default)
3 #
4 import FWCore.ParameterSet.Config as cms
5 
8 import Validation.RecoMuon.MuonTrackValidator_cfi
9 
10 l2MuonTrackV = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
11 l2MuonTrackV.label = ('hltL2Muons',)
12 l2MuonTrackV.associatormap = 'tpToL2TrackAssociation'
13 l2MuonTrackV.associators = ('TrackAssociatorByDeltaR',)
14 l2MuonTrackV.dirName = 'HLT/Muon/MuonTrack/'
15 #l2MuonTrackV.beamSpot = 'hltOfflineBeamSpot'
16 l2MuonTrackV.ignoremissingtrackcollection=True
17 l2MuonTrackV.usetracker = False
18 l2MuonTrackV.usemuon = True
19 
20 l2UpdMuonTrackV = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
21 l2UpdMuonTrackV.label = ('hltL2Muons:UpdatedAtVtx',)
22 l2UpdMuonTrackV.associatormap = 'tpToL2UpdTrackAssociation'
23 l2UpdMuonTrackV.associators = ('TrackAssociatorByDeltaR',)
24 l2UpdMuonTrackV.dirName = 'HLT/Muon/MuonTrack/'
25 #l2UpdMuonTrackV.beamSpot = 'hltOfflineBeamSpot'
26 l2UpdMuonTrackV.ignoremissingtrackcollection=True
27 l2UpdMuonTrackV.usetracker = False
28 l2UpdMuonTrackV.usemuon = True
29 
30 l3MuonTrackV = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
31 l3MuonTrackV.associatormap = 'tpToL3TrackAssociation'
32 l3MuonTrackV.label = ('hltL3Muons',)
33 l3MuonTrackV.associators = ('TrackAssociatorByDeltaR',)
34 l3MuonTrackV.dirName = 'HLT/Muon/MuonTrack/'
35 #l3MuonTrackV.beamSpot = 'hltOfflineBeamSpot'
36 l3MuonTrackV.ignoremissingtrackcollection=True
37 l3MuonTrackV.usetracker = True
38 l3MuonTrackV.usemuon = True
39 
40 l3TkMuonTrackV = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
41 l3TkMuonTrackV.associatormap = 'tpToL3TkTrackTrackAssociation'
42 l3TkMuonTrackV.label = ('hltL3TkTracksFromL2',)
43 l3TkMuonTrackV.associators = ('OnlineTrackAssociatorByHits',)
44 l3TkMuonTrackV.dirName = 'HLT/Muon/MuonTrack/'
45 #l3TkMuonTrackV.beamSpot = 'hltOfflineBeamSpot'
46 l3TkMuonTrackV.ignoremissingtrackcollection=True
47 l3TkMuonTrackV.usetracker = True
48 l3TkMuonTrackV.usemuon = False
49 
50 #
51 # The full Muon HLT validation sequence
52 #
53 muonValidationHLT_seq = cms.Sequence(
54  tpToL2TrackAssociation + l2MuonTrackV
55  +tpToL2UpdTrackAssociation + l2UpdMuonTrackV
56  +tpToL3TkTrackTrackAssociation + l3TkMuonTrackV
57  +tpToL3TrackAssociation + l3MuonTrackV
58  )
59 
60 recoMuonValidationHLT_seq = cms.Sequence(muonValidationHLT_seq)