Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
# AlCaReco for track based alignment using isolated muon tracks - relaxed cuts for PbPb collisions
import FWCore.ParameterSet.Config as cms

from Alignment.CommonAlignmentProducer.ALCARECOTkAlMuonIsolated_cff import *

ALCARECOTkAlMuonIsolatedHIHLT = ALCARECOTkAlMuonIsolatedHLT.clone(
    eventSetupPathsKey = 'TkAlMuonIsolatedHI'
    )

ALCARECOTkAlMuonIsolatedHIDCSFilter = ALCARECOTkAlMuonIsolatedDCSFilter.clone()

ALCARECOTkAlMuonIsolatedHI = ALCARECOTkAlMuonIsolated.clone(
    src = 'hiGeneralTracks'
)

# Isolation is shifted to the muon preselection, and then applied intrinsically if applyGlobalMuonFilter = True
ALCARECOTkAlMuonIsolatedHI.GlobalSelector.applyIsolationtest = False
ALCARECOTkAlMuonIsolatedHI.GlobalSelector.minJetDeltaR = 0.0 #pp version has 0.1
ALCARECOTkAlMuonIsolatedHI.GlobalSelector.applyGlobalMuonFilter = True
ALCARECOTkAlMuonIsolatedHI.GlobalSelector.jetIsoSource = cms.InputTag("iterativeConePu5CaloJets")
ALCARECOTkAlMuonIsolatedHI.GlobalSelector.jetCountSource = cms.InputTag("iterativeConePu5CaloJets")

ALCARECOTkAlMuonIsolatedHI.TwoBodyDecaySelector.applyMassrangeFilter = False
ALCARECOTkAlMuonIsolatedHI.TwoBodyDecaySelector.applyChargeFilter = False
ALCARECOTkAlMuonIsolatedHI.TwoBodyDecaySelector.applyAcoplanarityFilter = False

seqALCARECOTkAlMuonIsolatedHI = cms.Sequence(ALCARECOTkAlMuonIsolatedHIHLT
                                             +ALCARECOTkAlMuonIsolatedHIDCSFilter
                                             +ALCARECOTkAlMuonIsolatedHI
                                             )