7 import FWCore.ParameterSet.Config
as cms
9 process = cms.Process(
"MERGE")
10 process.load(
"Geometry.CMSCommonData.cmsIdealGeometryXML_cfi")
11 process.load(
"Geometry.TrackerGeometryBuilder.trackerGeometry_cfi")
12 process.load(
"Geometry.TrackerNumberingBuilder.trackerNumberingGeometry_cfi")
13 process.load(
"Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
14 process.load(
"RecoTracker.TrackProducer.TrackRefitter_cff")
16 process.source = cms.Source(
"EmptyIOVSource",
17 lastRun = cms.untracked.uint32(2),
18 timetype = cms.string(
'runnumber'),
19 firstRun = cms.untracked.uint32(1),
20 interval = cms.uint32(1)
23 process.maxEvents = cms.untracked.PSet(
24 input = cms.untracked.int32(1)
27 process.MessageLogger = cms.Service(
"MessageLogger",
28 suppressWarning = cms.untracked.vstring(
'TrackRefitter'),
29 suppressInfo = cms.untracked.vstring(
'TrackRefitter'),
30 suppressDebug = cms.untracked.vstring(
'TrackRefitter'),
31 cout = cms.untracked.PSet(
32 threshold = cms.untracked.string(
'ERROR')
34 destinations = cms.untracked.vstring(
'cout')
37 process.GlobalTag.globaltag =
'STARTUP_V7::All' 39 process.TrackRefitter.src =
'ALCARECOSiStripCalMinBias' 40 process.TrackRefitter.TrajectoryInEvent =
True 43 process.SiStripCalib = cms.EDFilter(
"SiStripGainFromData",
44 AlgoMode = cms.string(
'WriteOnDB'),
46 VInputFiles = cms.vstring(
'file:out.root'),
48 OutputHistos = cms.string(
'SiStripCalib.root'),
49 OutputGains = cms.string(
'SiStripCalib.txt'),
51 TrajToTrackProducer = cms.string(
'TrackRefitter'),
52 TrajToTrackLabel = cms.string(
''),
54 minTrackMomentum = cms.untracked.double(1.0),
55 minNrEntries = cms.untracked.uint32(100),
56 maxChi2OverNDF = cms.untracked.double(9999999.0),
57 maxMPVError = cms.untracked.double(1000000.0),
58 maxNrStrips = cms.untracked.uint32(8),
60 FirstSetOfConstants = cms.untracked.bool(
False),
62 SinceAppendMode = cms.bool(
True),
63 IOVMode = cms.string(
'Job'),
64 Record = cms.string(
'SiStripApvGainRcd'),
65 doStoreOnDB = cms.bool(
True)
68 process.PoolDBOutputService = cms.Service(
"PoolDBOutputService",
69 BlobStreamerName = cms.untracked.string(
'TBufferBlobStreamingService'),
70 DBParameters = cms.PSet(
71 messageLevel = cms.untracked.int32(2),
72 authenticationPath = cms.untracked.string(
'/afs/cern.ch/cms/DB/conddb')
74 timetype = cms.untracked.string(
'runnumber'),
75 connect = cms.string(
'sqlite_file:SiStrip_ChannelGain_MinBias_iCSA08_S156.db'),
76 toPut = cms.VPSet(cms.PSet(
77 record = cms.string(
'SiStripApvGainRcd'),
78 tag = cms.string(
'SiStrip_Gain_MinBias_CSA08_s156_mc')
82 process.p = cms.Path(process.SiStripCalib)