2 import FWCore.ParameterSet.Config
as cms
5 ALCARECOTkAlUpsilonMuMuHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
7 eventSetupPathsKey =
'TkAlUpsilonMuMu',
15 import DPGAnalysis.Skims.skim_detstatus_cfi
16 ALCARECOTkAlUpsilonMuMuDCSFilter = DPGAnalysis.Skims.skim_detstatus_cfi.dcsstatus.clone(
17 DetectorType = cms.vstring(
'TIBTID',
'TOB',
'TECp',
'TECm',
'BPIX',
'FPIX',
18 'DT0',
'DTp',
'DTm',
'CSCp',
'CSCm'),
19 ApplyFilter = cms.bool(
True),
20 AndOr = cms.bool(
True),
21 DebugOn = cms.untracked.bool(
False)
24 import Alignment.CommonAlignmentProducer.TkAlMuonSelectors_cfi
25 ALCARECOTkAlUpsilonMuMuGoodMuons = Alignment.CommonAlignmentProducer.TkAlMuonSelectors_cfi.TkAlGoodIdMuonSelector.clone()
26 ALCARECOTkAlUpsilonMuMuRelCombIsoMuons = Alignment.CommonAlignmentProducer.TkAlMuonSelectors_cfi.TkAlRelCombIsoMuonSelector.clone(
27 src =
'ALCARECOTkAlUpsilonMuMuGoodMuons',
28 cut =
'(isolationR03().sumPt + isolationR03().emEt + isolationR03().hadEt)/pt < 0.3'
33 ALCARECOTkAlUpsilonMuMu = Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi.AlignmentTrackSelector.clone()
34 ALCARECOTkAlUpsilonMuMu.filter =
True
36 ALCARECOTkAlUpsilonMuMu.applyBasicCuts =
True
37 ALCARECOTkAlUpsilonMuMu.ptMin = 3.
38 ALCARECOTkAlUpsilonMuMu.etaMin = -3.5
39 ALCARECOTkAlUpsilonMuMu.etaMax = 3.5
40 ALCARECOTkAlUpsilonMuMu.nHitMin = 0
42 ALCARECOTkAlUpsilonMuMu.GlobalSelector.muonSource =
'ALCARECOTkAlUpsilonMuMuRelCombIsoMuons'
44 ALCARECOTkAlUpsilonMuMu.GlobalSelector.applyIsolationtest =
False
45 ALCARECOTkAlUpsilonMuMu.GlobalSelector.applyGlobalMuonFilter =
True
47 ALCARECOTkAlUpsilonMuMu.TwoBodyDecaySelector.applyMassrangeFilter =
True
48 ALCARECOTkAlUpsilonMuMu.TwoBodyDecaySelector.minXMass = 8.9
49 ALCARECOTkAlUpsilonMuMu.TwoBodyDecaySelector.maxXMass = 9.9
50 ALCARECOTkAlUpsilonMuMu.TwoBodyDecaySelector.daughterMass = 0.105
51 ALCARECOTkAlUpsilonMuMu.TwoBodyDecaySelector.applyChargeFilter =
True
52 ALCARECOTkAlUpsilonMuMu.TwoBodyDecaySelector.charge = 0
53 ALCARECOTkAlUpsilonMuMu.TwoBodyDecaySelector.applyAcoplanarityFilter =
False
54 ALCARECOTkAlUpsilonMuMu.TwoBodyDecaySelector.acoplanarDistance = 1
55 ALCARECOTkAlUpsilonMuMu.TwoBodyDecaySelector.numberOfCandidates = 1
57 seqALCARECOTkAlUpsilonMuMu = cms.Sequence(ALCARECOTkAlUpsilonMuMuHLT+ALCARECOTkAlUpsilonMuMuDCSFilter+ALCARECOTkAlUpsilonMuMuGoodMuons+ALCARECOTkAlUpsilonMuMuRelCombIsoMuons+ALCARECOTkAlUpsilonMuMu)
60 from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff
import pp_on_XeXe_2017
61 from Configuration.ProcessModifiers.pp_on_AA_cff
import pp_on_AA
62 (pp_on_XeXe_2017 | pp_on_AA).toModify(ALCARECOTkAlUpsilonMuMuHLT,
63 eventSetupPathsKey=
'TkAlUpsilonMuMuHI'