File indexing completed on 2025-04-17 02:42:26
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 toGet = cms.VPSet(cms.PSet(
0021 record = cms.string('EcalChannelStatusRcd'),
0022 tag = cms.string('EcalChannelStatus_may2009_mc')
0023 )
0024 ),
0025
0026 connect = cms.string('frontier://FrontierProd/CMS_COND_31X_ECAL'),
0027
0028 )
0029
0030
0031
0032
0033
0034 input_files = vstring('rfio:///castor/cern.ch/user/m/meridian/ZeeFiltProbSC31X/meridian/Zee/ZeeFiltProbSC/0330624041aaf504f2f5a3cbc2ef3a16/filteredSC_30.root'
0035
0036
0037
0038 );
0039
0040
0041 process.source = Source("PoolSource",
0042 fileNames = untracked( input_files )
0043 )
0044
0045 process.maxEvents = untracked.PSet( input = untracked.int32( -1 ) )
0046 process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(True) )
0047
0048
0049 process.testEcalClusterSeverityAlgo = EDAnalyzer("testEcalClusterSeverityAlgo",
0050 reducedBarrelRecHitCollection = InputTag("reducedEcalRecHitsEB"),
0051 reducedEndcapRecHitCollection = InputTag("reducedEcalRecHitsEE"),
0052 barrelClusterCollection = InputTag("correctedHybridSuperClusters"),
0053 endcapClusterCollection = InputTag("correctedMulti5x5SuperClustersWithPreshower"),
0054 mcTruthCollection = cms.InputTag("VtxSmeared"),
0055 outputFile = cms.string('filteredSCtree.root')
0056 )
0057
0058 process.p1 = Path( process.testEcalClusterSeverityAlgo )
0059