Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:52:16

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     siteLocalConfig = cms.untracked.bool(True),
0019     loadAll = cms.bool(True),
0020     toGet = cms.VPSet(cms.PSet(
0021         record = cms.string('TrackerAlignmentRcd'),
0022         tag = cms.string('TrackerIdealGeometry')
0023     ), 
0024         cms.PSet(
0025             record = cms.string('TrackerAlignmentErrorRcd'),
0026             tag = cms.string('TrackerIdealGeometryErrors')
0027         )),
0028     messagelevel = cms.untracked.uint32(0),
0029     timetype = cms.string('runnumber'),
0030     connect = cms.string('frontier://cms_conditions_data/CMS_COND_ALIGNMENT'), ##cms_conditions_data/CMS_COND_ALIGNMENT"
0031 
0032     authenticationMethod = cms.untracked.uint32(0)
0033 )
0034 
0035 process.source = cms.Source("EmptySource",
0036     maxEvents = cms.untracked.int32(1),
0037     numberEventsInRun = cms.untracked.uint32(1),
0038     firstRun = cms.untracked.uint32(1)
0039 )
0040 
0041 process.get = cms.EDAnalyzer("EventSetupRecordDataGetter",
0042     toGet = cms.VPSet(cms.PSet(
0043         record = cms.string('TrackerAlignmentRcd'),
0044         data = cms.vstring('Alignments')
0045     ), 
0046         cms.PSet(
0047             record = cms.string('TrackerAlignmentErrorRcd'),
0048             data = cms.vstring('AlignmentErrors')
0049         )),
0050     verbose = cms.untracked.bool(True)
0051 )
0052 
0053 process.printer = cms.OutputModule("AsciiOutputModule")
0054 
0055 process.p = cms.Path(process.get)
0056 process.ep = cms.EndPath(process.printer)
0057