CMS 3D CMS Logo

MergeJob_cfg.py
Go to the documentation of this file.
1 # The following comments couldn't be translated into the new config version:
2 
3 # XXX_SKIPEVENT_XXX
4 
5 #string timetype = "timestamp"
6 
7 import FWCore.ParameterSet.Config as cms
8 
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")
15 
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)
21 )
22 
23 process.maxEvents = cms.untracked.PSet(
24  input = cms.untracked.int32(1)
25 )
26 
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')
33  ),
34  destinations = cms.untracked.vstring('cout')
35 )
36 
37 process.GlobalTag.globaltag = 'STARTUP_V7::All'
38 
39 process.TrackRefitter.src = 'ALCARECOSiStripCalMinBias'
40 process.TrackRefitter.TrajectoryInEvent = True
41 
42 
43 process.SiStripCalib = cms.EDFilter("SiStripGainFromData",
44  AlgoMode = cms.string('WriteOnDB'),
45 
46  VInputFiles = cms.vstring('file:out.root'),
47 
48  OutputHistos = cms.string('SiStripCalib.root'),
49  OutputGains = cms.string('SiStripCalib.txt'),
50 
51  TrajToTrackProducer = cms.string('TrackRefitter'),
52  TrajToTrackLabel = cms.string(''),
53 
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),
59 
60  FirstSetOfConstants = cms.untracked.bool(False),
61 
62  SinceAppendMode = cms.bool(True),
63  IOVMode = cms.string('Job'),
64  Record = cms.string('SiStripApvGainRcd'),
65  doStoreOnDB = cms.bool(True)
66 )
67 
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')
73  ),
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')
79  ))
80 )
81 
82 process.p = cms.Path(process.SiStripCalib)
83