Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("TEST")
0004 
0005 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0006 #process.GlobalTag.globaltag = 'STARTHI53_LV1'
0007 from Configuration.AlCa.GlobalTag import GlobalTag
0008 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:run2_mc_HIon', '')
0009 
0010 process.GlobalTag.toGet.extend([
0011     cms.PSet(record = cms.string("HeavyIonRcd"),
0012         tag = cms.string("CentralityTable_HFtowers200_Glauber2010A_v5315x01_offline"),
0013         connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_31X_PHYSICSTOOLS"),
0014         label = cms.untracked.string("HFtowers")
0015     ),
0016 ])
0017 
0018 process.maxEvents = cms.untracked.PSet(
0019         input = cms.untracked.int32(100),
0020         )
0021 
0022 process.source = cms.Source("PoolSource",
0023     fileNames = cms.untracked.vstring('file:/tmp/azsigmon/hiReco_DIGI_L1_DIGI2RAW_RAW2DIGI_L1Reco_RECO_101_1_dNN.root'),
0024     )
0025 
0026 process.load("RecoHI.HiCentralityAlgos.CentralityBin_cfi")
0027 
0028 process.output = cms.OutputModule( "PoolOutputModule",
0029     fileName = cms.untracked.string( "test.root" ),
0030     outputCommands = cms.untracked.vstring(
0031       'drop *',
0032       'keep recoCentrality_*_*_*',
0033       'keep *_centralityBin_*_*',
0034     )
0035 )
0036 
0037 process.p = cms.Path(process.centralityBin)
0038 process.out = cms.EndPath(process.output)