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.load ("RecoBTag.PerformanceDB.PoolBTagPerformanceDB062012")
0012 process.load ("RecoBTag.PerformanceDB.BTagPerformanceDB062012")
0013 
0014 #process.load ("Btag_TTBARWPBTAGJPL")
0015 #process.load ("Pool_TTBARWPBTAGJPL")
0016 
0017 
0018 #process.CondDBCommon.connect = 'sqlite_file:PhysicsPerformance.db'
0019 #process.PoolDBESSource.connect = 'frontier://FrontierProd/CMS_COND_PAT_000'
0020 #process.PoolDBESSourcebtagTtbarWp0612.connect = 'frontier://FrontierProd/CMS_COND_PAT_000'
0021 
0022 process.maxEvents = cms.untracked.PSet(
0023     input = cms.untracked.int32(1)
0024 )
0025 process.source = cms.Source("EmptySource")
0026 
0027 #Setup the analyzer.
0028 #process.demo2 = cms.EDAnalyzer('TestPerformanceFW_ES',
0029 #                               AlgoName = cms.string('JetProbability_loose'),
0030 #                               measureName = cms.vstring("MISTAGSSVHEM","MISTAGSSVHEM","MISTAGSSVHEM","MISTAGSSVHEM",
0031 #                                                         "MISTAGSSVHPT","MISTAGSSVHPT","MISTAGSSVHPT","MISTAGSSVHPT",
0032 #                                                         "MISTAGTCHEM","MISTAGTCHEM","MISTAGTCHEM","MISTAGTCHEM"),
0033 #                              measureType = cms.vstring("BTAGLEFF", "BTAGLERR", "BTAGLEFFCORR", "BTAGLERRCORR",
0034 #                                                         "BTAGLEFF", "BTAGLERR", "BTAGLEFFCORR", "BTAGLERRCORR",
0035 #                                                         "BTAGLEFF", "BTAGLERR", "BTAGLEFFCORR", "BTAGLERRCORR")
0036 #                               )
0037 
0038 process.demo2 = cms.EDAnalyzer('TestPerformanceFW_ES',
0039                                AlgoName = cms.string('TTBARWPBTAGCSVM'),
0040                                measureName = cms.vstring("TTBARWPBTAGCSVM", "TTBARWPBTAGCSVM","TTBARWPBTAGJPL", "TTBARWPBTAGJPL"),
0041                                #measureName = cms.vstring("BTAGTCHEM","BTAGTCHEM","MISTAGTCHEM","MISTAGTCHEM"),
0042                                measureType = cms.vstring("BTAGBEFFCORR", "BTAGBERRCORR", "BTAGBEFFCORR", "BTAGBERRCORR")
0043                                )
0044 
0045 
0046 #process.demo3 = cms.EDAnalyzer('TestPerformanceFW_ES',
0047 #                               AlgoName = cms.string('TrackCountingHighPurity_tight'),
0048 #                               measureName = cms.vstring("BTAGTCHPT","BTAGTCHPT"),
0049 #                               measureType = cms.vstring( "BTAGBEFFCORR", "BTAGBERRCORR")
0050 #                               )
0051 
0052 #process.p = cms.Path(process.demo2 * process.demo3)
0053 process.p = cms.Path(process.demo2)
0054 
0055