File indexing completed on 2024-11-23 03:27:59
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def BTagAndProbe(*args, **kwargs):
0004 mod = cms.EDProducer('BTagAndProbe',
0005 FolderName = cms.string('HLT/BTV'),
0006 requireValidHLTPaths = cms.bool(True),
0007 vertices = cms.InputTag('offlinePrimaryVertices'),
0008 muons = cms.InputTag('muons'),
0009 electrons = cms.InputTag('gedGsfElectrons'),
0010 elecID = cms.InputTag('egmGsfElectronIDsForDQM', 'cutBasedElectronID-RunIIIWinter22-V1-tight'),
0011 btagAlgos = cms.VInputTag('pfParticleNetAK4DiscriminatorsJetTagsForRECO:BvsAll'),
0012 jetSelection = cms.string('pt > 30'),
0013 eleSelection = cms.string('pt > 0 && abs(eta) < 2.5'),
0014 muoSelection = cms.string('pt > 6 && abs(eta) < 2.4'),
0015 vertexSelection = cms.string('!isFake'),
0016 bjetSelection = cms.string('pt > 30'),
0017 nelectrons = cms.uint32(0),
0018 nmuons = cms.uint32(0),
0019 leptJetDeltaRmin = cms.double(0),
0020 bJetMuDeltaRmax = cms.double(9999),
0021 bJetDeltaEtaMax = cms.double(9999),
0022 nbjets = cms.uint32(0),
0023 workingpoint = cms.double(0.4941),
0024 applyLeptonPVcuts = cms.bool(False),
0025 debug = cms.bool(False),
0026 genericTriggerEventPSet = cms.PSet(
0027 ReadPrescalesFromFile = cms.bool(False),
0028 andOr = cms.bool(False),
0029 andOrDcs = cms.bool(False),
0030 andOrHlt = cms.bool(False),
0031 andOrL1 = cms.bool(False),
0032 errorReplyDcs = cms.bool(False),
0033 errorReplyHlt = cms.bool(False),
0034 errorReplyL1 = cms.bool(False),
0035 l1BeforeMask = cms.bool(False),
0036 stage2 = cms.bool(False),
0037 dcsInputTag = cms.InputTag('scalersRawToDigi'),
0038 dcsRecordInputTag = cms.InputTag('onlineMetaDataDigis'),
0039 hltInputTag = cms.InputTag('TriggerResults', '', 'HLT'),
0040 l1tAlgBlkInputTag = cms.InputTag('gtStage2Digis'),
0041 l1tExtBlkInputTag = cms.InputTag('gtStage2Digis'),
0042 dbLabel = cms.string(''),
0043 hltDBKey = cms.string(''),
0044 dcsPartitions = cms.vint32(),
0045 hltPaths = cms.vstring(),
0046 l1Algorithms = cms.vstring(),
0047 verbosityLevel = cms.uint32(0)
0048 ),
0049 leptonPVcuts = cms.PSet(
0050 dxy = cms.double(9999),
0051 dz = cms.double(9999)
0052 ),
0053 mightGet = cms.optional.untracked.vstring
0054 )
0055 for a in args:
0056 mod.update_(a)
0057 mod.update_(kwargs)
0058 return mod