Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-08-27 04:39:39

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 # BTagPerformanceAnalyzer configuration                                                                                                                                              
0004 from DQMOffline.RecoB.bTagGenericAnalysis_cff import bTagGenericAnalysisBlock
0005 from DQMOffline.RecoB.cTagGenericAnalysis_cff import cTagGenericAnalysisBlock
0006 from DQMOffline.RecoB.bTagTrackIPAnalysis_cff import bTagTrackIPAnalysisBlock
0007 from DQMOffline.RecoB.bTagTrackProbabilityAnalysis_cff import bTagProbabilityAnalysisBlock
0008 
0009 
0010 
0011 bTagCommonBlock = cms.PSet(
0012     # use pre-computed jet flavour identification
0013     # new default is to use genparticles - and it is the only option
0014     # Parameters which are common to all tagger algorithms
0015     # rec. jet
0016     ptRecJetMin = cms.double(30.0),
0017     ptRecJetMax = cms.double(40000.0),
0018     # eta
0019     etaMin = cms.double(0.0),
0020     etaMax = cms.double(2.5),
0021     # lepton momentum to jet energy ratio, if you use caloJets put ratioMin to -1.0 and ratioMax to 0.8
0022     ratioMin = cms.double(-9999.0),
0023     ratioMax = cms.double(9999.0),
0024     softLeptonInfo = cms.InputTag("softPFElectronsTagInfos"),
0025     # Section for the jet flavour identification
0026     jetMCSrc = cms.InputTag("mcJetFlavour"),
0027     caloJetMCSrc = cms.InputTag(""), #To define only if you use the old flavour tool
0028     useOldFlavourTool = cms.bool(False), #Recommended only for CaloJets, if True then define caloJetMCSrc and ignore jetMCSrc
0029     # eta and pt ranges
0030     ptRanges = cms.vdouble(50.0, 80.0, 120.0),
0031     etaRanges = cms.vdouble(0.0, 1.4, 2.5),
0032     #Jet ID and EnergyCorr.
0033     doJetID = cms.bool(False),
0034     doJEC = cms.bool(False),
0035     JECsourceMC = cms.InputTag("ak4PFCHSL1FastL2L3Corrector"),
0036     JECsourceData = cms.InputTag("ak4PFCHSL1FastL2L3ResidualCorrector"),
0037     #tagger configuration
0038     tagConfig = cms.VPSet(
0039 
0040         cms.PSet(
0041             bTagTrackIPAnalysisBlock,
0042             type = cms.string('CandIP'),
0043             label = cms.InputTag("pfImpactParameterTagInfos"),
0044             folder = cms.string("IPTag")
0045         ),
0046 
0047         cms.PSet(
0048             bTagProbabilityAnalysisBlock,
0049             label = cms.InputTag("pfJetProbabilityBJetTags"),
0050             folder = cms.string("JP")
0051         ),
0052 
0053     )
0054 )