CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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, ## choose logical OR between Triggerbits
7  #"regular" Zero Bias
8  #HLTPaths = ["HLT_ZeroBias_v*"],
9  #eventSetupPathsKey = 'SiPixelCalZeroBias',
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 ## customizations for the pp_on_AA eras
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 )