Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:00:21

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 def BTagAndProbe(**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(
0012       'pfDeepCSVJetTags:probb',
0013       'pfDeepCSVJetTags:probbb'
0014     ),
0015     jetSelection = cms.string('pt > 30'),
0016     eleSelection = cms.string('pt > 0 && abs(eta) < 2.5'),
0017     muoSelection = cms.string('pt > 6 && abs(eta) < 2.4'),
0018     vertexSelection = cms.string('!isFake'),
0019     bjetSelection = cms.string('pt > 30'),
0020     nelectrons = cms.uint32(0),
0021     nmuons = cms.uint32(0),
0022     leptJetDeltaRmin = cms.double(0),
0023     bJetMuDeltaRmax = cms.double(9999),
0024     bJetDeltaEtaMax = cms.double(9999),
0025     nbjets = cms.uint32(0),
0026     workingpoint = cms.double(0.4941),
0027     applyLeptonPVcuts = cms.bool(False),
0028     debug = cms.bool(False),
0029     genericTriggerEventPSet = cms.PSet(
0030       ReadPrescalesFromFile = cms.bool(False),
0031       andOr = cms.bool(False),
0032       andOrDcs = cms.bool(False),
0033       andOrHlt = cms.bool(False),
0034       andOrL1 = cms.bool(False),
0035       errorReplyDcs = cms.bool(False),
0036       errorReplyHlt = cms.bool(False),
0037       errorReplyL1 = cms.bool(False),
0038       l1BeforeMask = cms.bool(False),
0039       stage2 = cms.bool(False),
0040       dcsInputTag = cms.InputTag('scalersRawToDigi'),
0041       dcsRecordInputTag = cms.InputTag('onlineMetaDataDigis'),
0042       hltInputTag = cms.InputTag('TriggerResults', '', 'HLT'),
0043       l1tAlgBlkInputTag = cms.InputTag('gtStage2Digis'),
0044       l1tExtBlkInputTag = cms.InputTag('gtStage2Digis'),
0045       dbLabel = cms.string(''),
0046       hltDBKey = cms.string(''),
0047       dcsPartitions = cms.vint32(),
0048       hltPaths = cms.vstring(),
0049       l1Algorithms = cms.vstring(),
0050       verbosityLevel = cms.uint32(0)
0051     ),
0052     leptonPVcuts = cms.PSet(
0053       dxy = cms.double(9999),
0054       dz = cms.double(9999)
0055     ),
0056     mightGet = cms.optional.untracked.vstring
0057   )
0058   for k,v in kwargs.items():
0059     setattr(mod, k, v)
0060   return mod