CMS 3D CMS Logo

HiRecoMuon_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 
5 hiTracks = 'hiGeneralTracks' #heavy ion track label
6 
7 # replace with heavy ion track label
8 hiMuons1stStep = muons1stStep.clone()
9 hiMuons1stStep.inputCollectionLabels = [hiTracks, 'globalMuons', 'standAloneMuons:UpdatedAtVtx','tevMuons:firstHit','tevMuons:picky','tevMuons:dyt']
10 hiMuons1stStep.inputCollectionTypes = ['inner tracks', 'links', 'outer tracks','tev firstHit', 'tev picky', 'tev dyt']
11 hiMuons1stStep.TrackExtractorPSet.inputTrackCollection = hiTracks
12 hiMuons1stStep.minPt = cms.double(0.8)
13 #iso deposits are not used in HI
14 hiMuons1stStep.writeIsoDeposits = False
15 #hiMuons1stStep.fillGlobalTrackRefits = False
16 muonEcalDetIds.inputCollection = "hiMuons1stStep"
17 
18 muIsoDepositTk.inputTags = cms.VInputTag(cms.InputTag("hiMuons1stStep:tracker"))
19 muIsoDepositJets. inputTags = cms.VInputTag(cms.InputTag("hiMuons1stStep:jets"))
20 muIsoDepositCalByAssociatorTowers.inputTags = cms.VInputTag(cms.InputTag("hiMuons1stStep:ecal"), cms.InputTag("hiMuons1stStep:hcal"), cms.InputTag("hiMuons1stStep:ho"))
21 
22 muonShowerInformation.muonCollection = "hiMuons1stStep"
23 
24 #don't modify somebody else's sequence, create a new one if needed
25 #standalone muon tracking is already done... so remove standalonemuontracking from muontracking
26 muonreco_plus_isolation_PbPb = muonreco_plus_isolation.copyAndExclude(standalonemuontracking._seq._collection + displacedGlobalMuonTracking._seq._collection)
27 muonreco_plus_isolation_PbPb.replace(muons1stStep, hiMuons1stStep)
28 #iso deposits are not used in HI
29 muonreco_plus_isolation_PbPb.remove(muIsoDeposits_muons)
30 
31 
32 globalMuons.TrackerCollectionLabel = hiTracks
33 
34 # replace with heavy ion jet label
35 hiMuons1stStep.JetExtractorPSet.JetCollectionLabel = cms.InputTag("iterativeConePu5CaloJets")
36 
37 # turn off calo muons for timing considerations
38 hiMuons1stStep.minPCaloMuon = cms.double( 1.0E9 )
39 
40 # high level reco
42 muons.InputMuons = cms.InputTag("hiMuons1stStep")
43 muons.PFCandidates = cms.InputTag("particleFlowTmp")
44 muons.FillDetectorBasedIsolation = cms.bool(False)
45 muons.FillPFIsolation = cms.bool(False)
46 muons.FillSelectorMaps = cms.bool(False)
47 muons.FillShoweringInfo = cms.bool(False)
48 muons.FillCosmicsIdMap = cms.bool(False)
49 muons.vertices = cms.InputTag("hiSelectedVertex")
50 muonRecoHighLevelPbPb = cms.Sequence(muons)
51 
52 # HI muon sequence (passed to RecoHI.Configuration.Reconstruction_HI_cff)
53 
54 muonRecoPbPb = cms.Sequence(muonreco_plus_isolation_PbPb)
55 
High level sequence (i.e., post PF reconstruction) ###.