** Warning **

Issuing rollback() due to DESTROY without explicit disconnect() of DBD::mysql::db handle dbname=lxr at /lxr/lib/LXR/Common.pm line 1103.

Last-Modified: Sat, 24 Jun 2022 22:52:16 GMT Content-Type: text/html; charset=utf-8 /CMSSW_12_5_X_2022-06-24-2300/PhysicsTools/PatExamples/test/analyzePatBasics_modified_cfg.py
Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:33:08

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("Test")
0004 
0005 process.source = cms.Source("PoolSource",
0006   fileNames = cms.untracked.vstring(
0007     'file:patTuple.root'
0008   )
0009 )
0010 
0011 process.MessageLogger = cms.Service("MessageLogger")
0012 
0013 ## using the process.load function
0014 #process.load("PhysicsTools/PatExamples/PatBasicAnalyzer_cfi")
0015 ## using import and making the module known to the process afterwards
0016 from PhysicsTools.PatExamples.PatBasicAnalyzer_cfi import analyzeBasicPat
0017 process.analyzeBasicPat = analyzeBasicPat
0018 
0019 ## cloning an existing module
0020 process.analyzeBasicPat2= analyzeBasicPat.clone()
0021 
0022 process.TFileService = cms.Service("TFileService",
0023   fileName = cms.string('analyzePatBasics.root')
0024 )
0025 
0026 process.p = cms.Path(
0027     process.analyzeBasicPat *
0028     process.analyzeBasicPat2
0029 )
0030