CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
validate_ecal_orcoffint2r_cfg.py
Go to the documentation of this file.
1 # The following comments couldn't be translated into the new config version:
2 
3 # Configuration file for EventSetupTest_t
4 
5 # { string record = "EcalIntercalibConstantsRcd"
6 # string tag = "EcalIntercalibConstants_trivial" },
7 
8 import FWCore.ParameterSet.Config as cms
9 
10 process = cms.Process("TEST")
11 process.PoolDBESSource = cms.ESSource("PoolDBESSource",
12  toGet = cms.VPSet(cms.PSet(
13  record = cms.string('EcalIntercalibConstantsRcd'),
14  tag = cms.string('miscalib0.00')
15  ),
16  cms.PSet(
17  record = cms.string('EcalPedestalsRcd'),
18  tag = cms.string('EcalPedestals_trivial')
19  ),
20  cms.PSet(
21  record = cms.string('EcalADCToGeVConstantRcd'),
22  tag = cms.string('EcalADCToGeVConstant_trivial')
23  ),
24  cms.PSet(
25  record = cms.string('EcalGainRatiosRcd'),
26  tag = cms.string('EcalGainRatios_trivial')
27  ),
28  cms.PSet(
29  record = cms.string('EcalWeightXtalGroupsRcd'),
30  tag = cms.string('EcalWeightXtalGroups_trivial')
31  ),
32  cms.PSet(
33  record = cms.string('EcalTBWeightsRcd'),
34  tag = cms.string('EcalTBWeights_trivial')
35  )),
36  messagelevel = cms.untracked.uint32(2),
37  catalog = cms.untracked.string('relationalcatalog_oracle://cms_orcoff_int2r/CMS_COND_GENERAL'), ##cms_orcoff_int2r/CMS_COND_GENERAL"
38 
39  timetype = cms.string('runnumber'),
40  connect = cms.string('oracle://cms_orcoff_int2r/CMS_COND_ECAL'), ##cms_orcoff_int2r/CMS_COND_ECAL"
41 
42  authenticationMethod = cms.untracked.uint32(1)
43 )
44 
45 process.source = cms.Source("EmptySource",
46  maxEvents = cms.untracked.int32(1),
47  numberEventsInRun = cms.untracked.uint32(1),
48  firstRun = cms.untracked.uint32(1)
49 )
50 
51 process.get = cms.EDAnalyzer("EventSetupRecordDataGetter",
52  toGet = cms.VPSet(cms.PSet(
53  record = cms.string('EcalIntercalibConstantsRcd'),
54  data = cms.vstring('EcalIntercalibConstants')
55  ),
56  cms.PSet(
57  record = cms.string('EcalPedestalsRcd'),
58  data = cms.vstring('EcalPedestals')
59  ),
60  cms.PSet(
61  record = cms.string('EcalADCToGeVConstantRcd'),
62  data = cms.vstring('EcalADCToGeVConstant')
63  ),
64  cms.PSet(
65  record = cms.string('EcalGainRatiosRcd'),
66  data = cms.vstring('EcalGainRatios')
67  ),
68  cms.PSet(
69  record = cms.string('EcalWeightXtalGroupsRcd'),
70  data = cms.vstring('EcalWeightXtalGroups')
71  ),
72  cms.PSet(
73  record = cms.string('EcalTBWeightsRcd'),
74  data = cms.vstring('EcalTBWeights')
75  )),
76  verbose = cms.untracked.bool(True)
77 )
78 
79 process.printer = cms.OutputModule("AsciiOutputModule")
80 
81 process.p = cms.Path(process.get)
82 process.ep = cms.EndPath(process.printer)
83