CMS 3D CMS Logo

muonValidationHLT_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
6 import Validation.RecoMuon.MuonTrackValidator_cfi
7 
8 l2MuonMuTrackV = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
9 l2MuonMuTrackV.associatormap = 'tpToL2MuonAssociation'
10 l2MuonMuTrackV.label = ('hltL2Muons',)
11 l2MuonMuTrackV.dirName = 'HLT/Muon/MuonTrack/'
12 #l2MuonMuTrackV.beamSpot = 'hltOfflineBeamSpot'
13 l2MuonMuTrackV.ignoremissingtrackcollection=True
14 l2MuonMuTrackV.muonHistoParameters = staMuonHistoParameters
15 
16 l2UpdMuonMuTrackV = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
17 l2UpdMuonMuTrackV.associatormap = 'tpToL2UpdMuonAssociation'
18 l2UpdMuonMuTrackV.label = ('hltL2Muons:UpdatedAtVtx',)
19 l2UpdMuonMuTrackV.dirName = 'HLT/Muon/MuonTrack/'
20 #l2UpdMuonMuTrackV.beamSpot = 'hltOfflineBeamSpot'
21 l2UpdMuonMuTrackV.ignoremissingtrackcollection=True
22 l2UpdMuonMuTrackV.muonHistoParameters = staUpdMuonHistoParameters
23 
24 l3TkMuonMuTrackV = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
25 l3TkMuonMuTrackV.associatormap = 'tpToL3TkMuonAssociation'
26 l3TkMuonMuTrackV.label = ('hltL3TkTracksFromL2:',)
27 l3TkMuonMuTrackV.dirName = 'HLT/Muon/MuonTrack/'
28 #l3TkMuonMuTrackV.beamSpot = 'hltOfflineBeamSpot'
29 l3TkMuonMuTrackV.ignoremissingtrackcollection=True
30 l3TkMuonMuTrackV.muonHistoParameters = trkMuonHistoParameters
31 
32 l3MuonMuTrackV = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone()
33 l3MuonMuTrackV.associatormap = 'tpToL3MuonAssociation'
34 l3MuonMuTrackV.label = ('hltL3Muons:',)
35 l3MuonMuTrackV.dirName = 'HLT/Muon/MuonTrack/'
36 #l3MuonMuTrackV.beamSpot = 'hltOfflineBeamSpot'
37 l3MuonMuTrackV.ignoremissingtrackcollection=True
38 l3MuonMuTrackV.muonHistoParameters = glbMuonHistoParameters
39 #
40 # The full Muon HLT validation sequence
41 #
42 muonValidationHLT_seq = cms.Sequence(
43  tpToL2MuonAssociation + l2MuonMuTrackV
44  +tpToL2UpdMuonAssociation + l2UpdMuonMuTrackV
45  +tpToL3TkMuonAssociation + l3TkMuonMuTrackV
46  +tpToL3MuonAssociation + l3MuonMuTrackV
47  )
48 
49 recoMuonValidationHLT_seq = cms.Sequence(
50  muonValidationHLT_seq
51  )