Open alja opened 8 years ago
cat si^Calja@genki cms-dev> cat simple.py
import FWCore.ParameterSet.Config as cms
process = cms.Process("FFWDISPLAY")
from RecoMET.METProducers.METSigParams_cfi import *
process.source = cms.Source( "PoolSource", fileNames=cms.untracked.vstring('http://fireworks.web.cern.ch/fireworks/7/RelVal ZEE-reco.root') )
process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
from Configuration.AlCa.autoCond import autoCond
process.GlobalTag.globaltag = autoCond['startup']
process.options = cms.untracked.PSet(SkipEvent = cms.untracked.vstring('ProductN otFound'))
process.xxxmet = cms.EDProducer( "CaloMETProducer", METSignificance_params, src = cms.InputTag("towerMaker"), METType = cms.string('XXXCaloMET'), alias = cms.string('XXXRawCaloMET'), noHF = cms.bool(False), globalThreshold = cms.double(0.3), InputType = cms.string('CandidateCollection'), calculateSignificance = cms.bool(True) )
process.p = cms.Path(process.xxxmet)
Example
https://github.com/cms-sw/cmssw/pull/8369