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 #standalone muon tracking is already done... so remove standalonemuontracking from muontracking
27 muonreco_plus_isolation_PbPb = muonreco_plus_isolation.copyAndExclude(standalonemuontracking._seq._collection + displacedGlobalMuonTracking._seq._collection)
28 muonreco_plus_isolation_PbPb.replace(muons1stStep, muons)
29 
30 
31 globalMuons.TrackerCollectionLabel = hiTracks
32 
33 # replace with heavy ion jet label
34 muons.JetExtractorPSet.JetCollectionLabel = cms.InputTag("iterativeConePu5CaloJets")
35 
36 # turn off calo muons for timing considerations?
37 #muons.fillCaloCompatibility = cms.bool(False)
38 
39 # HI muon sequence (passed to RecoHI.Configuration.Reconstruction_HI_cff)
40 
41 muonRecoPbPb = cms.Sequence(muonreco_plus_isolation_PbPb)
42