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 = 'hiGeneralTracks' #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.minPt = cms.double(0.8)
13 #muons.fillGlobalTrackRefits = False
14 muonEcalDetIds.inputCollection = "muons"
15 
16 calomuons.inputTracks = hiTracks
17 calomuons.inputCollection = 'muons'
18 calomuons.inputMuons = 'muons'
19 muIsoDepositTk.inputTags = cms.VInputTag(cms.InputTag("muons:tracker"))
20 muIsoDepositJets. inputTags = cms.VInputTag(cms.InputTag("muons:jets"))
21 muIsoDepositCalByAssociatorTowers.inputTags = cms.VInputTag(cms.InputTag("muons:ecal"), cms.InputTag("muons:hcal"), cms.InputTag("muons:ho"))
22 
23 muonShowerInformation.muonCollection = "muons"
24 
25 #don't modify somebody else's sequence, create a new one if needed
26 muonreco_plus_isolation_PbPb = muonreco_plus_isolation.expandAndClone()
27 muonreco_plus_isolation_PbPb.replace(muons1stStep, muons)
28 
29 globalMuons.TrackerCollectionLabel = hiTracks
30 
31 # replace with heavy ion jet label
32 muons.JetExtractorPSet.JetCollectionLabel = cms.InputTag("iterativeConePu5CaloJets")
33 
34 # turn off calo muons for timing considerations?
35 #muons.fillCaloCompatibility = cms.bool(False)
36 
37 # HI muon sequence (passed to RecoHI.Configuration.Reconstruction_HI_cff)
38 
39 muonRecoPbPb = cms.Sequence(muonreco_plus_isolation_PbPb)
40