Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:28:36

0001 import FWCore.ParameterSet.Config as cms
0002 import sys
0003 
0004 process = cms.Process("ANA1")
0005 
0006 process.source = cms.Source("PoolSource",
0007     fileNames = cms.untracked.vstring("file:"+sys.argv[-1])
0008 )
0009 
0010 process.analyzer = cms.EDAnalyzer("SwitchProducerProvenanceAnalyzer",
0011     src1 = cms.InputTag("intProducer"),
0012     src2 = cms.InputTag("intProducer", "other"),
0013     producerPrefix = cms.string("intProducer"),
0014     aliasMode = cms.bool(False)
0015 )
0016 
0017 process.analyzerAlias = cms.EDAnalyzer("SwitchProducerProvenanceAnalyzer",
0018     src1 = cms.InputTag("intProducerAlias"),
0019     src2 = cms.InputTag("intProducerAlias", "other"),
0020     producerPrefix = cms.string("intProducer"),
0021     aliasMode = cms.bool(True)
0022 )
0023 
0024 process.p = cms.Path(process.analyzer + process.analyzerAlias)