CMS 3D CMS Logo

DigiToRecoPU.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 def customise(process):
00004     REDIGIInputEventSkimming= cms.PSet(
00005         inputCommands=cms.untracked.vstring('drop *')
00006         )
00007 
00008     HLTCleaning= cms.PSet(
00009         inputCommands=cms.untracked.vstring('drop FEDRawDataCollection_*_*_*')
00010         )
00011 
00012     REDIGIInputEventSkimming.inputCommands.extend(process.RecoGenJetsFEVT.outputCommands)
00013     REDIGIInputEventSkimming.inputCommands.extend(process.RecoGenMETFEVT.outputCommands)
00014     REDIGIInputEventSkimming.inputCommands.extend(process.SimG4CoreRAW.outputCommands) 
00015     REDIGIInputEventSkimming.inputCommands.extend(process.GeneratorInterfaceRAW.outputCommands) 
00016     REDIGIInputEventSkimming.inputCommands.extend(process.IOMCRAW.outputCommands) 
00017     REDIGIInputEventSkimming.inputCommands.extend(process.HLTriggerRAW.outputCommands) 
00018     REDIGIInputEventSkimming.inputCommands.extend(HLTCleaning.inputCommands)
00019 
00020     process.source.inputCommands = REDIGIInputEventSkimming.inputCommands
00021     process.source.dropDescendantsOfDroppedBranches=cms.untracked.bool(False)
00022 
00023     if hasattr(process,"RandomNumberGeneratorService"):
00024         del process.RandomNumberGeneratorService.theSource
00025     else:    
00026         process.load("IOMC/RandomEngine/IOMC_cff")
00027         del process.RandomNumberGeneratorService.theSource
00028 
00029     process.RandomNumberGeneratorService.restoreStateLabel = cms.untracked.string('randomEngineStateProducer')
00030     process.mix.playback = cms.untracked.bool(True)
00031     
00032     # Output definition for RAW
00033     process.outputRaw = cms.OutputModule("PoolOutputModule",
00034                                          outputCommands = process.RAWSIMEventContent.outputCommands,
00035                                          fileName = cms.untracked.string('New_RAWSIM.root'),
00036                                          dataset = cms.untracked.PSet(dataTier = cms.untracked.string(''),
00037                                                                       filterName = cms.untracked.string('')
00038                                                                       )
00039                                          )
00040     
00041     process.out_step_raw = cms.EndPath(process.outputRaw)
00042     process.schedule.append(process.out_step_raw)
00043     return(process)

Generated on Tue Jun 9 17:26:59 2009 for CMSSW by  doxygen 1.5.4