Skip to content

Commit

Permalink
Fix CondDB and GT for data
Browse files Browse the repository at this point in the history
  • Loading branch information
gpetruc committed Aug 31, 2015
1 parent 8f304f6 commit 79b662b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/zmumu/tp_from_aod_Data.py
Original file line number Diff line number Diff line change
Expand Up @@ -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() ]
Expand Down

0 comments on commit 79b662b

Please sign in to comment.