CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_13_patch3/src/CalibTracker/SiStripChannelGain/python/MergeJob_cfg.py

Go to the documentation of this file.
00001 # The following comments couldn't be translated into the new config version:
00002 
00003 # XXX_SKIPEVENT_XXX
00004 
00005 #string timetype = "timestamp"    
00006 
00007 import FWCore.ParameterSet.Config as cms
00008 
00009 process = cms.Process("MERGE")
00010 process.load("Geometry.CMSCommonData.cmsIdealGeometryXML_cfi")
00011 process.load("Geometry.TrackerGeometryBuilder.trackerGeometry_cfi")
00012 process.load("Geometry.TrackerNumberingBuilder.trackerNumberingGeometry_cfi")
00013 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
00014 process.load("RecoTracker.TrackProducer.TrackRefitter_cff")
00015 
00016 process.source = cms.Source("EmptyIOVSource",
00017     lastRun = cms.untracked.uint32(2),
00018     timetype = cms.string('runnumber'),
00019     firstRun = cms.untracked.uint32(1),
00020     interval = cms.uint32(1)
00021 )
00022 
00023 process.maxEvents = cms.untracked.PSet(
00024     input = cms.untracked.int32(1)
00025 )
00026 
00027 process.MessageLogger = cms.Service("MessageLogger",
00028     suppressWarning = cms.untracked.vstring('TrackRefitter'),
00029     suppressInfo = cms.untracked.vstring('TrackRefitter'),
00030     suppressDebug = cms.untracked.vstring('TrackRefitter'),
00031     cout = cms.untracked.PSet(
00032         threshold = cms.untracked.string('ERROR')
00033     ),
00034     destinations = cms.untracked.vstring('cout')
00035 )
00036 
00037 process.GlobalTag.globaltag = 'STARTUP_V7::All'
00038 
00039 process.TrackRefitter.src = 'ALCARECOSiStripCalMinBias'
00040 process.TrackRefitter.TrajectoryInEvent = True
00041 
00042 
00043 process.SiStripCalib = cms.EDFilter("SiStripGainFromData",
00044     AlgoMode            = cms.string('WriteOnDB'),
00045 
00046     VInputFiles         = cms.vstring('file:out.root'),
00047 
00048     OutputHistos        = cms.string('SiStripCalib.root'),
00049     OutputGains         = cms.string('SiStripCalib.txt'),
00050 
00051     TrajToTrackProducer = cms.string('TrackRefitter'),
00052     TrajToTrackLabel    = cms.string(''),
00053 
00054     minTrackMomentum    = cms.untracked.double(1.0),
00055     minNrEntries        = cms.untracked.uint32(100),
00056     maxChi2OverNDF      = cms.untracked.double(9999999.0),
00057     maxMPVError         = cms.untracked.double(1000000.0),
00058     maxNrStrips         = cms.untracked.uint32(8),
00059 
00060     FirstSetOfConstants = cms.untracked.bool(False),
00061 
00062     SinceAppendMode     = cms.bool(True),
00063     IOVMode             = cms.string('Job'),
00064     Record              = cms.string('SiStripApvGainRcd'),
00065     doStoreOnDB         = cms.bool(True)
00066 )
00067 
00068 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
00069     BlobStreamerName = cms.untracked.string('TBufferBlobStreamingService'),
00070     DBParameters = cms.PSet(
00071         messageLevel = cms.untracked.int32(2),
00072         authenticationPath = cms.untracked.string('/afs/cern.ch/cms/DB/conddb')
00073     ),
00074     timetype = cms.untracked.string('runnumber'),
00075     connect = cms.string('sqlite_file:SiStrip_ChannelGain_MinBias_iCSA08_S156.db'),
00076     toPut = cms.VPSet(cms.PSet(
00077         record = cms.string('SiStripApvGainRcd'),
00078         tag = cms.string('SiStrip_Gain_MinBias_CSA08_s156_mc')
00079     ))
00080 )
00081 
00082 process.p = cms.Path(process.SiStripCalib)
00083