CMS 3D CMS Logo

EcalDeadCellTriggerPrimitiveFilter_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 EcalDeadCellTriggerPrimitiveFilter = cms.EDFilter(
4  'EcalDeadCellTriggerPrimitiveFilter',
5 
6  # when activated, the filter does not filter event.
7  # the filter is however storing a bool in the event, that can be used to take the
8  # filtering decision a posteriori
9  taggingMode = cms.bool( False ),
10 
11  debug = cms.bool( False ),
12  verbose = cms.int32( 1 ),
13 
14  tpDigiCollection = cms.InputTag("ecalTPSkimNA"),
15  etValToBeFlagged = cms.double(127.49),
16 
17  ebReducedRecHitCollection = cms.InputTag("reducedEcalRecHitsEB"),
18  eeReducedRecHitCollection = cms.InputTag("reducedEcalRecHitsEE"),
19 
20  maskedEcalChannelStatusThreshold = cms.int32( 1 ),
21 
22  doEEfilter = cms.untracked.bool( True ), # turn it on by default
23 
24  useTTsum = cms.bool ( True ),
25  usekTPSaturated = cms.bool ( False)
26 )
27 
28 from Configuration.Eras.Modifier_phase2_hgcal_cff import phase2_hgcal
29 phase2_hgcal.toModify( EcalDeadCellTriggerPrimitiveFilter,
30  doEEfilter = cms.untracked.bool(False)
31 )