CMS 3D CMS Logo

ALCARECOSiStripCalMinBias_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # Set the HLT paths
5 ALCARECOSiStripCalMinBiasHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
6  andOr = True,
11  eventSetupPathsKey = 'SiStripCalMinBias',
12  throw = False # tolerate triggers stated above, but not available
13  )
14 
15 # Select only events where tracker had HV on (according to DCS bit information)
16 # AND respective partition is in the run (according to FED information)
17 import CalibTracker.SiStripCommon.SiStripDCSFilter_cfi
18 DCSStatusForSiStripCalMinBias = CalibTracker.SiStripCommon.SiStripDCSFilter_cfi.siStripDCSFilter.clone()
19 
20 # Select only good tracks
22 ALCARECOSiStripCalMinBias = Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi.AlignmentTrackSelector.clone()
23 
24 ALCARECOSiStripCalMinBias.filter = True
25 ALCARECOSiStripCalMinBias.src = 'generalTracks'
26 ALCARECOSiStripCalMinBias.applyBasicCuts = True
27 ALCARECOSiStripCalMinBias.ptMin = 0.8
28 ALCARECOSiStripCalMinBias.nHitMin = 6
29 ALCARECOSiStripCalMinBias.chi2nMax = 10.
30 
31 ALCARECOSiStripCalMinBias.GlobalSelector.applyIsolationtest = False
32 ALCARECOSiStripCalMinBias.GlobalSelector.applyGlobalMuonFilter = False
33 ALCARECOSiStripCalMinBias.GlobalSelector.applyJetCountFilter = False
34 
35 ALCARECOSiStripCalMinBias.TwoBodyDecaySelector.applyMassrangeFilter = False
36 ALCARECOSiStripCalMinBias.TwoBodyDecaySelector.applyChargeFilter = False
37 ALCARECOSiStripCalMinBias.TwoBodyDecaySelector.applyAcoplanarityFilter = False
38 ALCARECOSiStripCalMinBias.TwoBodyDecaySelector.applyMissingETFilter = False
39 
40 # Sequence #
41 seqALCARECOSiStripCalMinBias = cms.Sequence(ALCARECOSiStripCalMinBiasHLT*DCSStatusForSiStripCalMinBias*ALCARECOSiStripCalMinBias)
42 
43 
44 from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff import pp_on_XeXe_2017
45 pp_on_XeXe_2017.toModify(ALCARECOSiStripCalMinBiasHLT,
46  eventSetupPathsKey='SiStripCalMinBiasHI')
47 
48 from Configuration.ProcessModifiers.pp_on_AA_cff import pp_on_AA
49 import HLTrigger.HLTfilters.triggerResultsFilterFromDB_cfi
50 ALCARECOSiStripCalMinBiasTriggerResultsHI = HLTrigger.HLTfilters.triggerResultsFilterFromDB_cfi.triggerResultsFilterFromDB.clone(
51  eventSetupPathsKey = 'SiStripCalMinBiasHI',
52  usePathStatus = False,
53  hltResults = 'TriggerResults::HLT',
54  l1tResults = '', # leaving empty (not interested in L1T results)
55  throw = False # tolerate triggers stated above, but not available
56 )
57 
58 seqALCARECOSiStripCalMinBiasHI = cms.Sequence(ALCARECOSiStripCalMinBiasTriggerResultsHI*DCSStatusForSiStripCalMinBias*ALCARECOSiStripCalMinBias)
59 pp_on_AA.toReplaceWith(seqALCARECOSiStripCalMinBias,seqALCARECOSiStripCalMinBiasHI)
dont throw on unknown path names