CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/HLTriggerOffline/Common/python/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 in: DQMServices/ClientConfig/plugins/DQMGenericClient.cc
00008 #note: output and verbose must be disabled for integration,
00009 
00010 import FWCore.ParameterSet.Config as cms
00011 
00012 
00013 myMuonPostVal = cms.EDAnalyzer("DQMGenericClient",
00014     verbose        = cms.untracked.uint32(0), #set this to zero!
00015     outputFileName = cms.untracked.string(''),# set this to empty!
00016     #outputFileName= cms.untracked.string('MuonPostProcessor.root'),
00017     commands       = cms.vstring(),
00018     resolution     = cms.vstring(),                                    
00019     subDirs        = cms.untracked.vstring('HLT/Muon/Distributions/*'),
00020     efficiency     = cms.vstring(
00021         "EFF 'my title; my x-label; my y-label' genPassEta_L1Filtered genPassEta_All"
00022     )
00023 )
00024 
00025 
00026 myEgammaPostVal = cms.EDAnalyzer("DQMGenericClient",
00027     #outputFileName= cms.untracked.string('EgammaPostProcessor.root'),
00028     commands       = cms.vstring(),
00029     resolution     = cms.vstring(),                                    
00030     subDirs        = cms.untracked.vstring('HLT/HLTEgammaValidation/*'),
00031     efficiency     = cms.vstring(
00032         "EFF 'my title; my x-label; my y-label' hltL1sDoubleEgammaeta hltL1sDoubleEgammaeta"
00033     )
00034 )
00035 
00036 myTauPostVal = cms.EDAnalyzer("DQMGenericClient",
00037     #outputFileName= cms.untracked.string('TauPostProcessor.root'),
00038     commands       = cms.vstring(),
00039     resolution     = cms.vstring(),                                    
00040     subDirs        = cms.untracked.vstring('HLT/HLTTAU/*'),
00041     efficiency     = cms.vstring(
00042         "EFF 'my title; my x-label; my y-label' L1Tau1Eta GenTauElecEta"
00043     )
00044 )
00045 
00046 
00047 myTopPostVal = cms.EDAnalyzer("DQMGenericClient",
00048     #outputFileName= cms.untracked.string('TopPostProcessor.root'),
00049     commands       = cms.vstring(),
00050     resolution     = cms.vstring(),                                    
00051     subDirs        = cms.untracked.vstring('HLT/Top/'),
00052     efficiency     = cms.vstring(
00053     "TrigEFF 'my title; my x-label; my y-label' pt_trig_off_mu pt_off_mu"
00054     )
00055 )
00056 
00057 ExamplePostVal = cms.Sequence(
00058      myMuonPostVal
00059     +myEgammaPostVal
00060     +myTauPostVal
00061     +myTopPostVal
00062     )