Skip to content

Commit

Permalink
Use miniAOD from RelVals for tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
Volker Adler committed Nov 28, 2014
1 parent f85ced0 commit 104f871
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 5 deletions.
26 changes: 26 additions & 0 deletions PhysicsTools/PatAlgos/python/patInputFiles_cff.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
import FWCore.ParameterSet.Config as cms
from PhysicsTools.PatAlgos.tools.cmsswVersionTools import pickRelValInputFiles

# /RelValTTbar_13/CMSSW_7_2_2_patch1-PU50ns_MCRUN2_72_V0-v1/MINIAODSIM
filesRelValProdTTbarPileUpMINIAODSIM = cms.untracked.vstring(
#pickRelValInputFiles( cmsswVersion = 'CMSSW_7_2_2_patch1'
#, relVal = 'RelValTTbar_13'
#, globalTag = 'PU50ns_MCRUN2_72_V0'
#, dataTier = 'MINIAODSIM'
#, maxVersions = 1
#, numberOfFiles = 1
#, useDAS = True
#)
'/store/relval/CMSSW_7_2_2_patch1/RelValTTbar_13/MINIAODSIM/PU50ns_MCRUN2_72_V0-v1/00000/0683685E-8D73-E411-9A7A-0025905A60D0.root'
)

# /RelValProdTTbar/CMSSW_7_2_0_pre7-PRE_STA72_V4-v1/AODSIM
filesRelValProdTTbarAODSIM = cms.untracked.vstring(
#pickRelValInputFiles( cmsswVersion = 'CMSSW_7_2_0_pre7'
Expand Down Expand Up @@ -53,6 +66,19 @@
'/store/relval/CMSSW_7_2_0_pre7/RelValTTbar_13/GEN-SIM-RECO/PU50ns_PRE_LS172_V12-v1/00000/1267B7ED-2F4E-E411-A0B9-0025905964A6.root'
)

# /SingleMu/CMSSW_7_2_2_patch1-GR_R_72_V12A_RelVal_mu2012D-v1/MINIAOD
filesRelValSingleMuMINIAOD = cms.untracked.vstring(
#pickRelValInputFiles( cmsswVersion = 'CMSSW_7_2_2_patch1'
#, relVal = 'SingleMu'
#, globalTag = 'GR_R_72_V12A_RelVal_mu2012D'
#, dataTier = 'MINIAOD'
#, maxVersions = 1
#, numberOfFiles = 1
#, useDAS = True
#)
'/store/relval/CMSSW_7_2_2_patch1/SingleMu/MINIAOD/GR_R_72_V12A_RelVal_mu2012D-v1/00000/0A4421EB-F573-E411-9579-0025905A6134.root'
)

# /SingleMu/CMSSW_7_2_0_pre7-PRE_R_72_V6A_RelVal_mu2012D-v1/RECO # not at CERN
filesSingleMuRECO = cms.untracked.vstring(
#pickRelValInputFiles( cmsswVersion = 'CMSSW_7_2_0_pre7'
Expand Down
12 changes: 7 additions & 5 deletions TopQuarkAnalysis/Configuration/test/patRefSel_muJets_cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
#
# Command line arguments:
# - standard command line arguments as defined in FWCore.ParameterSet.VarParsing.VarParsing( 'standard' )
# + 'maxEvent' (int , default: -1)
# + 'maxEvent' (int , default: -1)
# - 'runOnMC' (bool, default: True ): decide if run on MC or real data
# - 'runOnMiniAOD' (bool, default: True ): decide if run on miniAOD or AOD input
# - 'useElecEAIsoCorr' (bool, default: True ): decide, if EA (rho) or Delta beta corrections are used for electron isolation is used
# - 'useElecEAIsoCorr' (bool, default: True ): decide, if EA (rho) or Delta beta corrections are used for electron isolation
# - 'useCalibElec' (bool, default: False): decide, if electron re-calibration using regression energies is used
# - 'addTriggerMatch' (bool, default: True ): decide, if trigger objects are matched to signal muons
#
Expand Down Expand Up @@ -189,15 +189,17 @@
# DEBUG BEGIN
if runOnMiniAOD:
if runOnMC:
inputFiles = [ 'file:step5.root' ]
from PhysicsTools.PatAlgos.patInputFiles_cff import filesRelValProdTTbarPileUpMINIAODSIM
inputFiles = filesRelValProdTTbarPileUpMINIAODSIM
else:
inputFiles = [ 'file:step5_data.root' ]
from PhysicsTools.PatAlgos.patInputFiles_cff import filesRelValSingleMuMINIAOD
inputFiles = filesRelValSingleMuMINIAOD
else:
if runOnMC:
from PhysicsTools.PatAlgos.patInputFiles_cff import filesRelValProdTTbarAODSIM
inputFiles = filesRelValProdTTbarAODSIM
else:
from PhysicsTools.PatAlgos.patInputFiles_cff import filesSingleMuRECO
from PhysicsTools.PatAlgos.patInputFiles_cff import filesSingleMuRECO # not available at CERN
inputFiles = filesSingleMuRECO
# DEBUG END
process.load( "TopQuarkAnalysis.Configuration.patRefSel_inputModule_cfi" )
Expand Down

0 comments on commit 104f871

Please sign in to comment.