File indexing completed on 2024-04-06 12:24:46
0001 from FWCore.ParameterSet.Config import *
0002
0003 process = Process("analysis")
0004
0005 process.load("Configuration.StandardSequences.MagneticField_38T_cff")
0006
0007 process.load("Geometry.CMSCommonData.cmsIdealGeometryXML_cfi")
0008
0009 process.load("Geometry.CaloEventSetup.CaloGeometry_cff")
0010
0011 process.load("Geometry.CaloEventSetup.CaloTopology_cfi")
0012
0013 process.load("Geometry.CaloEventSetup.EcalTrigTowerConstituents_cfi")
0014
0015 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0016
0017 from CondCore.DBCommon.CondDBSetup_cfi import *
0018 process.ecalConditions = cms.ESSource("PoolDBESSource",
0019 CondDBSetup,
0020 siteLocalConfig = cms.untracked.bool(True),
0021 toGet = cms.VPSet(cms.PSet(
0022 record = cms.string('EcalChannelStatusRcd'),
0023 tag = cms.string('EcalChannelStatus_may2009_mc')
0024 )
0025 ),
0026
0027 messagelevel = cms.untracked.uint32(0),
0028 timetype = cms.string('runnumber'),
0029 connect = cms.string('frontier://FrontierProd/CMS_COND_31X_ECAL'),
0030
0031 authenticationMethod = cms.untracked.uint32(1)
0032 )
0033
0034
0035
0036
0037
0038 input_files = vstring('rfio:///castor/cern.ch/user/m/meridian/ZeeFiltProbSC31X/meridian/Zee/ZeeFiltProbSC/0330624041aaf504f2f5a3cbc2ef3a16/filteredSC_30.root'
0039
0040
0041
0042 );
0043
0044
0045 process.source = Source("PoolSource",
0046 fileNames = untracked( input_files )
0047 )
0048
0049 process.maxEvents = untracked.PSet( input = untracked.int32( -1 ) )
0050 process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(True) )
0051
0052
0053 process.testEcalClusterSeverityAlgo = EDAnalyzer("testEcalClusterSeverityAlgo",
0054 reducedBarrelRecHitCollection = InputTag("reducedEcalRecHitsEB"),
0055 reducedEndcapRecHitCollection = InputTag("reducedEcalRecHitsEE"),
0056 barrelClusterCollection = InputTag("correctedHybridSuperClusters"),
0057 endcapClusterCollection = InputTag("correctedMulti5x5SuperClustersWithPreshower"),
0058 mcTruthCollection = cms.InputTag("VtxSmeared"),
0059 outputFile = cms.string('filteredSCtree.root')
0060 )
0061
0062 process.p1 = Path( process.testEcalClusterSeverityAlgo )
0063