2 import FWCore.ParameterSet.Config
as cms
6 ALCARECOTkAlMinBiasNOTHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
8 eventSetupPathsKey =
'TkAlMinBiasNOT',
11 ALCARECOTkAlMinBiasHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
13 eventSetupPathsKey =
'TkAlMinBias',
21 import DPGAnalysis.Skims.skim_detstatus_cfi
22 ALCARECOTkAlMinBiasDCSFilter = DPGAnalysis.Skims.skim_detstatus_cfi.dcsstatus.clone(
23 DetectorType = cms.vstring(
'TIBTID',
'TOB',
'TECp',
'TECm',
'BPIX',
'FPIX'),
24 ApplyFilter = cms.bool(
True),
25 AndOr = cms.bool(
True),
26 DebugOn = cms.untracked.bool(
False)
30 ALCARECOTkAlMinBias = Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi.AlignmentTrackSelector.clone()
31 ALCARECOTkAlMinBias.filter =
True 33 ALCARECOTkAlMinBias.applyBasicCuts =
True 34 ALCARECOTkAlMinBias.ptMin = 0.65
35 ALCARECOTkAlMinBias.pMin = 1.5
38 ALCARECOTkAlMinBias.etaMin = -3.5
39 ALCARECOTkAlMinBias.etaMax = 3.5
40 ALCARECOTkAlMinBias.nHitMin = 7
41 ALCARECOTkAlMinBias.GlobalSelector.applyIsolationtest =
False 42 ALCARECOTkAlMinBias.GlobalSelector.applyGlobalMuonFilter =
False 43 ALCARECOTkAlMinBias.TwoBodyDecaySelector.applyMassrangeFilter =
False 44 ALCARECOTkAlMinBias.TwoBodyDecaySelector.applyChargeFilter =
False 45 ALCARECOTkAlMinBias.TwoBodyDecaySelector.applyAcoplanarityFilter =
False 47 seqALCARECOTkAlMinBias = cms.Sequence(ALCARECOTkAlMinBiasHLT*~ALCARECOTkAlMinBiasNOTHLT+ALCARECOTkAlMinBiasDCSFilter+ALCARECOTkAlMinBias)
50 from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff
import pp_on_XeXe_2017
51 from Configuration.ProcessModifiers.pp_on_AA_cff
import pp_on_AA
52 (pp_on_XeXe_2017 | pp_on_AA).toModify(ALCARECOTkAlMinBias,
53 trackQualities = cms.vstring(
"highPurity")
56 pp_on_XeXe_2017.toModify(ALCARECOTkAlMinBiasHLT,
57 eventSetupPathsKey=
'TkAlMinBiasHI')
59 import HLTrigger.HLTfilters.triggerResultsFilterFromDB_cfi
60 ALCARECOTkAlMinBiasTriggerResultsHI = HLTrigger.HLTfilters.triggerResultsFilterFromDB_cfi.triggerResultsFilterFromDB.clone(
61 eventSetupPathsKey =
'TkAlMinBiasHI',
62 usePathStatus =
False,
63 hltResults =
'TriggerResults::HLT',
68 seqALCARECOTkAlMinBiasHI = cms.Sequence(ALCARECOTkAlMinBiasTriggerResultsHI*~ALCARECOTkAlMinBiasNOTHLT+ALCARECOTkAlMinBiasDCSFilter+ALCARECOTkAlMinBias)
69 pp_on_AA.toReplaceWith(seqALCARECOTkAlMinBias,seqALCARECOTkAlMinBiasHI)
71 from Configuration.Eras.Modifier_phase2_tracker_cff
import phase2_tracker
72 phase2_tracker.toModify(ALCARECOTkAlMinBias, etaMin = -4, etaMax = 4)
dont throw on unknown path names