Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-04-17 02:47:09

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 
0014 process.source = cms.Source("EmptySource",
0015     numberEventsInRun = cms.untracked.uint32(1),
0016     firstRun = cms.untracked.uint32(1)
0017 )
0018 
0019 process.load("CondCore.DBCommon.CondDBCommon_cfi")
0020 process.CondDBCommon.DBParameters.authenticationPath = '/afs/cern.ch/cms/DB/conddb'
0021 
0022 process.ecalTPConditions = cms.ESSource("PoolDBESSource",
0023     process.CondDBSetup,
0024     loadAll = cms.bool(True),
0025     toGet = cms.VPSet(cms.PSet(
0026         record = cms.string('EcalTPGPedestalsRcd'),
0027         tag = cms.string('EcalTPGPedestals_v2_hlt')
0028     ), 
0029         cms.PSet(
0030             record = cms.string('EcalTPGLinearizationConstRcd'),
0031             tag = cms.string('EcalTPGLinearizationConst_v2_hlt')
0032         ), 
0033         cms.PSet(
0034             record = cms.string('EcalTPGSlidingWindowRcd'),
0035             tag = cms.string('EcalTPGSlidingWindow_v2_hlt')
0036         ), 
0037         cms.PSet(
0038             record = cms.string('EcalTPGFineGrainEBIdMapRcd'),
0039             tag = cms.string('EcalTPGFineGrainEBIdMap_v2_hlt')
0040         ), 
0041         cms.PSet(
0042             record = cms.string('EcalTPGFineGrainStripEERcd'),
0043             tag = cms.string('EcalTPGFineGrainStripEE_v2_hlt')
0044         ),
0045         cms.PSet(
0046             record = cms.string('EcalTPGFineGrainTowerEERcd'),
0047             tag = cms.string('EcalTPGFineGrainTowerEE_v2_hlt')
0048         ), 
0049         cms.PSet(
0050             record = cms.string('EcalTPGLutIdMapRcd'),
0051             tag = cms.string('EcalTPGLutIdMap_v2_hlt')
0052         ), 
0053         cms.PSet(
0054             record = cms.string('EcalTPGWeightIdMapRcd'),
0055             tag = cms.string('EcalTPGWeightIdMap_v2_hlt')
0056         ), 
0057         cms.PSet(
0058             record = cms.string('EcalTPGWeightGroupRcd'),
0059             tag = cms.string('EcalTPGWeightGroup_v2_hlt')
0060         ), 
0061         cms.PSet(
0062             record = cms.string('EcalTPGLutGroupRcd'),
0063             tag = cms.string('EcalTPGLutGroup_v2_hlt')
0064         ), 
0065         cms.PSet(
0066             record = cms.string('EcalTPGFineGrainEBGroupRcd'),
0067             tag = cms.string('EcalTPGFineGrainEBGroup_v2_hlt')
0068         ), 
0069         cms.PSet(
0070             record = cms.string('EcalTPGPhysicsConstRcd'),
0071             tag = cms.string('EcalTPGPhysicsConst_v2_hlt')
0072         ),
0073     cms.PSet(    
0074         record = cms.string('EcalTPGCrystalStatusRcd'),
0075         tag = cms.string('EcalTPGCrystalStatus_v2_hlt')
0076     ),
0077     cms.PSet(    
0078         record = cms.string('EcalTPGTowerStatusRcd'),
0079         tag = cms.string('EcalTPGTowerStatus_hlt')
0080     )),    
0081     messagelevel = cms.untracked.uint32(3),
0082     timetype = cms.string('runnumber'),
0083     connect = cms.string('oracle://cms_orcoff_prod/CMS_COND_34X_ECAL'),
0084     authenticationMethod = cms.untracked.uint32(1),
0085     loadBlobStreamer = cms.untracked.bool(True)
0086 )
0087 
0088 
0089 process.tpDBAnalyzer = cms.EDAnalyzer("EcalTPCondAnalyzer")
0090 
0091 process.MessageLogger = cms.Service("MessageLogger",
0092     cerr = cms.untracked.PSet(
0093         enable = cms.untracked.bool(False)
0094     ),
0095     cout = cms.untracked.PSet(
0096         INFO = cms.untracked.PSet(
0097             limit = cms.untracked.int32(0)
0098         ),
0099         EcalTPCondAnalyzer = cms.untracked.PSet(
0100             limit = cms.untracked.int32(100000000)
0101         ),
0102         enable = cms.untracked.bool(True),
0103         threshold = cms.untracked.string('DEBUG')
0104     ),
0105     debugModules = cms.untracked.vstring('tpDBAnalyzer')
0106 )
0107 
0108 process.p = cms.Path(process.tpDBAnalyzer)
0109