Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2025-04-17 02:42:01

0001 # The following comments couldn't be translated into the new config version:
0002 
0003 # Configuration file for EventSetupTest_t
0004 
0005 #                   { string record = "TrackerAlignmentRcd"
0006 #                                         string tag = "TrackerShortTermScenario" },
0007 #                   { string record = "TrackerAlignmentErrorRcd"
0008 #                     string tag = "TrackerShortTermScenarioErrors" },
0009 #                   { string record = "TrackerAlignmentRcd"
0010 #                     string tag = "TrackerLongTermScenario"# },
0011 #                                    { string record = "TrackerAlignmentErrorRcd"
0012 #                     string tag = "TrackerLongTermScenarioErrors"# }
0013 
0014 import FWCore.ParameterSet.Config as cms
0015 
0016 process = cms.Process("TEST")
0017 process.PoolDBESSource = cms.ESSource("PoolDBESSource",
0018     toGet = cms.VPSet(cms.PSet(
0019         record = cms.string('TrackerAlignmentRcd'),
0020         tag = cms.string('TrackerIdealGeometry')
0021     ), 
0022         cms.PSet(
0023             record = cms.string('TrackerAlignmentErrorRcd'),
0024             tag = cms.string('TrackerIdealGeometryErrors')
0025         )),
0026     connect = cms.string('frontier://cms_conditions_data/CMS_COND_ALIGNMENT'), ##cms_conditions_data/CMS_COND_ALIGNMENT"
0027 
0028 )
0029 
0030 process.source = cms.Source("EmptySource",
0031     maxEvents = cms.untracked.int32(1),
0032     numberEventsInRun = cms.untracked.uint32(1),
0033     firstRun = cms.untracked.uint32(1)
0034 )
0035 
0036 process.get = cms.EDAnalyzer("EventSetupRecordDataGetter",
0037     toGet = cms.VPSet(cms.PSet(
0038         record = cms.string('TrackerAlignmentRcd'),
0039         data = cms.vstring('Alignments')
0040     ), 
0041         cms.PSet(
0042             record = cms.string('TrackerAlignmentErrorRcd'),
0043             data = cms.vstring('AlignmentErrors')
0044         )),
0045     verbose = cms.untracked.bool(True)
0046 )
0047 
0048 process.printer = cms.OutputModule("AsciiOutputModule")
0049 
0050 process.p = cms.Path(process.get)
0051 process.ep = cms.EndPath(process.printer)
0052