Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:34:41

0001 
0002 import FWCore.ParameterSet.Config as cms
0003 
0004 process = cms.Process("TESTC")
0005 
0006 process.HeavyIonGlobalParameters = cms.PSet(
0007     centralitySrc = cms.InputTag("hiCentrality"),
0008     centralityVariable = cms.string("HFhits"),
0009     nonDefaultGlauberModel = cms.string("")
0010     )
0011 
0012 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0013 process.GlobalTag.globaltag = 'GR_R_39X_V1::All'
0014 
0015 from CmsHi.Analysis2010.CommonFunctions_cff import *
0016 overrideCentrality(process)
0017 
0018 process.source = cms.Source("EmptyIOVSource",
0019                             timetype = cms.string("runnumber"),
0020                             firstValue = cms.uint64(151076),
0021                             lastValue = cms.uint64(151076),
0022                             interval = cms.uint64(1)
0023                             )
0024 
0025 process.analyze = cms.EDAnalyzer("AnalyzerWithCentrality")
0026 
0027 process.TFileService = cms.Service('TFileService',
0028                                    fileName = cms.string("histogramsAndTable.root")
0029                                    )
0030 
0031 process.p = cms.Path(process.analyze)
0032