CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HiRecoMuon_cff.py
Go to the documentation of this file.
2 
4 
5 hiTracks = 'hiSelectedTracks' #heavy ion track label
6 
7 # replace with heavy ion track label
8 muons = muons1stStep.clone()
9 muons.inputCollectionLabels = [hiTracks, 'globalMuons', 'standAloneMuons:UpdatedAtVtx','tevMuons:firstHit','tevMuons:picky','tevMuons:dyt']
10 muons.inputCollectionTypes = ['inner tracks', 'links', 'outer tracks','tev firstHit', 'tev picky', 'tev dyt']
11 muons.TrackExtractorPSet.inputTrackCollection = hiTracks
12 #muons.fillGlobalTrackRefits = False
13 muonEcalDetIds.inputCollection = "muons"
14 
15 calomuons.inputTracks = hiTracks
16 calomuons.inputCollection = 'muons'
17 calomuons.inputMuons = 'muons'
18 muIsoDepositTk.inputTags = cms.VInputTag(cms.InputTag("muons:tracker"))
19 muIsoDepositJets. inputTags = cms.VInputTag(cms.InputTag("muons:jets"))
20 muIsoDepositCalByAssociatorTowers.inputTags = cms.VInputTag(cms.InputTag("muons:ecal"), cms.InputTag("muons:hcal"), cms.InputTag("muons:ho"))
21 
22 muonShowerInformation.muonCollection = "muons"
23 
24 #don't modify somebody else's sequence, create a new one if needed
25 muonreco_plus_isolation_PbPb = muonreco_plus_isolation.expandAndClone()
26 muonreco_plus_isolation_PbPb.replace(muons1stStep, muons)
27 
28 globalMuons.TrackerCollectionLabel = hiTracks
29 
30 # replace with heavy ion jet label
31 muons.JetExtractorPSet.JetCollectionLabel = cms.InputTag("iterativeConePu5CaloJets")
32 
33 # turn off calo muons for timing considerations?
34 #muons.fillCaloCompatibility = cms.bool(False)
35 
36 # HI muon sequence (passed to RecoHI.Configuration.Reconstruction_HI_cff)
37 
38 muonRecoPbPb = cms.Sequence(muonreco_plus_isolation_PbPb)
39