Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 import sys
0003 
0004 process = cms.Process("FlatCalib")
0005 
0006 process.load("FWCore.MessageService.MessageLogger_cfi")
0007 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0008 process.load("RecoHI.HiEvtPlaneAlgos.HiEvtPlane_cfi")
0009 process.load("RecoHI.HiEvtPlaneAlgos.hiEvtPlaneFlat_cfi")
0010 process.load("RecoHI.HiCentralityAlgos.CentralityBin_cfi")
0011 process.load("CondCore.DBCommon.CondDBCommon_cfi")
0012 process.load('GeneratorInterface.HiGenCommon.HeavyIon_cff')
0013 
0014 from Configuration.AlCa.GlobalTag import GlobalTag
0015 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:run2_mc_HIon', '')
0016 
0017 process.HeavyIonGlobalParameters = cms.PSet(
0018     centralityVariable = cms.string("HFtowers"),
0019     centralitySrc = cms.InputTag("hiCentrality")
0020     )
0021 
0022 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) )
0023 process.MessageLogger.cerr.FwkReport.reportEvery=1000
0024 
0025 process.source = cms.Source("PoolSource",
0026 #                            fileNames = readFiles, secondaryFileNames = secFiles,
0027     fileNames = cms.untracked.vstring(
0028        'root://xrootd.unl.edu//store/user/mnguyen/Hydjet_Quenched_MinBias_5020GeV/HydjetMB_Reco_730_53XBS/a2111270e3580d5672bd373836ad7c8e/hiReco_DIGI_L1_DIGI2RAW_RAW2DIGI_L1Reco_RECO_100_1_gMP.root',
0029        'root://xrootd.unl.edu//store/user/mnguyen/Hydjet_Quenched_MinBias_5020GeV/HydjetMB_Reco_730_53XBS/a2111270e3580d5672bd373836ad7c8e/hiReco_DIGI_L1_DIGI2RAW_RAW2DIGI_L1Reco_RECO_101_1_dNN.root',
0030        'root://xrootd.unl.edu//store/user/mnguyen/Hydjet_Quenched_MinBias_5020GeV/HydjetMB_Reco_730_53XBS/a2111270e3580d5672bd373836ad7c8e/hiReco_DIGI_L1_DIGI2RAW_RAW2DIGI_L1Reco_RECO_102_1_wS1.root'
0031         ),
0032                             inputCommands=cms.untracked.vstring(
0033         'keep *',
0034         'drop *_hiEvtPlane_*_*'
0035         )
0036 
0037 )
0038 process.source.duplicateCheckMode = cms.untracked.string('noDuplicateCheck')
0039 
0040 process.GlobalTag.toGet.extend([
0041    cms.PSet(record = cms.string("HeavyIonRcd"),
0042       tag = cms.string("CentralityTable_HFtowers200_HydjetDrum5_v740x01_mc"),
0043       connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_31X_PHYSICSTOOLS"),
0044       label = cms.untracked.string("HFtowersHydjetDrum5")
0045    ),
0046 ])
0047 
0048 #process.CondDBCommon.connect = "sqlite_file:HeavyIonRPRcd_Hydjet_74x_v02_mc.db"
0049 #process.PoolDBESSource = cms.ESSource("PoolDBESSource",
0050 #                                       process.CondDBCommon,
0051 #                                       toGet = cms.VPSet(cms.PSet(record = cms.string('HeavyIonRPRcd'),
0052 #                                                                  tag = cms.string('HeavyIonRPRcd_Hydjet_74x_v02_mc')
0053 #                                                                  )
0054 #                                                         )
0055 #                                      )
0056 
0057 process.GlobalTag.toGet.extend([
0058         cms.PSet(record = cms.string("HeavyIonRPRcd"),
0059                  tag = cms.string('HeavyIonRPRcd_Hydjet_74x_v02_mc')
0060                  connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_PAT_000")
0061                  )
0062         ])
0063 
0064 
0065 process.TFileService = cms.Service("TFileService",
0066     fileName = cms.string("rpflat.root")
0067 )
0068 
0069 process.centralityBin.Centrality = cms.InputTag("hiCentrality")
0070 process.centralityBin.centralityVariable = cms.string("HFtowers")
0071 process.centralityBin.nonDefaultGlauberModel = cms.string("HydjetDrum5")
0072 
0073 process.dump = cms.EDAnalyzer("EventContentAnalyzer")
0074 process.hiEvtPlane.nonDefaultGlauberModel = cms.string("HydjetDrum5")
0075 process.hiEvtPlaneFlat.nonDefaultGlauberModel = cms.string("HydjetDrum5")
0076 
0077 process.hiEvtPlane.loadDB_ = cms.untracked.bool(True)
0078 process.p = cms.Path(process.heavyIon*process.centralityBin*process.hiEvtPlane*process.hiEvtPlaneFlat)
0079 
0080 
0081 
0082                         
0083