1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
import FWCore.ParameterSet.Config as cms
process = cms.Process("CALIB")
process.MessageLogger = cms.Service("MessageLogger",
cerr = cms.untracked.PSet(
enable = cms.untracked.bool(False)
),
files = cms.untracked.PSet(
out = cms.untracked.PSet(
threshold = cms.untracked.string('INFO')
)
)
)
process.source = cms.Source("EmptyIOVSource",
firstValue = cms.uint64(109574),
lastValue = cms.uint64(109574),
timetype = cms.string('runnumber'),
interval = cms.uint64(1)
)
# the DB Geometry is NOT used because in this cfg only one tag is taken from the DB and no GT is used. To be fixed if this is a problem
process.load('Configuration.Geometry.GeometryExtended_cff')
process.TrackerTopologyEP = cms.ESProducer("TrackerTopologyEP")
process.load("Geometry.TrackerGeometryBuilder.trackerParameters_cfi")
process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(-1))
process.poolDBESSource = cms.ESSource("PoolDBESSource",
DBParameters = cms.PSet(messageLevel = cms.untracked.int32(2),
authenticationPath = cms.untracked.string('/afs/cern.ch/cms/DB/conddb')
),
connect = cms.string('frontier://FrontierProd/CMS_COND_31X_STRIP'),
toGet = cms.VPSet(cms.PSet(record = cms.string('SiStripApvGainRcd'),
tag = cms.string('SiStripApvGain_GR09_31X_v1_hlt')
)
)
)
process.analysis = cms.EDAnalyzer("SiStripPlotGain")
process.p = cms.Path(process.analysis)
|