File indexing completed on 2024-04-06 12:29:30
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("TPDBAn")
0004 process.load("CondCore.DBCommon.CondDBSetup_cfi")
0005
0006 process.load("Geometry.CaloEventSetup.CaloGeometry_cfi")
0007
0008 process.load("Geometry.CMSCommonData.cmsIdealGeometryXML_cfi")
0009
0010 process.maxEvents = cms.untracked.PSet(
0011 input = cms.untracked.int32(1)
0012 )
0013 process.source = cms.Source("EmptySource",
0014 numberEventsInRun = cms.untracked.uint32(1),
0015 firstRun = cms.untracked.uint32(1)
0016 )
0017
0018
0019 process.load("CondCore.DBCommon.CondDBCommon_cfi")
0020 process.CondDBCommon.DBParameters.authenticationPath = cms.untracked.string('/nfshome0/popcondev/conddb')
0021
0022
0023 process.ecalTPConditions = cms.ESSource("PoolDBESSource",
0024 process.CondDBSetup,
0025 loadAll = cms.bool(True),
0026 toGet = cms.VPSet(cms.PSet(
0027 record = cms.string('EcalTPGPedestalsRcd'),
0028 tag = cms.string('EcalTPGPedestals_beamv5_startup_mc')
0029 ),
0030 cms.PSet(
0031 record = cms.string('EcalTPGLinearizationConstRcd'),
0032 tag = cms.string('EcalTPGLinearizationConst_beamv5_startup_mc')
0033 ),
0034 cms.PSet(
0035 record = cms.string('EcalTPGSlidingWindowRcd'),
0036 tag = cms.string('EcalTPGSlidingWindow_beamv5_startup_mc')
0037 ),
0038 cms.PSet(
0039 record = cms.string('EcalTPGFineGrainEBIdMapRcd'),
0040 tag = cms.string('EcalTPGFineGrainEBIdMap_beamv5_startup_mc')
0041 ),
0042 cms.PSet(
0043 record = cms.string('EcalTPGFineGrainStripEERcd'),
0044 tag = cms.string('EcalTPGFineGrainStripEE_beamv5_startup_mc')
0045 ),
0046 cms.PSet(
0047 record = cms.string('EcalTPGFineGrainTowerEERcd'),
0048 tag = cms.string('EcalTPGFineGrainTowerEE_beamv5_startup_mc')
0049 ),
0050 cms.PSet(
0051 record = cms.string('EcalTPGLutIdMapRcd'),
0052 tag = cms.string('EcalTPGLutIdMap_beamv5_startup_mc')
0053 ),
0054 cms.PSet(
0055 record = cms.string('EcalTPGWeightIdMapRcd'),
0056 tag = cms.string('EcalTPGWeightIdMap_beamv5_startup_mc')
0057 ),
0058 cms.PSet(
0059 record = cms.string('EcalTPGWeightGroupRcd'),
0060 tag = cms.string('EcalTPGWeightGroup_beamv5_startup_mc')
0061 ),
0062 cms.PSet(
0063 record = cms.string('EcalTPGLutGroupRcd'),
0064 tag = cms.string('EcalTPGLutGroup_beamv5_startup_mc')
0065 ),
0066 cms.PSet(
0067 record = cms.string('EcalTPGFineGrainEBGroupRcd'),
0068 tag = cms.string('EcalTPGFineGrainEBGroup_beamv5_startup_mc')
0069 ),
0070 cms.PSet(
0071 record = cms.string('EcalTPGPhysicsConstRcd'),
0072 tag = cms.string('EcalTPGPhysicsConst_beamv5_startup_mc')
0073 ),
0074 cms.PSet(
0075 record = cms.string('EcalTPGSpikeRcd'),
0076 tag = cms.string('EcalTPGSpike_beamv5_startup_mc')
0077 )
0078
0079
0080
0081
0082
0083
0084
0085
0086
0087 ),
0088 messagelevel = cms.untracked.uint32(3),
0089 timetype = cms.string('runnumber'),
0090
0091
0092
0093 connect = cms.string('frontier://FrontierPrep/CMS_COND_ECAL'),
0094 authenticationMethod = cms.untracked.uint32(1),
0095 loadBlobStreamer = cms.untracked.bool(True)
0096 )
0097
0098 process.tpDBAnalyzer = cms.EDAnalyzer("EcalTPCondAnalyzer")
0099
0100 process.MessageLogger = cms.Service("MessageLogger",
0101 cerr = cms.untracked.PSet(
0102 enable = cms.untracked.bool(False)
0103 ),
0104 cout = cms.untracked.PSet(
0105 INFO = cms.untracked.PSet(
0106 limit = cms.untracked.int32(0)
0107 ),
0108 EcalTPCondAnalyzer = cms.untracked.PSet(
0109 limit = cms.untracked.int32(100000000)
0110 ),
0111 enable = cms.untracked.bool(True),
0112 threshold = cms.untracked.string('DEBUG')
0113 ),
0114 debugModules = cms.untracked.vstring('tpDBAnalyzer')
0115 )
0116
0117 process.p = cms.Path(process.tpDBAnalyzer)