CMS 3D CMS Logo

ALCARECOSiPixelCalZeroBias_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # Set the HLT paths
5 ALCARECOSiPixelCalZeroBiasHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
6  andOr = True,
10  eventSetupPathsKey = 'SiStripCalZeroBias',# use the trigger bit of SiStripCalZeroBias
11  throw = False # tolerate triggers stated above, but not available
12  )
13 
14 # Select only events where tracker had HV on (according to DCS bit information)
15 # AND respective partition is in the run (according to FED information)
16 import DPGAnalysis.Skims.skim_detstatus_cfi
17 ALCARECOSiPixelCalZeroBiasDCSFilter = DPGAnalysis.Skims.skim_detstatus_cfi.dcsstatus.clone(
18  DetectorType = cms.vstring('BPIX','FPIX'),
19  ApplyFilter = cms.bool(True),
20  AndOr = cms.bool(True),
21  DebugOn = cms.untracked.bool(False)
22 )
23 
24 # SiPixelStatus producer
26 
27 # Sequence #
28 seqALCARECOSiPixelCalZeroBias = cms.Sequence(ALCARECOSiPixelCalZeroBiasHLT*ALCARECOSiPixelCalZeroBiasDCSFilter*siPixelStatusProducer)
29 
30 
31 from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff import pp_on_XeXe_2017
32 from Configuration.ProcessModifiers.pp_on_AA_cff import pp_on_AA
33 (pp_on_XeXe_2017 | pp_on_AA).toModify(ALCARECOSiPixelCalZeroBiasHLT,
34  eventSetupPathsKey='SiStripCalZeroBiasHI'
35 )
hltHighLevel_cfi
SiPixelStatusProducer_cfi