CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MultiJob_cfg.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 process = cms.Process("MULTI")
4 
5 process.load("Geometry.CMSCommonData.cmsIdealGeometryXML_cfi")
6 process.load("Geometry.TrackerGeometryBuilder.trackerGeometry_cfi")
7 process.load("Geometry.TrackerNumberingBuilder.trackerNumberingGeometry_cfi")
8 process.load('Configuration/StandardSequences/MagneticField_38T_cff')
9 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
10 process.load("RecoTracker.TrackProducer.TrackRefitter_cff")
11 
12 process.source = cms.Source("PoolSource",
13  fileNames = cms.untracked.vstring('/store/relval/CMSSW_2_1_6/RelValMinBias/ALCARECO/STARTUP_V7_StreamALCARECOSiStripCalMinBias_v2/0001/34BE0343-B979-DD11-9E9E-001617DC1F70.root')
14 )
15 
16 process.maxEvents = cms.untracked.PSet(
17  input = cms.untracked.int32(-1)
18 )
19 
20 process.MessageLogger = cms.Service("MessageLogger",
21  suppressWarning = cms.untracked.vstring('TrackRefitter', 'FwkReport'),
22  suppressInfo = cms.untracked.vstring('TrackRefitter' , 'FwkReport'),
23  suppressDebug = cms.untracked.vstring('TrackRefitter' , 'FwkReport'),
24  cout = cms.untracked.PSet(
25  threshold = cms.untracked.string('ERROR')
26  ),
27  destinations = cms.untracked.vstring('cout')
28 )
29 
30 process.GlobalTag.globaltag = 'STARTUP_V7::All'
31 
32 process.TrackRefitter.src = 'ALCARECOSiStripCalMinBias'
33 process.TrackRefitter.TrajectoryInEvent = True
34 
35 process.SiStripCalib = cms.EDFilter("SiStripGainFromData",
36  AlgoMode = cms.string('MultiJob'),
37 
38  OutputHistos = cms.string('out.root'),
39  OutputGains = cms.string('out.txt'),
40 
41  TrajToTrackProducer = cms.string('TrackRefitter'),
42  TrajToTrackLabel = cms.string(''),
43 
44  minTrackMomentum = cms.untracked.double(1.0),
45  minNrEntries = cms.untracked.uint32(100),
46  maxChi2OverNDF = cms.untracked.double(9999999.0),
47  maxMPVError = cms.untracked.double(1000000.0),
48  maxNrStrips = cms.untracked.uint32(8),
49 
50  SinceAppendMode = cms.bool(True),
51  IOVMode = cms.string('Job'),
52  Record = cms.string('SiStripApvGainRcd'),
53  doStoreOnDB = cms.bool(False)
54 )
55 
56 process.p = cms.Path(process.TrackRefitter*process.SiStripCalib)
57