sampleDataSet = '/QCD_Pt-170to300_TuneZ2_7TeV_pythia6/Summer11-PU_S3_START42_V11-v2/AODSIM'
sampleCMSEnergy = 7000

sampleRelease = "CMSSW_4_2_2_patch2" # original (i.e. RECO file) release, not the one we plan to process them with
sampleProcessRelease = "CMSSW_4_2_7" # release used to create new files with

sampleNumEvents = 6220160

sampleXSec = 24300.0 # cross-section times filter efficiency (pb)

# global tag can be extracted from file using edmProvDump filename|grep globaltag
# note however that this is the tag for *further* processing, not the original tag
sampleGlobalTag = 'START42_V13::All'
sampleHLTProcess = '*'

sampleBaseDir = "root://xrootd.rcac.purdue.edu//store/user/demattia/longlived/"+sampleProcessRelease+"/QCDem170"

sampleRecoFiles = [ ]

samplePatFiles = [
  sampleBaseDir+"/pat/PATtuple_1_1_cBM.root",
  sampleBaseDir+"/pat/PATtuple_2_1_wtK.root",
  sampleBaseDir+"/pat/PATtuple_3_1_gn3.root",
  sampleBaseDir+"/pat/PATtuple_4_1_lak.root",
  sampleBaseDir+"/pat/PATtuple_5_1_zok.root",
  sampleBaseDir+"/pat/PATtuple_6_1_TQF.root",
  sampleBaseDir+"/pat/PATtuple_7_1_wnb.root",
  sampleBaseDir+"/pat/PATtuple_8_1_PTP.root",
  sampleBaseDir+"/pat/PATtuple_9_1_1V1.root",
  sampleBaseDir+"/pat/PATtuple_10_1_3yw.root",
  sampleBaseDir+"/pat/PATtuple_11_1_4Uu.root",
  sampleBaseDir+"/pat/PATtuple_12_1_0rl.root",
  sampleBaseDir+"/pat/PATtuple_13_1_uoT.root",
  sampleBaseDir+"/pat/PATtuple_14_1_A3X.root",
  sampleBaseDir+"/pat/PATtuple_15_1_Hqg.root",
  sampleBaseDir+"/pat/PATtuple_16_1_Bjf.root",
  sampleBaseDir+"/pat/PATtuple_17_1_zb5.root",
  sampleBaseDir+"/pat/PATtuple_18_1_TGF.root",
  sampleBaseDir+"/pat/PATtuple_19_1_wyV.root",
  sampleBaseDir+"/pat/PATtuple_20_1_3gw.root",
  sampleBaseDir+"/pat/PATtuple_21_1_UlC.root",
  sampleBaseDir+"/pat/PATtuple_22_1_dZQ.root",
  sampleBaseDir+"/pat/PATtuple_23_1_AZb.root",
  sampleBaseDir+"/pat/PATtuple_24_1_V6z.root",
  sampleBaseDir+"/pat/PATtuple_25_1_ALv.root",
  sampleBaseDir+"/pat/PATtuple_26_1_ePY.root",
  sampleBaseDir+"/pat/PATtuple_27_1_OO9.root",
  sampleBaseDir+"/pat/PATtuple_28_1_blv.root",
  sampleBaseDir+"/pat/PATtuple_29_1_UVc.root",
  sampleBaseDir+"/pat/PATtuple_30_1_Ibn.root",
  sampleBaseDir+"/pat/PATtuple_31_1_Hxy.root",
  sampleBaseDir+"/pat/PATtuple_32_1_ZoN.root",
  sampleBaseDir+"/pat/PATtuple_33_1_WyI.root",
  sampleBaseDir+"/pat/PATtuple_34_1_x31.root",
  sampleBaseDir+"/pat/PATtuple_35_1_O6o.root",
  sampleBaseDir+"/pat/PATtuple_36_1_Pu1.root",
  sampleBaseDir+"/pat/PATtuple_37_1_XK1.root",
  sampleBaseDir+"/pat/PATtuple_38_1_1NO.root",
  sampleBaseDir+"/pat/PATtuple_39_1_gNI.root",
  sampleBaseDir+"/pat/PATtuple_40_1_0LO.root",
  sampleBaseDir+"/pat/PATtuple_41_1_Aj5.root",
  sampleBaseDir+"/pat/PATtuple_42_1_9iX.root",
  sampleBaseDir+"/pat/PATtuple_43_1_cs5.root",
  sampleBaseDir+"/pat/PATtuple_44_1_RHH.root",
  sampleBaseDir+"/pat/PATtuple_45_1_7TO.root",
  sampleBaseDir+"/pat/PATtuple_46_1_v0y.root",
  sampleBaseDir+"/pat/PATtuple_47_1_26g.root",
  sampleBaseDir+"/pat/PATtuple_48_1_dNE.root",
  sampleBaseDir+"/pat/PATtuple_49_1_Xk6.root",
  sampleBaseDir+"/pat/PATtuple_50_1_dD2.root",
  sampleBaseDir+"/pat/PATtuple_51_1_Nw2.root",
  sampleBaseDir+"/pat/PATtuple_52_1_U3J.root",
  sampleBaseDir+"/pat/PATtuple_53_1_C5l.root",
  sampleBaseDir+"/pat/PATtuple_54_1_gvf.root",
  sampleBaseDir+"/pat/PATtuple_55_1_Nyj.root",
  sampleBaseDir+"/pat/PATtuple_56_1_qdI.root",
  sampleBaseDir+"/pat/PATtuple_57_1_i5X.root",
  sampleBaseDir+"/pat/PATtuple_58_1_iDr.root",
  sampleBaseDir+"/pat/PATtuple_59_1_Pgu.root",
  sampleBaseDir+"/pat/PATtuple_60_2_WqK.root",
  sampleBaseDir+"/pat/PATtuple_61_1_WdK.root",
  sampleBaseDir+"/pat/PATtuple_62_1_iiz.root",
  sampleBaseDir+"/pat/PATtuple_63_1_6ZT.root",
  sampleBaseDir+"/pat/PATtuple_64_1_pFB.root",
  sampleBaseDir+"/pat/PATtuple_65_1_y9t.root",
  sampleBaseDir+"/pat/PATtuple_66_1_1xl.root",
  sampleBaseDir+"/pat/PATtuple_67_1_K8Y.root",
  sampleBaseDir+"/pat/PATtuple_68_1_x95.root",
  sampleBaseDir+"/pat/PATtuple_69_1_bS0.root",
  sampleBaseDir+"/pat/PATtuple_70_1_uPx.root",
  sampleBaseDir+"/pat/PATtuple_71_1_bcR.root",
  sampleBaseDir+"/pat/PATtuple_72_1_ZCD.root",
  sampleBaseDir+"/pat/PATtuple_73_1_bbE.root",
  sampleBaseDir+"/pat/PATtuple_74_1_ADW.root",
  sampleBaseDir+"/pat/PATtuple_75_1_XZb.root",
  sampleBaseDir+"/pat/PATtuple_76_1_CLz.root",
  sampleBaseDir+"/pat/PATtuple_77_1_Ogk.root",
  sampleBaseDir+"/pat/PATtuple_78_1_uFw.root",
  sampleBaseDir+"/pat/PATtuple_79_1_Aad.root",
  sampleBaseDir+"/pat/PATtuple_80_1_alA.root",
  sampleBaseDir+"/pat/PATtuple_81_1_scy.root",
  sampleBaseDir+"/pat/PATtuple_82_1_CnG.root",
  sampleBaseDir+"/pat/PATtuple_83_1_1bB.root",
  sampleBaseDir+"/pat/PATtuple_84_1_oOy.root",
  sampleBaseDir+"/pat/PATtuple_85_1_l1p.root",
  sampleBaseDir+"/pat/PATtuple_86_1_4ht.root",
  sampleBaseDir+"/pat/PATtuple_87_1_1nR.root",
  sampleBaseDir+"/pat/PATtuple_88_1_lBH.root",
  sampleBaseDir+"/pat/PATtuple_89_1_Gd1.root",
  sampleBaseDir+"/pat/PATtuple_90_1_7sG.root",
  sampleBaseDir+"/pat/PATtuple_91_1_dFE.root",
  sampleBaseDir+"/pat/PATtuple_92_1_1ZP.root",
  sampleBaseDir+"/pat/PATtuple_93_1_jZQ.root",
  sampleBaseDir+"/pat/PATtuple_94_1_UOi.root",
  sampleBaseDir+"/pat/PATtuple_95_3_mD6.root",
  sampleBaseDir+"/pat/PATtuple_96_1_Szl.root",
  sampleBaseDir+"/pat/PATtuple_97_3_FEP.root",
  sampleBaseDir+"/pat/PATtuple_98_1_bGu.root",
  sampleBaseDir+"/pat/PATtuple_99_1_Q6o.root",
  sampleBaseDir+"/pat/PATtuple_100_1_bGv.root",
  sampleBaseDir+"/pat/PATtuple_101_1_Mz9.root",
  sampleBaseDir+"/pat/PATtuple_102_1_LmT.root",
  sampleBaseDir+"/pat/PATtuple_103_1_N1c.root",
  sampleBaseDir+"/pat/PATtuple_104_1_68d.root",
  sampleBaseDir+"/pat/PATtuple_105_1_Yqb.root",
  sampleBaseDir+"/pat/PATtuple_106_1_NNf.root",
  sampleBaseDir+"/pat/PATtuple_107_1_uac.root",
  sampleBaseDir+"/pat/PATtuple_108_1_6UP.root",
  sampleBaseDir+"/pat/PATtuple_109_1_kcy.root",
  sampleBaseDir+"/pat/PATtuple_110_1_D9A.root",
  sampleBaseDir+"/pat/PATtuple_111_1_7Tm.root",
  sampleBaseDir+"/pat/PATtuple_112_1_N6e.root",
  sampleBaseDir+"/pat/PATtuple_113_1_12X.root",
  sampleBaseDir+"/pat/PATtuple_114_1_zny.root",
  sampleBaseDir+"/pat/PATtuple_115_1_LW4.root",
  sampleBaseDir+"/pat/PATtuple_116_1_WWH.root",
  sampleBaseDir+"/pat/PATtuple_117_1_qWT.root",
  sampleBaseDir+"/pat/PATtuple_118_1_FTK.root",
  sampleBaseDir+"/pat/PATtuple_119_1_r0S.root",
  sampleBaseDir+"/pat/PATtuple_120_1_hU6.root",
  sampleBaseDir+"/pat/PATtuple_121_1_VU4.root",
  sampleBaseDir+"/pat/PATtuple_122_1_cOs.root",
  sampleBaseDir+"/pat/PATtuple_123_1_s9m.root",
  sampleBaseDir+"/pat/PATtuple_124_1_YYR.root",
  sampleBaseDir+"/pat/PATtuple_125_1_1Ji.root",
  sampleBaseDir+"/pat/PATtuple_126_1_BvK.root",
  sampleBaseDir+"/pat/PATtuple_127_1_GMC.root",
  sampleBaseDir+"/pat/PATtuple_128_1_MOV.root",
  sampleBaseDir+"/pat/PATtuple_129_1_wm6.root",
  sampleBaseDir+"/pat/PATtuple_130_1_gzr.root",
  sampleBaseDir+"/pat/PATtuple_131_1_OAF.root",
  sampleBaseDir+"/pat/PATtuple_132_1_2A8.root",
  sampleBaseDir+"/pat/PATtuple_133_1_u5I.root",
  sampleBaseDir+"/pat/PATtuple_134_3_wJF.root",
  sampleBaseDir+"/pat/PATtuple_135_1_yS1.root",
  sampleBaseDir+"/pat/PATtuple_136_3_4Ds.root",
  sampleBaseDir+"/pat/PATtuple_137_1_bYa.root",
  sampleBaseDir+"/pat/PATtuple_138_1_dWW.root",
  sampleBaseDir+"/pat/PATtuple_139_1_SYy.root",
  sampleBaseDir+"/pat/PATtuple_140_1_aKY.root",
  sampleBaseDir+"/pat/PATtuple_141_1_Nnp.root",
  sampleBaseDir+"/pat/PATtuple_142_1_mJj.root",
  sampleBaseDir+"/pat/PATtuple_143_3_UVY.root",
  sampleBaseDir+"/pat/PATtuple_144_1_4tI.root",
  sampleBaseDir+"/pat/PATtuple_145_3_Mes.root",
  sampleBaseDir+"/pat/PATtuple_146_1_PYl.root",
  sampleBaseDir+"/pat/PATtuple_147_1_Ymz.root",
  sampleBaseDir+"/pat/PATtuple_148_1_vcY.root",
  sampleBaseDir+"/pat/PATtuple_149_1_mUF.root",
  sampleBaseDir+"/pat/PATtuple_150_1_7BT.root",
  sampleBaseDir+"/pat/PATtuple_151_0_vLd.root",
  sampleBaseDir+"/pat/PATtuple_152_0_Zvh.root",
  sampleBaseDir+"/pat/PATtuple_153_0_ezH.root",
  sampleBaseDir+"/pat/PATtuple_154_0_h7h.root",
  sampleBaseDir+"/pat/PATtuple_155_0_5Rm.root",
  sampleBaseDir+"/pat/PATtuple_156_0_wFm.root",
  sampleBaseDir+"/pat/PATtuple_157_0_lgM.root",
  sampleBaseDir+"/pat/PATtuple_158_0_vsk.root",
  sampleBaseDir+"/pat/PATtuple_159_0_h61.root",
  sampleBaseDir+"/pat/PATtuple_160_0_kRP.root",
  sampleBaseDir+"/pat/PATtuple_161_0_HBb.root",
  sampleBaseDir+"/pat/PATtuple_162_0_3tw.root",
  sampleBaseDir+"/pat/PATtuple_163_0_ksu.root",
  sampleBaseDir+"/pat/PATtuple_164_0_cnW.root",
  sampleBaseDir+"/pat/PATtuple_165_0_gRP.root",
  sampleBaseDir+"/pat/PATtuple_166_0_jw9.root",
  sampleBaseDir+"/pat/PATtuple_167_0_U0l.root",
  sampleBaseDir+"/pat/PATtuple_168_0_oMP.root",
  sampleBaseDir+"/pat/PATtuple_169_0_NcF.root",
  sampleBaseDir+"/pat/PATtuple_170_0_RsV.root",
  sampleBaseDir+"/pat/PATtuple_171_0_EkS.root",
  sampleBaseDir+"/pat/PATtuple_172_0_Omr.root",
  sampleBaseDir+"/pat/PATtuple_173_0_yuB.root",
  sampleBaseDir+"/pat/PATtuple_174_0_UED.root",
  sampleBaseDir+"/pat/PATtuple_175_0_sCz.root",
  sampleBaseDir+"/pat/PATtuple_176_0_6nL.root",
  sampleBaseDir+"/pat/PATtuple_177_0_r9S.root",
  sampleBaseDir+"/pat/PATtuple_178_0_UhW.root",
  sampleBaseDir+"/pat/PATtuple_179_0_LrM.root",
  sampleBaseDir+"/pat/PATtuple_180_0_UbV.root",
  sampleBaseDir+"/pat/PATtuple_181_0_B0A.root",
  sampleBaseDir+"/pat/PATtuple_182_0_w6a.root",
  sampleBaseDir+"/pat/PATtuple_183_0_K26.root",
  sampleBaseDir+"/pat/PATtuple_184_0_LJ8.root",
  sampleBaseDir+"/pat/PATtuple_185_0_80c.root",
  sampleBaseDir+"/pat/PATtuple_186_0_iEJ.root",
  sampleBaseDir+"/pat/PATtuple_187_0_yK4.root",
  sampleBaseDir+"/pat/PATtuple_188_0_0AC.root",
  sampleBaseDir+"/pat/PATtuple_189_0_iH0.root",
  sampleBaseDir+"/pat/PATtuple_190_0_yzA.root",
  sampleBaseDir+"/pat/PATtuple_191_0_0KX.root",
  sampleBaseDir+"/pat/PATtuple_192_0_WOf.root",
  sampleBaseDir+"/pat/PATtuple_193_0_Meq.root",
  sampleBaseDir+"/pat/PATtuple_194_0_JGy.root",
  sampleBaseDir+"/pat/PATtuple_195_0_2Md.root",
  sampleBaseDir+"/pat/PATtuple_196_0_Wdu.root",
  sampleBaseDir+"/pat/PATtuple_197_0_NKd.root",
  sampleBaseDir+"/pat/PATtuple_198_0_lOv.root",
  sampleBaseDir+"/pat/PATtuple_199_0_Huo.root",
  sampleBaseDir+"/pat/PATtuple_200_0_Cxl.root",
  sampleBaseDir+"/pat/PATtuple_201_0_LbX.root",
  sampleBaseDir+"/pat/PATtuple_202_0_hFy.root",
  sampleBaseDir+"/pat/PATtuple_203_0_vXe.root",
  sampleBaseDir+"/pat/PATtuple_204_0_49t.root",
  sampleBaseDir+"/pat/PATtuple_205_0_p9P.root",
  sampleBaseDir+"/pat/PATtuple_206_0_YAp.root",
  sampleBaseDir+"/pat/PATtuple_207_0_mXR.root",
  sampleBaseDir+"/pat/PATtuple_208_0_wpk.root",
  sampleBaseDir+"/pat/PATtuple_209_0_UjD.root",
  sampleBaseDir+"/pat/PATtuple_210_0_vfA.root",
  sampleBaseDir+"/pat/PATtuple_211_0_Q2t.root",
  sampleBaseDir+"/pat/PATtuple_212_0_LfX.root",
  sampleBaseDir+"/pat/PATtuple_213_0_CjS.root",
  sampleBaseDir+"/pat/PATtuple_214_0_TBz.root",
  sampleBaseDir+"/pat/PATtuple_215_0_Vzj.root",
  sampleBaseDir+"/pat/PATtuple_216_0_TTs.root",
  sampleBaseDir+"/pat/PATtuple_217_0_fwv.root",
  sampleBaseDir+"/pat/PATtuple_218_0_ld6.root",
  sampleBaseDir+"/pat/PATtuple_219_0_ExY.root",
  sampleBaseDir+"/pat/PATtuple_220_0_BvG.root",
  sampleBaseDir+"/pat/PATtuple_221_0_qI6.root",
  sampleBaseDir+"/pat/PATtuple_222_0_5Ez.root",
  sampleBaseDir+"/pat/PATtuple_223_0_Ln9.root",
  sampleBaseDir+"/pat/PATtuple_224_0_hG8.root",
  sampleBaseDir+"/pat/PATtuple_225_0_DM8.root",
  sampleBaseDir+"/pat/PATtuple_226_0_hba.root",
  sampleBaseDir+"/pat/PATtuple_227_0_4xU.root",
  sampleBaseDir+"/pat/PATtuple_228_0_oBr.root",
  sampleBaseDir+"/pat/PATtuple_229_0_dPf.root",
  sampleBaseDir+"/pat/PATtuple_230_0_Jqx.root",
  sampleBaseDir+"/pat/PATtuple_231_0_taW.root",
  sampleBaseDir+"/pat/PATtuple_232_0_KlO.root",
  sampleBaseDir+"/pat/PATtuple_233_0_J75.root",
  sampleBaseDir+"/pat/PATtuple_234_0_5DS.root",
  sampleBaseDir+"/pat/PATtuple_235_0_ZDN.root",
  sampleBaseDir+"/pat/PATtuple_236_0_zzq.root",
  sampleBaseDir+"/pat/PATtuple_237_0_PCs.root",
  sampleBaseDir+"/pat/PATtuple_238_0_zZN.root",
  sampleBaseDir+"/pat/PATtuple_239_0_Ir6.root",
  sampleBaseDir+"/pat/PATtuple_240_0_CT1.root",
  sampleBaseDir+"/pat/PATtuple_241_0_x0U.root",
  sampleBaseDir+"/pat/PATtuple_242_0_Nh4.root",
  sampleBaseDir+"/pat/PATtuple_243_0_325.root",
  sampleBaseDir+"/pat/PATtuple_244_0_eXO.root",
  sampleBaseDir+"/pat/PATtuple_245_0_uTq.root",
  sampleBaseDir+"/pat/PATtuple_246_0_VdU.root",
  sampleBaseDir+"/pat/PATtuple_247_0_Io0.root",
  sampleBaseDir+"/pat/PATtuple_248_0_AEP.root",
  sampleBaseDir+"/pat/PATtuple_249_0_no3.root",
  sampleBaseDir+"/pat/PATtuple_250_0_b3p.root",
  sampleBaseDir+"/pat/PATtuple_251_0_euG.root",
  sampleBaseDir+"/pat/PATtuple_252_0_hND.root",
  sampleBaseDir+"/pat/PATtuple_253_0_Fog.root",
  sampleBaseDir+"/pat/PATtuple_254_0_b23.root",
  sampleBaseDir+"/pat/PATtuple_255_0_EEO.root",
  sampleBaseDir+"/pat/PATtuple_256_0_fzM.root",
  sampleBaseDir+"/pat/PATtuple_257_0_Vrs.root",
  sampleBaseDir+"/pat/PATtuple_258_0_YwM.root",
  sampleBaseDir+"/pat/PATtuple_259_0_Avc.root",
  sampleBaseDir+"/pat/PATtuple_260_0_i9I.root",
  sampleBaseDir+"/pat/PATtuple_261_0_Cvq.root",
  sampleBaseDir+"/pat/PATtuple_262_0_cgV.root",
  sampleBaseDir+"/pat/PATtuple_263_0_HIQ.root",
  sampleBaseDir+"/pat/PATtuple_264_0_qqu.root",
  sampleBaseDir+"/pat/PATtuple_265_0_F7d.root",
  sampleBaseDir+"/pat/PATtuple_266_0_w7x.root",
  sampleBaseDir+"/pat/PATtuple_267_0_BZD.root",
  sampleBaseDir+"/pat/PATtuple_268_0_zc9.root",
  sampleBaseDir+"/pat/PATtuple_269_0_Po4.root",
  sampleBaseDir+"/pat/PATtuple_270_0_hqC.root",
  sampleBaseDir+"/pat/PATtuple_271_0_ZBx.root",
  sampleBaseDir+"/pat/PATtuple_272_0_G7n.root",
  sampleBaseDir+"/pat/PATtuple_273_0_YTS.root",
  sampleBaseDir+"/pat/PATtuple_274_0_t67.root",
  sampleBaseDir+"/pat/PATtuple_275_0_txe.root",
  sampleBaseDir+"/pat/PATtuple_276_0_xLG.root",
  sampleBaseDir+"/pat/PATtuple_277_0_thm.root",
  sampleBaseDir+"/pat/PATtuple_278_0_8Aq.root",
  sampleBaseDir+"/pat/PATtuple_279_0_2ep.root",
  sampleBaseDir+"/pat/PATtuple_280_0_UHe.root",
  sampleBaseDir+"/pat/PATtuple_281_0_vOf.root",
  sampleBaseDir+"/pat/PATtuple_282_0_Ic5.root",
  sampleBaseDir+"/pat/PATtuple_283_0_kJA.root",
  sampleBaseDir+"/pat/PATtuple_284_0_zAW.root",
  sampleBaseDir+"/pat/PATtuple_285_0_5cD.root",
  sampleBaseDir+"/pat/PATtuple_286_0_TDq.root",
  sampleBaseDir+"/pat/PATtuple_287_0_Uao.root",
  sampleBaseDir+"/pat/PATtuple_288_0_t3Q.root",
  sampleBaseDir+"/pat/PATtuple_289_0_ElV.root",
  sampleBaseDir+"/pat/PATtuple_290_0_OKx.root",
  sampleBaseDir+"/pat/PATtuple_291_0_oP6.root",
  sampleBaseDir+"/pat/PATtuple_292_0_5jj.root",
  sampleBaseDir+"/pat/PATtuple_293_0_7G0.root",
  sampleBaseDir+"/pat/PATtuple_294_0_pgS.root",
  sampleBaseDir+"/pat/PATtuple_295_0_IYJ.root",
  sampleBaseDir+"/pat/PATtuple_296_0_igU.root",
  sampleBaseDir+"/pat/PATtuple_297_0_bd3.root",
  sampleBaseDir+"/pat/PATtuple_298_0_ldm.root",
  sampleBaseDir+"/pat/PATtuple_299_0_QID.root",
  sampleBaseDir+"/pat/PATtuple_300_0_9nS.root",
  sampleBaseDir+"/pat/PATtuple_301_0_Zff.root",
  sampleBaseDir+"/pat/PATtuple_302_0_8xS.root",
  sampleBaseDir+"/pat/PATtuple_303_0_4uf.root",
  sampleBaseDir+"/pat/PATtuple_304_0_9yt.root",
  sampleBaseDir+"/pat/PATtuple_305_0_xcV.root",
  sampleBaseDir+"/pat/PATtuple_306_0_B37.root",
  sampleBaseDir+"/pat/PATtuple_307_0_s3F.root",
  sampleBaseDir+"/pat/PATtuple_308_0_sjY.root",
  sampleBaseDir+"/pat/PATtuple_309_0_Dps.root",
  sampleBaseDir+"/pat/PATtuple_310_0_AYK.root",
  sampleBaseDir+"/pat/PATtuple_311_0_f0y.root",
  sampleBaseDir+"/pat/PATtuple_312_0_noO.root",
  sampleBaseDir+"/pat/PATtuple_313_0_XCv.root",
  sampleBaseDir+"/pat/PATtuple_314_0_dWW.root",
  sampleBaseDir+"/pat/PATtuple_315_0_WIV.root",
  sampleBaseDir+"/pat/PATtuple_316_0_xmC.root",
  sampleBaseDir+"/pat/PATtuple_317_0_DUk.root",
  sampleBaseDir+"/pat/PATtuple_318_0_nkc.root",
  sampleBaseDir+"/pat/PATtuple_319_0_Hts.root",
  sampleBaseDir+"/pat/PATtuple_320_0_nFM.root",
  sampleBaseDir+"/pat/PATtuple_321_0_SAT.root",
  sampleBaseDir+"/pat/PATtuple_322_1_OUz.root",
  sampleBaseDir+"/pat/PATtuple_323_0_d3G.root",
  sampleBaseDir+"/pat/PATtuple_324_0_Xwv.root",
  sampleBaseDir+"/pat/PATtuple_325_0_N6K.root",
  sampleBaseDir+"/pat/PATtuple_326_0_1rp.root",
  sampleBaseDir+"/pat/PATtuple_327_0_yEO.root",
  sampleBaseDir+"/pat/PATtuple_328_0_egY.root",
  sampleBaseDir+"/pat/PATtuple_329_0_gS0.root",
  sampleBaseDir+"/pat/PATtuple_330_0_ddj.root",
  sampleBaseDir+"/pat/PATtuple_331_0_JWL.root",
  sampleBaseDir+"/pat/PATtuple_332_0_FRu.root",
  sampleBaseDir+"/pat/PATtuple_333_0_QVx.root",
  sampleBaseDir+"/pat/PATtuple_334_0_3h4.root",
  sampleBaseDir+"/pat/PATtuple_335_0_6Tk.root",
  sampleBaseDir+"/pat/PATtuple_336_0_dMo.root",
  sampleBaseDir+"/pat/PATtuple_337_0_QDR.root",
  sampleBaseDir+"/pat/PATtuple_338_0_eri.root",
  sampleBaseDir+"/pat/PATtuple_339_0_WtT.root",
  sampleBaseDir+"/pat/PATtuple_340_0_wGY.root",
  sampleBaseDir+"/pat/PATtuple_341_0_P2U.root",
  sampleBaseDir+"/pat/PATtuple_342_0_qTq.root",
  sampleBaseDir+"/pat/PATtuple_343_0_qlw.root",
  sampleBaseDir+"/pat/PATtuple_344_0_egg.root",
  sampleBaseDir+"/pat/PATtuple_345_0_xyf.root",
  sampleBaseDir+"/pat/PATtuple_346_0_Yfv.root",
  sampleBaseDir+"/pat/PATtuple_347_0_ead.root",
  sampleBaseDir+"/pat/PATtuple_348_0_PRQ.root",
  sampleBaseDir+"/pat/PATtuple_349_0_8GK.root",
  sampleBaseDir+"/pat/PATtuple_350_0_V2p.root",
  sampleBaseDir+"/pat/PATtuple_351_0_btG.root",
  sampleBaseDir+"/pat/PATtuple_352_0_w87.root",
  sampleBaseDir+"/pat/PATtuple_353_0_T45.root",
  sampleBaseDir+"/pat/PATtuple_354_0_MCC.root",
  sampleBaseDir+"/pat/PATtuple_355_0_kzh.root",
  sampleBaseDir+"/pat/PATtuple_356_0_vcC.root",
  sampleBaseDir+"/pat/PATtuple_357_0_f9L.root",
  sampleBaseDir+"/pat/PATtuple_358_0_90C.root",
  sampleBaseDir+"/pat/PATtuple_359_0_gSW.root",
  sampleBaseDir+"/pat/PATtuple_360_0_sOO.root",
  sampleBaseDir+"/pat/PATtuple_361_0_hfi.root",
  sampleBaseDir+"/pat/PATtuple_362_0_33I.root",
  sampleBaseDir+"/pat/PATtuple_363_0_IQE.root",
  sampleBaseDir+"/pat/PATtuple_364_0_d8w.root",
  sampleBaseDir+"/pat/PATtuple_365_0_9ul.root",
  sampleBaseDir+"/pat/PATtuple_366_0_cSz.root",
  sampleBaseDir+"/pat/PATtuple_367_0_UMu.root",
  sampleBaseDir+"/pat/PATtuple_368_0_Ixd.root",
  sampleBaseDir+"/pat/PATtuple_369_0_2k7.root",
  sampleBaseDir+"/pat/PATtuple_370_0_Dt3.root",
  sampleBaseDir+"/pat/PATtuple_371_0_YDO.root",
  sampleBaseDir+"/pat/PATtuple_372_0_bnY.root",
  sampleBaseDir+"/pat/PATtuple_373_0_an5.root",
  sampleBaseDir+"/pat/PATtuple_374_0_bUW.root",
  sampleBaseDir+"/pat/PATtuple_375_0_BUC.root",
  sampleBaseDir+"/pat/PATtuple_376_0_OPp.root",
  sampleBaseDir+"/pat/PATtuple_377_0_jmK.root",
  sampleBaseDir+"/pat/PATtuple_378_0_RTh.root",
  sampleBaseDir+"/pat/PATtuple_379_0_ZOQ.root",
  sampleBaseDir+"/pat/PATtuple_380_0_fjn.root",
  sampleBaseDir+"/pat/PATtuple_381_0_nt7.root",
  sampleBaseDir+"/pat/PATtuple_382_0_wol.root",
  sampleBaseDir+"/pat/PATtuple_383_0_rsh.root",
  sampleBaseDir+"/pat/PATtuple_384_0_F6h.root",
  sampleBaseDir+"/pat/PATtuple_385_0_cvK.root",
  sampleBaseDir+"/pat/PATtuple_386_0_zmu.root",
  sampleBaseDir+"/pat/PATtuple_387_0_U5S.root",
  sampleBaseDir+"/pat/PATtuple_388_0_hkJ.root",
  sampleBaseDir+"/pat/PATtuple_389_0_ok8.root",
  sampleBaseDir+"/pat/PATtuple_390_0_MJ0.root",
  sampleBaseDir+"/pat/PATtuple_391_0_SL3.root",
  sampleBaseDir+"/pat/PATtuple_392_0_cso.root",
  sampleBaseDir+"/pat/PATtuple_393_0_qXd.root",
  sampleBaseDir+"/pat/PATtuple_394_0_bmh.root",
  sampleBaseDir+"/pat/PATtuple_395_0_vIL.root",
  sampleBaseDir+"/pat/PATtuple_396_0_WAV.root",
  sampleBaseDir+"/pat/PATtuple_397_0_D50.root",
  sampleBaseDir+"/pat/PATtuple_398_0_KX1.root",
  sampleBaseDir+"/pat/PATtuple_399_0_8ZU.root",
  sampleBaseDir+"/pat/PATtuple_400_0_XnA.root",
  sampleBaseDir+"/pat/PATtuple_401_0_Oh8.root",
  sampleBaseDir+"/pat/PATtuple_402_0_DfS.root",
  sampleBaseDir+"/pat/PATtuple_403_0_sgw.root",
  sampleBaseDir+"/pat/PATtuple_404_0_ZBJ.root",
  sampleBaseDir+"/pat/PATtuple_405_0_V0j.root",
  sampleBaseDir+"/pat/PATtuple_406_0_bot.root",
  sampleBaseDir+"/pat/PATtuple_407_0_55F.root",
  sampleBaseDir+"/pat/PATtuple_408_0_ykb.root",
  sampleBaseDir+"/pat/PATtuple_409_0_vOi.root",
  sampleBaseDir+"/pat/PATtuple_410_0_uR7.root",
  sampleBaseDir+"/pat/PATtuple_411_0_Uh5.root",
  sampleBaseDir+"/pat/PATtuple_412_0_JFA.root",
  sampleBaseDir+"/pat/PATtuple_413_0_rbV.root",
  sampleBaseDir+"/pat/PATtuple_414_0_e7A.root",
  sampleBaseDir+"/pat/PATtuple_415_0_RTd.root",
  sampleBaseDir+"/pat/PATtuple_416_0_sIc.root",
  sampleBaseDir+"/pat/PATtuple_417_0_UnR.root",
  sampleBaseDir+"/pat/PATtuple_418_0_7KH.root",
  sampleBaseDir+"/pat/PATtuple_419_0_Njk.root",
  sampleBaseDir+"/pat/PATtuple_420_0_Gez.root",
  sampleBaseDir+"/pat/PATtuple_421_0_5rU.root",
  sampleBaseDir+"/pat/PATtuple_422_0_l6I.root",
  sampleBaseDir+"/pat/PATtuple_423_0_Bhj.root",
  sampleBaseDir+"/pat/PATtuple_424_0_GgI.root",
  sampleBaseDir+"/pat/PATtuple_425_0_hXZ.root",
  sampleBaseDir+"/pat/PATtuple_426_0_jv5.root",
  sampleBaseDir+"/pat/PATtuple_427_0_X7B.root",
  sampleBaseDir+"/pat/PATtuple_428_0_B8S.root",
  sampleBaseDir+"/pat/PATtuple_429_0_gnP.root",
  sampleBaseDir+"/pat/PATtuple_430_0_m3V.root",
  sampleBaseDir+"/pat/PATtuple_431_0_pXB.root",
  sampleBaseDir+"/pat/PATtuple_432_0_9j5.root",
  sampleBaseDir+"/pat/PATtuple_433_0_CBt.root",
  sampleBaseDir+"/pat/PATtuple_434_0_qLt.root",
  sampleBaseDir+"/pat/PATtuple_435_0_8pc.root",
  sampleBaseDir+"/pat/PATtuple_436_0_Nrx.root",
  sampleBaseDir+"/pat/PATtuple_437_0_1Kv.root",
  sampleBaseDir+"/pat/PATtuple_438_0_rbC.root",
  sampleBaseDir+"/pat/PATtuple_439_0_6Ma.root",
  sampleBaseDir+"/pat/PATtuple_440_0_z5l.root",
  sampleBaseDir+"/pat/PATtuple_441_0_mkQ.root",
  sampleBaseDir+"/pat/PATtuple_442_0_wtr.root",
  sampleBaseDir+"/pat/PATtuple_443_0_68S.root",
  sampleBaseDir+"/pat/PATtuple_444_0_AFh.root",
  sampleBaseDir+"/pat/PATtuple_445_0_mWm.root",
  sampleBaseDir+"/pat/PATtuple_446_0_yGP.root",
  sampleBaseDir+"/pat/PATtuple_447_0_TIE.root",
  sampleBaseDir+"/pat/PATtuple_448_0_1oK.root",
  sampleBaseDir+"/pat/PATtuple_449_0_3HE.root",
  sampleBaseDir+"/pat/PATtuple_450_0_hv1.root",
  sampleBaseDir+"/pat/PATtuple_451_0_D97.root",
  sampleBaseDir+"/pat/PATtuple_452_0_nmV.root",
  sampleBaseDir+"/pat/PATtuple_453_0_KgN.root",
  sampleBaseDir+"/pat/PATtuple_454_0_7rI.root",
  sampleBaseDir+"/pat/PATtuple_455_0_6Hw.root",
  sampleBaseDir+"/pat/PATtuple_456_0_W05.root",
  sampleBaseDir+"/pat/PATtuple_457_0_UVJ.root",
  sampleBaseDir+"/pat/PATtuple_458_0_h0Q.root",
  sampleBaseDir+"/pat/PATtuple_459_0_HhE.root",
  sampleBaseDir+"/pat/PATtuple_460_0_ka1.root",
  sampleBaseDir+"/pat/PATtuple_461_0_rBL.root",
  sampleBaseDir+"/pat/PATtuple_462_0_H3T.root",
  sampleBaseDir+"/pat/PATtuple_463_0_fUx.root",
  sampleBaseDir+"/pat/PATtuple_464_0_IZJ.root",
  sampleBaseDir+"/pat/PATtuple_465_0_szK.root",
  sampleBaseDir+"/pat/PATtuple_466_0_6ru.root",
  sampleBaseDir+"/pat/PATtuple_467_0_7t7.root",
  sampleBaseDir+"/pat/PATtuple_468_0_nqy.root",
  sampleBaseDir+"/pat/PATtuple_469_0_W7C.root",
  sampleBaseDir+"/pat/PATtuple_470_0_7oA.root",
  sampleBaseDir+"/pat/PATtuple_471_0_45d.root",
  sampleBaseDir+"/pat/PATtuple_472_0_YDs.root",
  sampleBaseDir+"/pat/PATtuple_473_0_Bbl.root",
  sampleBaseDir+"/pat/PATtuple_474_0_okw.root",
  sampleBaseDir+"/pat/PATtuple_475_0_HGY.root",
  sampleBaseDir+"/pat/PATtuple_476_0_bOm.root",
  sampleBaseDir+"/pat/PATtuple_477_0_mdD.root",
  sampleBaseDir+"/pat/PATtuple_478_0_MhB.root",
  sampleBaseDir+"/pat/PATtuple_479_0_sT4.root",
  sampleBaseDir+"/pat/PATtuple_480_0_IqR.root",
  sampleBaseDir+"/pat/PATtuple_481_0_rgA.root",
  sampleBaseDir+"/pat/PATtuple_482_0_WKL.root",
  sampleBaseDir+"/pat/PATtuple_483_0_vkH.root",
  sampleBaseDir+"/pat/PATtuple_484_0_dOg.root",
  sampleBaseDir+"/pat/PATtuple_485_0_keE.root",
  sampleBaseDir+"/pat/PATtuple_486_0_6IR.root",
  sampleBaseDir+"/pat/PATtuple_487_0_a5f.root",
  sampleBaseDir+"/pat/PATtuple_488_0_UWF.root",
  sampleBaseDir+"/pat/PATtuple_489_0_MKE.root",
  sampleBaseDir+"/pat/PATtuple_490_0_JWD.root",
  sampleBaseDir+"/pat/PATtuple_491_0_gRj.root",
  sampleBaseDir+"/pat/PATtuple_492_0_ajS.root",
  sampleBaseDir+"/pat/PATtuple_493_0_Tja.root",
  sampleBaseDir+"/pat/PATtuple_494_0_AUG.root",
  sampleBaseDir+"/pat/PATtuple_495_0_5wZ.root",
  sampleBaseDir+"/pat/PATtuple_496_0_K0D.root",
  sampleBaseDir+"/pat/PATtuple_497_0_epY.root",
  sampleBaseDir+"/pat/PATtuple_498_0_0kN.root",
  sampleBaseDir+"/pat/PATtuple_499_0_azw.root",
  sampleBaseDir+"/pat/PATtuple_500_0_VYi.root",
  sampleBaseDir+"/pat/PATtuple_501_0_CRW.root",
  sampleBaseDir+"/pat/PATtuple_502_0_W16.root",
  sampleBaseDir+"/pat/PATtuple_503_0_Pel.root",
  sampleBaseDir+"/pat/PATtuple_504_0_6qT.root",
  sampleBaseDir+"/pat/PATtuple_505_0_S8T.root",
  sampleBaseDir+"/pat/PATtuple_506_0_O6E.root",
  sampleBaseDir+"/pat/PATtuple_507_0_mhx.root",
  sampleBaseDir+"/pat/PATtuple_508_0_YFZ.root",
  sampleBaseDir+"/pat/PATtuple_509_0_Tpi.root",
  sampleBaseDir+"/pat/PATtuple_510_0_4j4.root",
  sampleBaseDir+"/pat/PATtuple_511_0_Ppj.root",
  sampleBaseDir+"/pat/PATtuple_512_0_bLz.root",
  sampleBaseDir+"/pat/PATtuple_513_0_P6l.root",
  sampleBaseDir+"/pat/PATtuple_514_0_yJV.root",
  sampleBaseDir+"/pat/PATtuple_515_0_Za3.root",
  sampleBaseDir+"/pat/PATtuple_516_0_kks.root",
  sampleBaseDir+"/pat/PATtuple_517_0_C0w.root",
  sampleBaseDir+"/pat/PATtuple_518_0_IYP.root",
  sampleBaseDir+"/pat/PATtuple_519_0_zZs.root",
  sampleBaseDir+"/pat/PATtuple_520_0_ksN.root",
  sampleBaseDir+"/pat/PATtuple_521_0_ORS.root",
  sampleBaseDir+"/pat/PATtuple_522_0_llx.root",
  sampleBaseDir+"/pat/PATtuple_523_0_WPj.root",
  sampleBaseDir+"/pat/PATtuple_524_0_ADE.root",
  sampleBaseDir+"/pat/PATtuple_525_0_q0r.root",
  sampleBaseDir+"/pat/PATtuple_526_0_wT0.root",
  sampleBaseDir+"/pat/PATtuple_527_0_HzJ.root",
  sampleBaseDir+"/pat/PATtuple_528_0_PaV.root",
  sampleBaseDir+"/pat/PATtuple_529_0_iwO.root",
  sampleBaseDir+"/pat/PATtuple_530_0_DFe.root",
  sampleBaseDir+"/pat/PATtuple_531_0_WQO.root",
  sampleBaseDir+"/pat/PATtuple_532_0_tBB.root",
  sampleBaseDir+"/pat/PATtuple_533_0_ina.root",
  sampleBaseDir+"/pat/PATtuple_534_0_skV.root",
  sampleBaseDir+"/pat/PATtuple_535_0_NXZ.root",
  sampleBaseDir+"/pat/PATtuple_536_0_H29.root",
  sampleBaseDir+"/pat/PATtuple_537_0_Gp6.root",
  sampleBaseDir+"/pat/PATtuple_538_0_mwc.root",
  sampleBaseDir+"/pat/PATtuple_539_0_30i.root",
  sampleBaseDir+"/pat/PATtuple_540_0_6jE.root",
  sampleBaseDir+"/pat/PATtuple_541_0_sh5.root",
  sampleBaseDir+"/pat/PATtuple_542_0_GvJ.root",
  sampleBaseDir+"/pat/PATtuple_543_0_o0x.root",
  sampleBaseDir+"/pat/PATtuple_544_0_Z6h.root",
  sampleBaseDir+"/pat/PATtuple_545_0_ger.root",
  sampleBaseDir+"/pat/PATtuple_546_0_oyC.root",
  sampleBaseDir+"/pat/PATtuple_547_0_T7B.root",
  sampleBaseDir+"/pat/PATtuple_548_0_87T.root",
  sampleBaseDir+"/pat/PATtuple_549_0_K7v.root",
  sampleBaseDir+"/pat/PATtuple_550_0_ZD7.root",
  sampleBaseDir+"/pat/PATtuple_551_0_4jm.root",
  sampleBaseDir+"/pat/PATtuple_552_0_QTm.root",
  sampleBaseDir+"/pat/PATtuple_553_0_xNk.root",
  sampleBaseDir+"/pat/PATtuple_554_0_7gP.root",
  sampleBaseDir+"/pat/PATtuple_555_0_y0T.root",
  sampleBaseDir+"/pat/PATtuple_556_0_t4i.root",
  sampleBaseDir+"/pat/PATtuple_557_0_75i.root",
  sampleBaseDir+"/pat/PATtuple_558_0_VmF.root",
  sampleBaseDir+"/pat/PATtuple_559_0_b4D.root",
  sampleBaseDir+"/pat/PATtuple_560_0_3Ka.root",
  sampleBaseDir+"/pat/PATtuple_561_0_5rF.root",
  sampleBaseDir+"/pat/PATtuple_562_0_tWq.root",
  sampleBaseDir+"/pat/PATtuple_563_0_udn.root",
  sampleBaseDir+"/pat/PATtuple_564_0_4eL.root",
  sampleBaseDir+"/pat/PATtuple_565_0_wZE.root",
  sampleBaseDir+"/pat/PATtuple_566_0_758.root",
  sampleBaseDir+"/pat/PATtuple_567_0_6pA.root",
  sampleBaseDir+"/pat/PATtuple_568_0_kDm.root",
  sampleBaseDir+"/pat/PATtuple_569_0_0k1.root",
  sampleBaseDir+"/pat/PATtuple_570_0_PMh.root",
  sampleBaseDir+"/pat/PATtuple_571_0_fGY.root",
  sampleBaseDir+"/pat/PATtuple_572_0_P6i.root",
  sampleBaseDir+"/pat/PATtuple_573_0_68g.root",
  sampleBaseDir+"/pat/PATtuple_574_0_E1q.root",
  sampleBaseDir+"/pat/PATtuple_575_0_Aj5.root",
  sampleBaseDir+"/pat/PATtuple_576_0_kHc.root",
  sampleBaseDir+"/pat/PATtuple_577_0_CyF.root",
  sampleBaseDir+"/pat/PATtuple_578_0_H0K.root",
  sampleBaseDir+"/pat/PATtuple_579_0_yLu.root",
  sampleBaseDir+"/pat/PATtuple_580_0_M1C.root",
  sampleBaseDir+"/pat/PATtuple_581_0_Wdh.root",
  sampleBaseDir+"/pat/PATtuple_582_0_am0.root",
  sampleBaseDir+"/pat/PATtuple_583_0_BCD.root",
  sampleBaseDir+"/pat/PATtuple_584_0_Wc5.root",
  sampleBaseDir+"/pat/PATtuple_585_0_gnN.root",
  sampleBaseDir+"/pat/PATtuple_586_0_m8T.root",
  sampleBaseDir+"/pat/PATtuple_587_0_nkp.root",
  sampleBaseDir+"/pat/PATtuple_588_0_VyN.root",
  sampleBaseDir+"/pat/PATtuple_589_0_mOC.root",
  sampleBaseDir+"/pat/PATtuple_590_0_O4Y.root",
  sampleBaseDir+"/pat/PATtuple_591_0_Pe4.root",
  sampleBaseDir+"/pat/PATtuple_592_0_rsD.root",
  sampleBaseDir+"/pat/PATtuple_593_0_TWN.root",
  sampleBaseDir+"/pat/PATtuple_594_0_ej3.root",
  sampleBaseDir+"/pat/PATtuple_595_0_auU.root",
  sampleBaseDir+"/pat/PATtuple_596_0_WS7.root",
  sampleBaseDir+"/pat/PATtuple_597_0_2HH.root",
  sampleBaseDir+"/pat/PATtuple_598_0_Iob.root",
  sampleBaseDir+"/pat/PATtuple_599_0_D9I.root",
  sampleBaseDir+"/pat/PATtuple_600_0_ZCA.root",
  sampleBaseDir+"/pat/PATtuple_601_0_VNW.root",
  sampleBaseDir+"/pat/PATtuple_602_0_RS8.root",
  sampleBaseDir+"/pat/PATtuple_603_0_b83.root",
  sampleBaseDir+"/pat/PATtuple_604_0_098.root",
  sampleBaseDir+"/pat/PATtuple_605_0_aml.root",
  sampleBaseDir+"/pat/PATtuple_606_0_pBl.root",
  sampleBaseDir+"/pat/PATtuple_607_0_388.root",
  sampleBaseDir+"/pat/PATtuple_608_0_O6k.root",
  sampleBaseDir+"/pat/PATtuple_609_0_5vW.root",
  sampleBaseDir+"/pat/PATtuple_610_0_ay4.root",
  sampleBaseDir+"/pat/PATtuple_611_0_jRL.root",
  sampleBaseDir+"/pat/PATtuple_612_0_Ljg.root",
  sampleBaseDir+"/pat/PATtuple_613_0_OfX.root",
  sampleBaseDir+"/pat/PATtuple_614_0_zcD.root",
  sampleBaseDir+"/pat/PATtuple_615_0_H3S.root",
  sampleBaseDir+"/pat/PATtuple_616_0_PmS.root",
  sampleBaseDir+"/pat/PATtuple_617_0_iRb.root",
  sampleBaseDir+"/pat/PATtuple_618_0_RC9.root",
  sampleBaseDir+"/pat/PATtuple_619_0_GB3.root",
  sampleBaseDir+"/pat/PATtuple_620_0_guj.root",
  sampleBaseDir+"/pat/PATtuple_621_0_Qsj.root",
  sampleBaseDir+"/pat/PATtuple_622_0_2Mk.root",
  sampleBaseDir+"/pat/PATtuple_623_0_6Dr.root",
  sampleBaseDir+"/pat/PATtuple_624_0_1z5.root",
  sampleBaseDir+"/pat/PATtuple_625_0_O8O.root"
]

sampleDuplicateCheckMode = 'checkAllFilesOpened'

sampleType = "MC"
sampleRunMu = 0
