From 79b662bd5d15e5e1630637d29137db54ba0d9d67 Mon Sep 17 00:00:00 2001 From: Giovanni Date: Mon, 31 Aug 2015 14:14:01 +0200 Subject: [PATCH] Fix CondDB and GT for data --- test/zmumu/tp_from_aod_Data.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/zmumu/tp_from_aod_Data.py b/test/zmumu/tp_from_aod_Data.py index f244bd40bff..97906297ffe 100644 --- a/test/zmumu/tp_from_aod_Data.py +++ b/test/zmumu/tp_from_aod_Data.py @@ -17,14 +17,14 @@ process.load('Configuration.StandardSequences.GeometryRecoDB_cff') process.load('Configuration.StandardSequences.MagneticField_cff') -process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff") +process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_condDBv2_cff') process.load("Configuration.StandardSequences.Reconstruction_cff") import os if "CMSSW_7_4_" in os.environ['CMSSW_VERSION']: #run 251168 - process.GlobalTag.globaltag = cms.string('GR_P_V56::All') + process.GlobalTag.globaltag = cms.string('74X_dataRun2_Prompt_v1') sourcefilesfolder = "/store/data/Run2015B/SingleMuon/AOD/PromptReco-v1/000/251/168/00000" files = subprocess.check_output([ "/afs/cern.ch/project/eos/installation/0.3.15/bin/eos.select", "ls", sourcefilesfolder ]) process.source.fileNames = [ sourcefilesfolder+"/"+f for f in files.split() ]