1 import FWCore.ParameterSet.Config
as cms
3 process = cms.Process(
"MULTI")
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")
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')
16 process.maxEvents = cms.untracked.PSet(
17 input = cms.untracked.int32(-1)
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')
27 destinations = cms.untracked.vstring(
'cout')
30 process.GlobalTag.globaltag =
'STARTUP_V7::All'
32 process.TrackRefitter.src =
'ALCARECOSiStripCalMinBias'
33 process.TrackRefitter.TrajectoryInEvent =
True
35 process.SiStripCalib = cms.EDFilter(
"SiStripGainFromData",
36 AlgoMode = cms.string(
'MultiJob'),
38 OutputHistos = cms.string(
'out.root'),
39 OutputGains = cms.string(
'out.txt'),
41 TrajToTrackProducer = cms.string(
'TrackRefitter'),
42 TrajToTrackLabel = cms.string(
''),
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),
50 SinceAppendMode = cms.bool(
True),
51 IOVMode = cms.string(
'Job'),
52 Record = cms.string(
'SiStripApvGainRcd'),
53 doStoreOnDB = cms.bool(
False)
56 process.p = cms.Path(process.TrackRefitter*process.SiStripCalib)