File indexing completed on 2024-04-06 12:15:38
0001 import FWCore.ParameterSet.Config as cms
0002
0003
0004 towersAboveThreshold = cms.EDProducer("CaloTowerCandidateCreator",
0005 src = cms.InputTag("towerMaker"),
0006 verbose = cms.untracked.int32(0),
0007 minimumE = cms.double(3.0),
0008 minimumEt = cms.double(0.0),
0009 )
0010
0011
0012 hfPosTowers = cms.EDFilter("EtaPtMinCandSelector",
0013 src = cms.InputTag("towersAboveThreshold"),
0014 ptMin = cms.double(0),
0015 etaMin = cms.double(3.0),
0016 etaMax = cms.double(6.0)
0017 )
0018
0019
0020 hfNegTowers = cms.EDFilter("EtaPtMinCandSelector",
0021 src = cms.InputTag("towersAboveThreshold"),
0022 ptMin = cms.double(0),
0023 etaMin = cms.double(-6.0),
0024 etaMax = cms.double(-3.0)
0025 )
0026
0027
0028 hfPosFilter = cms.EDFilter("CandCountFilter",
0029 src = cms.InputTag("hfPosTowers"),
0030 minNumber = cms.uint32(1)
0031 )
0032
0033
0034 hfNegFilter = cms.EDFilter("CandCountFilter",
0035 src = cms.InputTag("hfNegTowers"),
0036 minNumber = cms.uint32(1)
0037 )
0038
0039
0040 hfCoincFilter = cms.Sequence(
0041 towersAboveThreshold *
0042 hfPosTowers *
0043 hfNegTowers *
0044 hfPosFilter *
0045 hfNegFilter)
0046
0047
0048
0049
0050 hfPosFilter3 = hfPosFilter.clone(minNumber=cms.uint32(3))
0051 hfNegFilter3 = hfNegFilter.clone(minNumber=cms.uint32(3))
0052
0053 hfCoincFilter3 = cms.Sequence(
0054 towersAboveThreshold *
0055 hfPosTowers *
0056 hfNegTowers *
0057 hfPosFilter3 *
0058 hfNegFilter3)