CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/Validation/RecoJets/python/sequences/CompareCalibs_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 #----------------------------------------------
00004 # sequence to for calibration comparisons
00005 #----------------------------------------------
00006 
00007 import Validation.RecoJets.producers.CompareCalibs_cfi
00008 
00009 #
00010 # compare official global fit versus factorized approach
00011 #
00012 
00013 ## clone modules
00014 gfVsFact = Validation.RecoJets.producers.CompareCalibs_cfi.compareCalibs.clone()
00015 factVsGf = Validation.RecoJets.producers.CompareCalibs_cfi.compareCalibs.clone()
00016 
00017 ## do proper replacements
00018 gfVsFact.recs = 'gfCorJetIcone5'
00019 gfVsFact.refs = 'L2L3CorJetIcone5'
00020 factVsGf.recs = 'L2L3CorJetIcone5'
00021 factVsGf.refs = 'gfCorJetIcone5'
00022 
00023 ## sequences
00024 makeGfVsFactComparison = cms.Sequence(gfVsFact)
00025 makeFactVsGfComparison = cms.Sequence(factVsGf)
00026 makeAllFactComparison  = cms.Sequence(gfVsFact +
00027                                       factVsGf
00028                                       )
00029 
00030 
00031 #
00032 # compare official global fit versus private global fit
00033 #
00034 
00035 ## clone modules
00036 gfVsPriv = Validation.RecoJets.producers.CompareCalibs_cfi.compareCalibs.clone()
00037 privVsGf = Validation.RecoJets.producers.CompareCalibs_cfi.compareCalibs.clone()
00038 
00039 ## do proper replacements
00040 gfVsPriv.recs = 'gfCorJetIcone5'
00041 gfVsPriv.refs = 'gfCorIcone5'     # rename jet collections in Calibration/CalibMaker/python/sequences/calibJets_cff.py
00042 privVsGf.recs = 'gfCorIcone5'     # accordingly from 'gfCorJetIcone5' to 'gfCorIcone5' to make this work properly
00043 privVsGf.refs = 'gfCorJetIcone5'
00044 
00045 ## sequences
00046 makeGfVsPrivComparison = cms.Sequence(gfVsPriv)
00047 makePrivVsGfComparison = cms.Sequence(privVsGf)
00048 makeAllPrivComparison  = cms.Sequence(gfVsPriv +
00049                                       privVsGf
00050                                       )