/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
PhysicsTools/UtilAlgos/test/cmsswWithPythonConfig_cfg.py
28 строк
1 KB
Dinko Ferencek
Update RelVal input to CMSSW_7_6_0_pre4
10 сен 2015, 01:46
10 сен 2015, 01:46
f27e40e
Код
Авторство
О чём код?
import FWCore.ParameterSet.Config as cms process = cms.Process("Test") from PhysicsTools.PatAlgos.patInputFiles_cff import filesRelValTTbarGENSIMRECO process.source = cms.Source("PoolSource", fileNames = filesRelValTTbarGENSIMRECO ) process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(100) ) process.MessageLogger = cms.Service("MessageLogger") ## --- ## This is an example of the use of the BasicAnalyzer concept used to exploit C++ classes to do anaysis ## in full framework or FWLite using the same class. You can find the implementation of this module in ## PhysicsTools/UtilAlgos/plugins/WrappedEDMuonAnlyzer. You can find the EDAnalyzerWrapper.h class in ## PhysicsTools/UtilAlgos/interface/EDAnalyzerWrapper.h. You can find the implementation of the ## BasicMuonAnalyzer class in PhysicsTools/UtilAlgos/interface/BasicMuonAnlyzer.h. You will also find ## back the input parameters to the module. process.muonAnalyzer = cms.EDAnalyzer("WrappedEDMuonAnalyzer", muons = cms.InputTag("muons"), ) process.TFileService = cms.Service("TFileService", fileName = cms.string('analyzeCMSSWHistograms.root') ) process.p = cms.Path(process.muonAnalyzer)