Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:24:32

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("myprocess")
0004 process.load("CondCore.DBCommon.CondDBCommon_cfi")
0005 
0006 #Load up our measurements!
0007 #Data measurements from Spring11
0008 process.load ("RecoBTag.PerformanceDB.PoolBTagPerformanceDB1107")
0009 process.load ("RecoBTag.PerformanceDB.BTagPerformanceDB1107")
0010 
0011 process.maxEvents = cms.untracked.PSet(
0012     input = cms.untracked.int32(1)
0013 )
0014 process.source = cms.Source("EmptySource")
0015 
0016 #Setup the analyzer.
0017 #process.demo2 = cms.EDAnalyzer('DumpBtagTable',
0018 #                               AlgoName = cms.string('JetProbability_loose'),
0019 #                               measureName = cms.vstring("MISTAGSSVHEM","MISTAGSSVHEM","MISTAGSSVHEM","MISTAGSSVHEM",
0020 #                                                         "MISTAGSSVHPT","MISTAGSSVHPT","MISTAGSSVHPT","MISTAGSSVHPT",
0021 #                                                         "MISTAGTCHEM","MISTAGTCHEM","MISTAGTCHEM","MISTAGTCHEM"),
0022 #                              measureType = cms.vstring("BTAGLEFF", "BTAGLERR", "BTAGLEFFCORR", "BTAGLERRCORR",
0023 #                                                         "BTAGLEFF", "BTAGLERR", "BTAGLEFFCORR", "BTAGLERRCORR",
0024 #                                                         "BTAGLEFF", "BTAGLERR", "BTAGLEFFCORR", "BTAGLERRCORR")
0025 #                               )
0026 
0027 ## DUMP Tables for CSVM: data b-tag efficiencies, SF_b, data mistag efficiencies, SF_mistag  
0028 process.demo2 = cms.EDAnalyzer('DumpBtagTable',
0029                                AlgoName = cms.string('CombinedSecondaryVertex_medium'),
0030                                measureName = cms.vstring("BTAGCSVM","BTAGCSVM","MISTAGCSVM","MISTAGCSVM"),
0031                                measureType = cms.vstring("BTAGBEFF", "BTAGBEFFCORR", "BTAGLEFF", "BTAGLEFFCORR")
0032                                )
0033 
0034 #process.p = cms.Path(process.demo2 * process.demo3)
0035 process.p = cms.Path(process.demo2)
0036 
0037