Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:14:39

0001 # The following comments couldn't be translated into the new config version:
0002 
0003 # XXX_SKIPEVENT_XXX
0004 
0005 #string timetype = "timestamp"    
0006 
0007 import FWCore.ParameterSet.Config as cms
0008 
0009 process = cms.Process("MERGE")
0010 process.load("Geometry.CMSCommonData.cmsIdealGeometryXML_cfi")
0011 process.load("Geometry.TrackerGeometryBuilder.trackerGeometry_cfi")
0012 process.load("Geometry.TrackerNumberingBuilder.trackerNumberingGeometry_cfi")
0013 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0014 process.load("RecoTracker.TrackProducer.TrackRefitter_cff")
0015 
0016 process.source = cms.Source("EmptyIOVSource",
0017     lastRun = cms.untracked.uint32(2),
0018     timetype = cms.string('runnumber'),
0019     firstRun = cms.untracked.uint32(1),
0020     interval = cms.uint32(1)
0021 )
0022 
0023 process.maxEvents = cms.untracked.PSet(
0024     input = cms.untracked.int32(1)
0025 )
0026 
0027 process.MessageLogger = cms.Service("MessageLogger",
0028     suppressWarning = cms.untracked.vstring('TrackRefitter'),
0029     suppressInfo = cms.untracked.vstring('TrackRefitter'),
0030     suppressDebug = cms.untracked.vstring('TrackRefitter'),
0031     cout = cms.untracked.PSet(
0032         threshold = cms.untracked.string('ERROR')
0033     ),
0034     destinations = cms.untracked.vstring('cout')
0035 )
0036 
0037 process.GlobalTag.globaltag = 'STARTUP_V7::All'
0038 
0039 process.TrackRefitter.src = 'ALCARECOSiStripCalMinBias'
0040 process.TrackRefitter.TrajectoryInEvent = True
0041 
0042 
0043 process.SiStripCalib = cms.EDFilter("SiStripGainFromData",
0044     AlgoMode            = cms.string('WriteOnDB'),
0045 
0046     VInputFiles         = cms.vstring('file:out.root'),
0047 
0048     OutputHistos        = cms.string('SiStripCalib.root'),
0049     OutputGains         = cms.string('SiStripCalib.txt'),
0050 
0051     TrajToTrackProducer = cms.string('TrackRefitter'),
0052     TrajToTrackLabel    = cms.string(''),
0053 
0054     minTrackMomentum    = cms.untracked.double(1.0),
0055     minNrEntries        = cms.untracked.uint32(100),
0056     maxChi2OverNDF      = cms.untracked.double(9999999.0),
0057     maxMPVError         = cms.untracked.double(1000000.0),
0058     maxNrStrips         = cms.untracked.uint32(8),
0059 
0060     FirstSetOfConstants = cms.untracked.bool(False),
0061 
0062     SinceAppendMode     = cms.bool(True),
0063     IOVMode             = cms.string('Job'),
0064     Record              = cms.string('SiStripApvGainRcd'),
0065     doStoreOnDB         = cms.bool(True)
0066 )
0067 
0068 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
0069     BlobStreamerName = cms.untracked.string('TBufferBlobStreamingService'),
0070     DBParameters = cms.PSet(
0071         messageLevel = cms.untracked.int32(2),
0072         authenticationPath = cms.untracked.string('/afs/cern.ch/cms/DB/conddb')
0073     ),
0074     timetype = cms.untracked.string('runnumber'),
0075     connect = cms.string('sqlite_file:SiStrip_ChannelGain_MinBias_iCSA08_S156.db'),
0076     toPut = cms.VPSet(cms.PSet(
0077         record = cms.string('SiStripApvGainRcd'),
0078         tag = cms.string('SiStrip_Gain_MinBias_CSA08_s156_mc')
0079     ))
0080 )
0081 
0082 process.p = cms.Path(process.SiStripCalib)
0083