CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/Validation/RecoHI/python/muonValidationHeavyIons_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 from Validation.RecoMuon.muonValidation_cff import *
00004 
00005 # pt-selection of reco tracks
00006 import PhysicsTools.RecoAlgos.recoTrackSelector_cfi
00007 cutsRecoTrkMuons = PhysicsTools.RecoAlgos.recoTrackSelector_cfi.recoTrackSelector.clone()
00008 cutsRecoTrkMuons.src = "hiSelectedTracks"
00009 cutsRecoTrkMuons.quality = []
00010 cutsRecoTrkMuons.ptMin = 2.0
00011 
00012 # pt-selection of tracking particles
00013 import PhysicsTools.RecoAlgos.trackingParticleSelector_cfi
00014 cutsTpMuons = PhysicsTools.RecoAlgos.trackingParticleSelector_cfi.trackingParticleSelector.clone()
00015 cutsTpMuons.ptMin = 2.0
00016 
00017 #----------------------------------------
00018 
00019 # MuonAssociation labels; hit-by-hit matching only,MuonAssociator
00020 
00021 # sim to tracker tracks, 
00022 tpToTkMuonAssociation.tracksTag = 'cutsRecoTrkMuons'
00023 tpToTkMuonAssociation.tpTag     = 'cutsTpMuons'
00024 
00025 # sim to sta, and sta:updatedAtVtx
00026 tpToStaMuonAssociation.tpTag    = 'cutsTpMuons'
00027 tpToStaUpdMuonAssociation.tpTag = 'cutsTpMuons'
00028 
00029 # sim to glb track 
00030 tpToGlbMuonAssociation.tpTag    = 'cutsTpMuons'
00031 tpToGlbMuonAssociation.tracksTag = 'globalMuons'
00032 
00033 # MuonAssociation cuts for heavy ion events
00034 tpToTkMuonAssociation.PurityCut_track = 0.75
00035 tpToStaMuonAssociation.UseMuon = True
00036 tpToStaMuonAssociation.PurityCut_muon = 0.75
00037 tpToStaUpdMuonAssociation.UseMuon = True
00038 tpToStaUpdMuonAssociation.PurityCut_muon = 0.75
00039 tpToGlbMuonAssociation.UseTracker = True
00040 tpToGlbMuonAssociation.PurityCut_track = 0.75
00041 tpToGlbMuonAssociation.UseMuon = True
00042 tpToGlbMuonAssociation.PurityCut_muon = 0.75
00043 
00044 # Muon association sequences
00045 # (some are commented out until timing is addressed)
00046 hiMuonAssociation_seq = cms.Sequence(
00047     tpToTkMuonAssociation+
00048     tpToStaMuonAssociation+
00049     tpToStaUpdMuonAssociation+
00050     tpToGlbMuonAssociation
00051     )
00052 
00053 #----------------------------------------
00054 
00055 # RecoMuonValidators labels
00056 trkMuonTrackVTrackAssoc.associatormap  = 'tpToTkMuonAssociation'
00057 trkMuonTrackVTrackAssoc.label          = ['cutsRecoTrkMuons']
00058 trkMuonTrackVTrackAssoc.label_tp_effic = 'cutsTpMuons'
00059 trkMuonTrackVTrackAssoc.label_tp_fake  = 'cutsTpMuons'
00060 
00061 glbMuonTrackVMuonAssoc.label           = ['globalMuons']
00062 glbMuonTrackVMuonAssoc.label_tp_effic  = 'cutsTpMuons'
00063 glbMuonTrackVMuonAssoc.label_tp_fake   = 'cutsTpMuons'
00064 
00065 staMuonTrackVMuonAssoc.label_tp_effic  = 'cutsTpMuons'
00066 staMuonTrackVMuonAssoc.label_tp_fake  = 'cutsTpMuons'
00067 
00068 staUpdMuonTrackVMuonAssoc.label_tp_effic  = 'cutsTpMuons'
00069 staUpdMuonTrackVMuonAssoc.label_tp_fake  = 'cutsTpMuons'
00070 
00071 #change pt max of track validator
00072 trkMuonTrackVTrackAssoc.maxpT = cms.double(200)
00073 glbMuonTrackVMuonAssoc.maxpT = cms.double(200)
00074 staMuonTrackVMuonAssoc.maxpT = cms.double(200)
00075 staUpdMuonTrackVMuonAssoc.maxpT = cms.double(200)
00076 
00077 # Muon Validation sequences
00078 hiMuonValidation_seq = cms.Sequence(
00079     trkMuonTrackVTrackAssoc+
00080     staMuonTrackVMuonAssoc+
00081     staUpdMuonTrackVMuonAssoc+
00082     glbMuonTrackVMuonAssoc
00083     )
00084 
00085 #----------------------------------------
00086 
00087 # HI muon Validation sequence
00088 hiRecoMuonValidation = cms.Sequence(cutsRecoTrkMuons *
00089                                     cutsTpMuons *
00090                                     hiMuonAssociation_seq *
00091                                     hiMuonValidation_seq)