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 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 #hiMuons1stStep.fillGlobalTrackRefits = False
14 muonEcalDetIds.inputCollection = "hiMuons1stStep"
15 
16 calomuons.inputTracks = hiTracks
17 calomuons.inputCollection = 'hiMuons1stStep'
18 calomuons.inputMuons = 'hiMuons1stStep'
19 muIsoDepositTk.inputTags = cms.VInputTag(cms.InputTag("hiMuons1stStep:tracker"))
20 muIsoDepositJets. inputTags = cms.VInputTag(cms.InputTag("hiMuons1stStep:jets"))
21 muIsoDepositCalByAssociatorTowers.inputTags = cms.VInputTag(cms.InputTag("hiMuons1stStep:ecal"), cms.InputTag("hiMuons1stStep:hcal"), cms.InputTag("hiMuons1stStep:ho"))
22 
23 muonShowerInformation.muonCollection = "hiMuons1stStep"
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, hiMuons1stStep)
29 
30 
31 globalMuons.TrackerCollectionLabel = hiTracks
32 
33 # replace with heavy ion jet label
34 hiMuons1stStep.JetExtractorPSet.JetCollectionLabel = cms.InputTag("iterativeConePu5CaloJets")
35 
36 # turn off calo muons for timing considerations
37 hiMuons1stStep.minPCaloMuon = cms.double( 1.0E9 )
38 
39 # high level reco
41 muons.InputMuons = cms.InputTag("hiMuons1stStep")
42 muons.PFCandidates = cms.InputTag("particleFlowTmp")
43 muons.FillDetectorBasedIsolation = cms.bool(False)
44 muons.FillPFIsolation = cms.bool(False)
45 muons.FillSelectorMaps = cms.bool(False)
46 muons.FillShoweringInfo = cms.bool(False)
47 muons.FillCosmicsIdMap = cms.bool(False)
48 muonRecoHighLevelPbPb = cms.Sequence(muons)
49 
50 # HI muon sequence (passed to RecoHI.Configuration.Reconstruction_HI_cff)
51 
52 muonRecoPbPb = cms.Sequence(muonreco_plus_isolation_PbPb)
53 
High level sequence (i.e., post PF reconstruction) ###.