CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_9_patch3/src/CalibTracker/SiStripChannelGain/python/MultiJob_cfg.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 process = cms.Process("MULTI")
00004 
00005 process.load("Geometry.CMSCommonData.cmsIdealGeometryXML_cfi")
00006 process.load("Geometry.TrackerGeometryBuilder.trackerGeometry_cfi")
00007 process.load("Geometry.TrackerNumberingBuilder.trackerNumberingGeometry_cfi")
00008 process.load('Configuration/StandardSequences/MagneticField_38T_cff')
00009 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
00010 process.load("RecoTracker.TrackProducer.TrackRefitter_cff")
00011 
00012 process.source = cms.Source("PoolSource",
00013     fileNames = cms.untracked.vstring('/store/relval/CMSSW_2_1_6/RelValMinBias/ALCARECO/STARTUP_V7_StreamALCARECOSiStripCalMinBias_v2/0001/34BE0343-B979-DD11-9E9E-001617DC1F70.root')
00014 )
00015 
00016 process.maxEvents = cms.untracked.PSet(
00017     input = cms.untracked.int32(-1)
00018 )
00019 
00020 process.MessageLogger = cms.Service("MessageLogger",
00021     suppressWarning   = cms.untracked.vstring('TrackRefitter',         'FwkReport'),
00022     suppressInfo      = cms.untracked.vstring('TrackRefitter'   ,         'FwkReport'),
00023     suppressDebug     = cms.untracked.vstring('TrackRefitter'  ,         'FwkReport'),
00024     cout = cms.untracked.PSet(
00025         threshold = cms.untracked.string('ERROR')
00026     ),
00027     destinations = cms.untracked.vstring('cout')
00028 )
00029 
00030 process.GlobalTag.globaltag = 'STARTUP_V7::All'
00031 
00032 process.TrackRefitter.src = 'ALCARECOSiStripCalMinBias'
00033 process.TrackRefitter.TrajectoryInEvent = True
00034 
00035 process.SiStripCalib = cms.EDFilter("SiStripGainFromData",
00036     AlgoMode            = cms.string('MultiJob'),
00037 
00038     OutputHistos        = cms.string('out.root'),
00039     OutputGains         = cms.string('out.txt'),
00040 
00041     TrajToTrackProducer = cms.string('TrackRefitter'),
00042     TrajToTrackLabel    = cms.string(''),
00043 
00044     minTrackMomentum    = cms.untracked.double(1.0),
00045     minNrEntries        = cms.untracked.uint32(100),
00046     maxChi2OverNDF      = cms.untracked.double(9999999.0),
00047     maxMPVError         = cms.untracked.double(1000000.0),
00048     maxNrStrips         = cms.untracked.uint32(8),
00049 
00050     SinceAppendMode     = cms.bool(True),
00051     IOVMode             = cms.string('Job'),
00052     Record              = cms.string('SiStripApvGainRcd'),
00053     doStoreOnDB         = cms.bool(False)
00054 )
00055 
00056 process.p = cms.Path(process.TrackRefitter*process.SiStripCalib)
00057