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("TEST")
0005 
0006 process.HeavyIonGlobalParameters = cms.PSet(
0007     centralityVariable = cms.string(""),
0008     nonDefaultGlauberModel = cms.string("AMPT_2760GeV")
0009     )
0010 
0011 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0012 process.GlobalTag.globaltag = 'START39_V4HI::All'
0013 
0014 process.GlobalTag.toGet = cms.VPSet(
0015     cms.PSet(record = cms.string("HeavyIonRcd"),
0016              tag = cms.string("CentralityTable_HFhits40_Hydjet2760GeV_v1_mc"),
0017              connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_31X_PHYSICSTOOLS")
0018              )
0019     )
0020 
0021 
0022 process.maxEvents = cms.untracked.PSet(
0023         input = cms.untracked.int32(-1)
0024         )
0025 
0026 process.source = cms.Source("PoolSource",
0027                             fileNames = cms.untracked.vstring("rfio:/castor/cern.ch/user/y/yilmaz/share/Hydjet_MinBias_Jets_runs1to20.root")
0028                             )
0029 
0030 process.load("RecoHI.HiCentralityAlgos.CentralityBin_cfi")
0031 process.analyze = cms.EDAnalyzer("AnalyzerWithCentrality")
0032 
0033 process.TFileService = cms.Service('TFileService',
0034                                    fileName = cms.string("histograms.root")
0035                                    )
0036 
0037 process.p = cms.Path(process.centralityBin*process.analyze)
0038