CMS 3D CMS Logo

PostProcessorExample_cfi.py

Go to the documentation of this file.
00001 #the sequence defined herein do not get included
00002 # in the actual sequences run centrally
00003 #these module instances serve as examples of postprocessing
00004 # new histograms are generated as the ratio of the specified input
00005 # defined thru 'efficiency = cms.vstring(arg)' where arg has the form
00006 # "ratio 'histo title; x-label; y-label; numerator denominator'"
00007 #the base code is: Validation/RecoMuon/src/PostProcessor.cc
00008 
00009 import FWCore.ParameterSet.Config as cms
00010 
00011 myMuonPostVal = cms.EDFilter("PostProcessor",
00012     outputFileName = cms.untracked.string('MuonPostProcessor.root'),
00013     commands       = cms.vstring(),
00014     resolution     = cms.vstring(),                                    
00015     subDir         = cms.untracked.string('HLT/Muon/Distributions/*'),
00016     efficiency     = cms.vstring(
00017         "EFF 'my title; my x-label; my y-label' genPassEta_L1Filtered genPassEta_All"
00018     )
00019 )
00020 
00021 
00022 myEgammaPostVal = cms.EDFilter("PostProcessor",
00023     outputFileName = cms.untracked.string('EgammaPostProcessor.root'),
00024     commands       = cms.vstring(),
00025     resolution     = cms.vstring(),                                    
00026     subDir         = cms.untracked.string('HLT/HLTEgammaValidation/*'),
00027     efficiency     = cms.vstring(
00028         "EFF 'my title; my x-label; my y-label' hltL1sDoubleEgammaeta hltL1sDoubleEgammaeta"
00029     )
00030 )
00031 
00032 myTauPostVal = cms.EDFilter("PostProcessor",
00033     outputFileName = cms.untracked.string('TauPostProcessor.root'),
00034     commands       = cms.vstring(),
00035     resolution     = cms.vstring(),                                    
00036     subDir         = cms.untracked.string('HLT/HLTTAU/*'),
00037     efficiency     = cms.vstring(
00038         "EFF 'my title; my x-label; my y-label' L1Tau1Eta GenTauElecEta"
00039     )
00040 )
00041 
00042 
00043 myTopPostVal = cms.EDFilter("PostProcessor",
00044     outputFileName = cms.untracked.string('TopPostProcessor.root'),
00045     commands       = cms.vstring(),
00046     resolution     = cms.vstring(),                                    
00047     subDir         = cms.untracked.string('HLT/Top/'),
00048     efficiency     = cms.vstring(
00049     "TrigEFF 'my title; my x-label; my y-label' pt_trig_off_mu pt_off_mu"
00050     )
00051 )
00052 
00053 ExamplePostVal = cms.Sequence(
00054     myMuonPostVal
00055     +myEgammaPostVal
00056     +myTauPostVal
00057     +myTopPostVal
00058     )

Generated on Tue Jun 9 17:38:01 2009 for CMSSW by  doxygen 1.5.4