Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-07-12 22:34:54

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from Validation.RecoMuon.selectors_cff import *
0004 from Validation.RecoMuon.track_selectors_cff import *
0005 from Validation.RecoMuon.associators_cff import *
0006 from Validation.RecoMuon.histoParameters_cff import *
0007 
0008 import Validation.RecoMuon.MuonTrackValidator_cfi
0009 MTVhlt = Validation.RecoMuon.MuonTrackValidator_cfi.muonTrackValidator.clone(
0010 # DEFAULTS ###################################
0011 #    label_tp = "mix:MergedTrackTruth",
0012 #    label_tp_refvector = False,
0013 #    muonTPSelector = dict(muonTPSet),
0014 ##############################################
0015 label_tp = ("TPmu"),
0016 label_tp_refvector = True,
0017 dirName = 'HLT/Muon/MuonTrack/',
0018 #beamSpot = 'hltOfflineBeamSpot',
0019 ignoremissingtrackcollection=True
0020 )
0021 MTVhlt.muonTPSelector.src = ("TPmu")
0022 ################################################
0023 
0024 l2MuonMuTrackV = MTVhlt.clone(
0025     associatormap = 'tpToL2MuonAssociation',
0026     label = ('hltL2Muons',),
0027     muonHistoParameters = staMuonHistoParameters
0028 )
0029 l2UpdMuonMuTrackV = MTVhlt.clone(
0030     associatormap = 'tpToL2UpdMuonAssociation',
0031     label = ('hltL2Muons:UpdatedAtVtx',),
0032     muonHistoParameters = staUpdMuonHistoParameters
0033 )
0034 l3OITkMuonMuTrackV = MTVhlt.clone(
0035     associatormap = 'tpToL3OITkMuonAssociation',
0036     label = ('hltIterL3OIMuonTrackSelectionHighPurity:',),
0037     muonHistoParameters = trkMuonHistoParameters
0038 )
0039 l3TkMuonMuTrackV = MTVhlt.clone(
0040     associatormap = 'tpToL3TkMuonAssociation',
0041     label = ('hltIterL3MuonMerged:',),
0042     muonHistoParameters = trkMuonHistoParameters
0043 )
0044 l3IOFromL1TkMuonMuTrackV = MTVhlt.clone(
0045     associatormap = 'tpToL3FromL1TkMuonAssociation',
0046     label = ('hltIterL3MuonAndMuonFromL1Merged:',),
0047     muonHistoParameters = trkMuonHistoParameters
0048 )
0049 l0l3FromL1TkMuonMuTrackV = MTVhlt.clone(
0050     associatormap = 'tpToL0L3FromL1TkMuonAssociation',
0051     label = ('hltIter0IterL3FromL1MuonTrackSelectionHighPurity:',),
0052     muonHistoParameters = trkMuonHistoParameters
0053 )
0054 l3GlbMuonMuTrackV = MTVhlt.clone(
0055     associatormap = 'tpToL3GlbMuonAssociation',
0056     label = ('hltIterL3GlbMuon:',),
0057     muonHistoParameters = glbMuonHistoParameters
0058 )
0059 l3NoIDMuonMuTrackV = MTVhlt.clone(
0060     associatormap = 'tpToL3NoIDMuonAssociation',
0061     label = ('hltIterL3MuonsNoIDTracks:',),
0062     muonHistoParameters = glbMuonHistoParameters
0063 )
0064 l3MuonMuTrackV = MTVhlt.clone(
0065     associatormap = 'tpToL3MuonAssociation',
0066     label = ('hltIterL3MuonsTracks:',),
0067     muonHistoParameters = glbMuonHistoParameters
0068 )
0069 #
0070 # The full Muon HLT validation sequence
0071 #
0072 muonValidationHLT_seq = cms.Sequence(
0073     tpToL2MuonAssociation + l2MuonMuTrackV
0074     +tpToL2UpdMuonAssociation + l2UpdMuonMuTrackV
0075     +tpToL3OITkMuonAssociation + l3OITkMuonMuTrackV
0076     +tpToL3TkMuonAssociation + l3TkMuonMuTrackV
0077     +tpToL3FromL1TkMuonAssociation + l3IOFromL1TkMuonMuTrackV 
0078     +tpToL0L3FromL1TkMuonAssociation + l0l3FromL1TkMuonMuTrackV
0079     +tpToL3GlbMuonAssociation + l3GlbMuonMuTrackV
0080     +hltIterL3MuonsNoIDTracks_seq + tpToL3NoIDMuonAssociation + l3NoIDMuonMuTrackV
0081     +hltIterL3MuonsTracks_seq + tpToL3MuonAssociation + l3MuonMuTrackV
0082     )
0083 
0084 recoMuonValidationHLT_seq = cms.Sequence(
0085     cms.SequencePlaceholder("TPmu") +
0086     muonValidationHLT_seq
0087     )