CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch9/src/HLTriggerOffline/HeavyFlavor/python/addHeavyFlavorValidation.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 def customise(process):
00004     process.load("HLTriggerOffline.HeavyFlavor.heavyFlavorValidationSequence_cff")
00005     process.heavyFlavorValidation_step = cms.Path(process.heavyFlavorValidationSequence)
00006     process.schedule.insert( process.schedule.index(process.endjob_step), process.heavyFlavorValidation_step )
00007     process.output.outputCommands = cms.untracked.vstring(
00008         'drop *',
00009         'keep *_MEtoEDMConverter_*_*'
00010     )
00011     process.output.fileName = cms.untracked.string('/tmp/heavyFlavorValidation.root')
00012     return process
00013