Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:34:01

0001 import FWCore.ParameterSet.Config as cms
0002 from Configuration.AlCa.GlobalTag import GlobalTag
0003 
0004 process = cms.Process("test")
0005 
0006 process.load("Configuration.StandardSequences.GeometryDB_cff")
0007 process.load("FWCore.MessageService.MessageLogger_cfi")
0008 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0009 
0010 input_files = cms.vstring("/store/data/Run2018A/EGamma/AOD/17Sep2018-v2/100000/01EB9686-9A6F-BF48-903A-02F7D9AEB9B9.root")
0011 
0012 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:run2_data', '')
0013 
0014 process.source = cms.Source("PoolSource", fileNames = cms.untracked( input_files ) )
0015 
0016 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32( 10 ) )
0017 
0018 
0019 process.testEcalClusterTools = cms.EDAnalyzer("testEcalClusterTools",
0020     barrelRecHitCollection = cms.InputTag("reducedEcalRecHitsEB"),
0021     endcapRecHitCollection = cms.InputTag("reducedEcalRecHitsEE"),
0022     barrelClusterCollection = cms.InputTag("hybridSuperClusters:hybridBarrelBasicClusters"),
0023     endcapClusterCollection = cms.InputTag("multi5x5SuperClusters:multi5x5EndcapBasicClusters")
0024 )
0025 
0026 process.p1 = cms.Path( process.testEcalClusterTools )