Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:07:36

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("read")
0004 process.load('CondCore.CondDB.CondDB_cfi')
0005 
0006 process.maxEvents = cms.untracked.PSet(
0007     input = cms.untracked.int32(1)
0008 )
0009 
0010 process.source = cms.Source("EmptySource")
0011 
0012 process.CondDB.connect = cms.string('sqlite_file:myfile.db')
0013 process.PoolDBESSource = cms.ESSource("PoolDBESSource",
0014     process.CondDB,
0015     toGet = cms.VPSet(
0016       cms.PSet(
0017         record = cms.string('EBAlignmentRcd'),
0018         tag = cms.string('EB')
0019       ), 
0020       cms.PSet(
0021         record = cms.string('EEAlignmentRcd'),
0022         tag = cms.string('EE')
0023       ),
0024       cms.PSet(
0025         record = cms.string('ESAlignmentRcd'),
0026         tag = cms.string('ES')
0027       )
0028     )
0029 )
0030 
0031 ##
0032 ## Please, rebuild the test with debug enabled
0033 ## USER_CXXFLAGS="-g -D=EDM_ML_DEBUG" scram b -v # for bash
0034 ## env USER_CXXFLAGS="-g -D=EDM_ML_DEBUG" scram b -v # for tcsh
0035 ##
0036 process.load("FWCore.MessageService.MessageLogger_cfi")
0037 process.MessageLogger.cerr.threshold = cms.untracked.string('DEBUG')
0038 process.MessageLogger.cerr.noTimeStamps = cms.untracked.bool(True)
0039 process.MessageLogger.debugModules = cms.untracked.vstring('CaloAlignmentRcdRead')
0040 
0041 process.CaloAlignmentRcdRead = cms.EDAnalyzer("CaloAlignmentRcdRead")
0042 
0043 process.p = cms.Path(process.CaloAlignmentRcdRead)