Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:23:24

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 
0004 from Configuration.Eras.Era_Run2_2018_cff import Run2_2018
0005 process = cms.Process("Whatever",Run2_2018)
0006 
0007 process.load('Configuration.StandardSequences.GeometryRecoDB_cff')  # load from DB
0008 process.load('Configuration.StandardSequences.MagneticField_AutoFromDBCurrent_cff')
0009 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0010 
0011 from Configuration.AlCa.GlobalTag import GlobalTag
0012 process.GlobalTag = GlobalTag(process.GlobalTag, '102X_dataRun2_Sep2018Rereco_v1')
0013 print "Using GlobalTag: %s" % process.GlobalTag.globaltag.value()
0014 
0015 process.source = cms.Source("EmptyIOVSource",
0016     timetype = cms.string('runnumber'),
0017     firstValue = cms.uint64(321988),
0018     lastValue = cms.uint64(321988),
0019     interval = cms.uint64(1)
0020 )
0021 
0022 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(1))
0023 
0024 process.analyzer1 = cms.EDAnalyzer("MakeCoordLUT",
0025     # Verbosity level
0026     verbosity = cms.untracked.int32(1),
0027 
0028     # Output diectory
0029     outdir = cms.string("./pc_luts/firmware_data/"),
0030 
0031     # Produce "validate.root" to validate the LUTs
0032     please_validate = cms.bool(True),
0033 )
0034 
0035 process.path1 = cms.Path(process.analyzer1)