sampleDataSet = '/Photon/Run2011A-05Aug2011-v1/AOD'
sampleNumEvents = 11949265 # according to DBS, 24 Nov 2011

# global tag needs to be chosen to match release, trigger menu and alignment conditions.
# see https://twiki.cern.ch/twiki/bin/view/CMS/SWGuideFrontierConditions
sampleGlobalTag = 'GR_R_42_V21A::All'
sampleHLTProcess = '*'

# data quality run/lumi section selection
sampleJSON = "https://cms-service-dqm.web.cern.ch/cms-service-dqm/CAF/certification/Collisions11/7TeV/Reprocessing/Cert_170249-172619_7TeV_ReReco5Aug_Collisions11_JSON_v3.txt"

# restrict run range (mainly to get a sample with consistent trigger configuration)
sampleRunRange = [160000,999999]

# use checkAllFilesOpened whenever possible, and noDuplicateCheck when necessary
sampleDuplicateCheckMode = "checkAllFilesOpened"

# "DATA" or "MC"
sampleType = "DATA"

sampleRelease = "CMSSW_4_2_8_patch3" # original (i.e. RECO file) release,
                                     # not the one we plan to process them with

sampleProcessRelease = "CMSSW_4_2_8_patch7" # release used to create new files with

sampleBaseDir = "dcap://dcap.pp.rl.ac.uk/pnfs/pp.rl.ac.uk/data/cms/store/user/"\
                +"harder/longlived/"+sampleProcessRelease+"/Data_Photon_Run2011A3fix"

sampleRecoFiles = []

samplePatFiles = [
  sampleBaseDir+"/pat/PATtuple_1_1_YMA.root",
  sampleBaseDir+"/pat/PATtuple_2_1_p1b.root",
  sampleBaseDir+"/pat/PATtuple_3_1_f0D.root",
  sampleBaseDir+"/pat/PATtuple_4_1_lnx.root",
  sampleBaseDir+"/pat/PATtuple_5_2_lKE.root",
  sampleBaseDir+"/pat/PATtuple_6_1_8HP.root",
  sampleBaseDir+"/pat/PATtuple_7_1_fT0.root",
  sampleBaseDir+"/pat/PATtuple_8_1_JtK.root",
  sampleBaseDir+"/pat/PATtuple_9_1_ZnN.root",
  sampleBaseDir+"/pat/PATtuple_10_1_R7s.root",
  sampleBaseDir+"/pat/PATtuple_11_1_JvT.root",
  sampleBaseDir+"/pat/PATtuple_12_1_o6U.root",
  sampleBaseDir+"/pat/PATtuple_13_1_v6i.root",
  sampleBaseDir+"/pat/PATtuple_14_1_tRh.root",
  sampleBaseDir+"/pat/PATtuple_15_1_LMV.root",
  sampleBaseDir+"/pat/PATtuple_16_1_rdr.root",
  sampleBaseDir+"/pat/PATtuple_17_1_CON.root",
  sampleBaseDir+"/pat/PATtuple_18_1_dm2.root",
  sampleBaseDir+"/pat/PATtuple_19_1_LGQ.root",
  sampleBaseDir+"/pat/PATtuple_20_1_EHA.root",
  sampleBaseDir+"/pat/PATtuple_21_1_PXc.root",
  sampleBaseDir+"/pat/PATtuple_22_1_I0z.root",
  sampleBaseDir+"/pat/PATtuple_23_1_Hkt.root",
  sampleBaseDir+"/pat/PATtuple_24_1_hXv.root",
  sampleBaseDir+"/pat/PATtuple_25_1_JQ7.root",
  sampleBaseDir+"/pat/PATtuple_26_1_eQt.root",
  sampleBaseDir+"/pat/PATtuple_27_1_K3C.root",
  sampleBaseDir+"/pat/PATtuple_28_1_Dcj.root",
  sampleBaseDir+"/pat/PATtuple_29_1_XUE.root",
  sampleBaseDir+"/pat/PATtuple_30_1_kQE.root",
  sampleBaseDir+"/pat/PATtuple_31_1_qff.root",
  sampleBaseDir+"/pat/PATtuple_32_1_XUF.root",
  sampleBaseDir+"/pat/PATtuple_33_1_I0O.root",
  sampleBaseDir+"/pat/PATtuple_34_1_A27.root",
  sampleBaseDir+"/pat/PATtuple_35_1_X5f.root",
  sampleBaseDir+"/pat/PATtuple_36_1_yR2.root",
  sampleBaseDir+"/pat/PATtuple_37_1_cXO.root",
  sampleBaseDir+"/pat/PATtuple_38_1_lWS.root",
  sampleBaseDir+"/pat/PATtuple_39_1_1l9.root",
  sampleBaseDir+"/pat/PATtuple_40_2_fWs.root",
  sampleBaseDir+"/pat/PATtuple_41_1_rRG.root",
  sampleBaseDir+"/pat/PATtuple_42_2_5Ah.root",
  sampleBaseDir+"/pat/PATtuple_43_1_8mC.root",
  sampleBaseDir+"/pat/PATtuple_44_1_pkE.root",
  sampleBaseDir+"/pat/PATtuple_45_1_5Ty.root",
  sampleBaseDir+"/pat/PATtuple_46_1_vBZ.root",
  sampleBaseDir+"/pat/PATtuple_47_1_73m.root",
  sampleBaseDir+"/pat/PATtuple_48_1_ABX.root",
  sampleBaseDir+"/pat/PATtuple_49_1_pD4.root",
  sampleBaseDir+"/pat/PATtuple_50_1_jRp.root",
  sampleBaseDir+"/pat/PATtuple_51_1_arl.root",
  sampleBaseDir+"/pat/PATtuple_52_1_l3y.root",
  sampleBaseDir+"/pat/PATtuple_53_1_dKf.root",
  sampleBaseDir+"/pat/PATtuple_54_3_PEf.root",
  sampleBaseDir+"/pat/PATtuple_55_1_Hx0.root",
  sampleBaseDir+"/pat/PATtuple_56_1_znc.root",
  sampleBaseDir+"/pat/PATtuple_57_1_9gL.root",
  sampleBaseDir+"/pat/PATtuple_58_1_Dl2.root",
  sampleBaseDir+"/pat/PATtuple_59_1_A9p.root",
  sampleBaseDir+"/pat/PATtuple_60_1_ECh.root",
  sampleBaseDir+"/pat/PATtuple_61_2_gP8.root",
  sampleBaseDir+"/pat/PATtuple_62_1_P6r.root",
  sampleBaseDir+"/pat/PATtuple_63_1_Oad.root",
  sampleBaseDir+"/pat/PATtuple_64_2_gzD.root",
  sampleBaseDir+"/pat/PATtuple_65_1_RGX.root",
  sampleBaseDir+"/pat/PATtuple_66_1_ZL0.root",
  sampleBaseDir+"/pat/PATtuple_67_2_Ale.root",
  sampleBaseDir+"/pat/PATtuple_68_2_UeT.root",
  sampleBaseDir+"/pat/PATtuple_69_1_BWH.root",
  sampleBaseDir+"/pat/PATtuple_70_1_uhH.root",
  sampleBaseDir+"/pat/PATtuple_71_1_h73.root",
  sampleBaseDir+"/pat/PATtuple_72_1_NCI.root",
  sampleBaseDir+"/pat/PATtuple_73_1_n6z.root",
  sampleBaseDir+"/pat/PATtuple_74_1_saV.root",
  sampleBaseDir+"/pat/PATtuple_75_1_93v.root",
  sampleBaseDir+"/pat/PATtuple_76_1_utt.root",
  sampleBaseDir+"/pat/PATtuple_77_1_vBY.root",
  sampleBaseDir+"/pat/PATtuple_78_1_a6b.root",
  sampleBaseDir+"/pat/PATtuple_79_1_8PW.root",
  sampleBaseDir+"/pat/PATtuple_80_1_YM3.root",
  sampleBaseDir+"/pat/PATtuple_81_1_nza.root",
  sampleBaseDir+"/pat/PATtuple_82_1_4RR.root",
  sampleBaseDir+"/pat/PATtuple_83_1_omq.root",
  sampleBaseDir+"/pat/PATtuple_84_1_ZSN.root",
  sampleBaseDir+"/pat/PATtuple_85_1_iEP.root",
  sampleBaseDir+"/pat/PATtuple_86_1_8x7.root",
  sampleBaseDir+"/pat/PATtuple_87_1_Kqr.root",
  sampleBaseDir+"/pat/PATtuple_88_1_D1A.root",
  sampleBaseDir+"/pat/PATtuple_89_1_5Ic.root",
  sampleBaseDir+"/pat/PATtuple_90_1_DWY.root",
  sampleBaseDir+"/pat/PATtuple_91_1_Rfj.root",
  sampleBaseDir+"/pat/PATtuple_92_1_YDb.root",
  sampleBaseDir+"/pat/PATtuple_93_1_Q8S.root",
  sampleBaseDir+"/pat/PATtuple_94_1_Qdz.root",
  sampleBaseDir+"/pat/PATtuple_95_1_RWW.root",
  sampleBaseDir+"/pat/PATtuple_96_1_YMv.root",
  sampleBaseDir+"/pat/PATtuple_97_1_qps.root",
  sampleBaseDir+"/pat/PATtuple_98_1_9kE.root",
  sampleBaseDir+"/pat/PATtuple_99_1_JIT.root",
  sampleBaseDir+"/pat/PATtuple_100_1_JS3.root",
  sampleBaseDir+"/pat/PATtuple_101_1_sBT.root",
  sampleBaseDir+"/pat/PATtuple_102_1_pnP.root",
  sampleBaseDir+"/pat/PATtuple_103_1_a4X.root",
  sampleBaseDir+"/pat/PATtuple_104_1_bmh.root",
  sampleBaseDir+"/pat/PATtuple_105_1_yVe.root",
  sampleBaseDir+"/pat/PATtuple_106_1_ype.root",
  sampleBaseDir+"/pat/PATtuple_107_1_RDs.root",
  sampleBaseDir+"/pat/PATtuple_108_1_oYM.root",
  sampleBaseDir+"/pat/PATtuple_109_1_8ZK.root",
  sampleBaseDir+"/pat/PATtuple_110_1_eNr.root",
  sampleBaseDir+"/pat/PATtuple_111_1_aKd.root",
  sampleBaseDir+"/pat/PATtuple_112_2_fvm.root",
  sampleBaseDir+"/pat/PATtuple_113_2_fXw.root",
  sampleBaseDir+"/pat/PATtuple_114_1_Kgw.root",
  sampleBaseDir+"/pat/PATtuple_115_2_G4q.root",
  sampleBaseDir+"/pat/PATtuple_116_2_Cvf.root",
  sampleBaseDir+"/pat/PATtuple_117_1_C27.root",
  sampleBaseDir+"/pat/PATtuple_118_2_GiS.root",
  sampleBaseDir+"/pat/PATtuple_119_1_MF4.root",
  sampleBaseDir+"/pat/PATtuple_120_1_ziL.root",
  sampleBaseDir+"/pat/PATtuple_121_2_0MV.root",
  sampleBaseDir+"/pat/PATtuple_122_1_gCs.root",
  sampleBaseDir+"/pat/PATtuple_123_1_xZc.root",
  sampleBaseDir+"/pat/PATtuple_124_2_t5D.root",
  sampleBaseDir+"/pat/PATtuple_125_2_Uf9.root",
  sampleBaseDir+"/pat/PATtuple_126_2_s3j.root",
  sampleBaseDir+"/pat/PATtuple_127_2_OoY.root",
  sampleBaseDir+"/pat/PATtuple_128_1_wVj.root",
  sampleBaseDir+"/pat/PATtuple_129_1_S5O.root",
  sampleBaseDir+"/pat/PATtuple_130_1_qIj.root",
  sampleBaseDir+"/pat/PATtuple_131_1_JJL.root",
  sampleBaseDir+"/pat/PATtuple_132_1_q6O.root",
  sampleBaseDir+"/pat/PATtuple_133_1_p90.root",
  sampleBaseDir+"/pat/PATtuple_134_1_Wxz.root",
  sampleBaseDir+"/pat/PATtuple_135_1_6Ni.root",
  sampleBaseDir+"/pat/PATtuple_136_1_7td.root",
  sampleBaseDir+"/pat/PATtuple_137_1_DoM.root",
  sampleBaseDir+"/pat/PATtuple_138_1_RMb.root",
  sampleBaseDir+"/pat/PATtuple_139_1_aqP.root",
  sampleBaseDir+"/pat/PATtuple_140_1_NlF.root",
  sampleBaseDir+"/pat/PATtuple_141_1_dKS.root",
  sampleBaseDir+"/pat/PATtuple_142_1_tGj.root",
  sampleBaseDir+"/pat/PATtuple_143_1_63l.root",
  sampleBaseDir+"/pat/PATtuple_144_1_pAt.root",
  sampleBaseDir+"/pat/PATtuple_145_1_9Ec.root",
  sampleBaseDir+"/pat/PATtuple_146_1_p8J.root",
  sampleBaseDir+"/pat/PATtuple_147_1_duY.root",
  sampleBaseDir+"/pat/PATtuple_148_1_XCU.root",
  sampleBaseDir+"/pat/PATtuple_149_1_CAu.root",
  sampleBaseDir+"/pat/PATtuple_150_1_lNl.root",
  sampleBaseDir+"/pat/PATtuple_151_1_9Ch.root",
  sampleBaseDir+"/pat/PATtuple_152_1_jRJ.root",
  sampleBaseDir+"/pat/PATtuple_153_1_VZz.root",
  sampleBaseDir+"/pat/PATtuple_154_1_ryf.root",
  sampleBaseDir+"/pat/PATtuple_155_2_rzs.root",
  sampleBaseDir+"/pat/PATtuple_156_1_ZOa.root",
  sampleBaseDir+"/pat/PATtuple_157_1_9Ga.root",
  sampleBaseDir+"/pat/PATtuple_158_1_Z5n.root",
  sampleBaseDir+"/pat/PATtuple_159_1_j70.root",
  sampleBaseDir+"/pat/PATtuple_160_1_A84.root",
  sampleBaseDir+"/pat/PATtuple_161_1_RtJ.root",
  sampleBaseDir+"/pat/PATtuple_162_1_d9N.root",
  sampleBaseDir+"/pat/PATtuple_163_1_Nb1.root",
  sampleBaseDir+"/pat/PATtuple_164_1_7uo.root",
  sampleBaseDir+"/pat/PATtuple_165_1_njp.root",
  sampleBaseDir+"/pat/PATtuple_166_1_j09.root",
  sampleBaseDir+"/pat/PATtuple_167_1_crK.root",
  sampleBaseDir+"/pat/PATtuple_168_2_LSa.root",
  sampleBaseDir+"/pat/PATtuple_169_1_md5.root",
  sampleBaseDir+"/pat/PATtuple_170_1_BwA.root",
  sampleBaseDir+"/pat/PATtuple_171_2_lcT.root",
  sampleBaseDir+"/pat/PATtuple_172_2_Ezb.root",
  sampleBaseDir+"/pat/PATtuple_173_1_ZCA.root",
  sampleBaseDir+"/pat/PATtuple_174_3_LjR.root",
  sampleBaseDir+"/pat/PATtuple_175_1_seO.root",
  sampleBaseDir+"/pat/PATtuple_176_2_BvK.root",
  sampleBaseDir+"/pat/PATtuple_177_2_GWA.root",
  sampleBaseDir+"/pat/PATtuple_178_3_Nsm.root",
  sampleBaseDir+"/pat/PATtuple_179_1_Ppl.root",
  sampleBaseDir+"/pat/PATtuple_180_1_hsX.root",
  sampleBaseDir+"/pat/PATtuple_181_1_79L.root",
  sampleBaseDir+"/pat/PATtuple_182_1_KL9.root",
  sampleBaseDir+"/pat/PATtuple_183_1_jAT.root",
  sampleBaseDir+"/pat/PATtuple_184_1_a6K.root",
  sampleBaseDir+"/pat/PATtuple_185_1_ixv.root",
  sampleBaseDir+"/pat/PATtuple_186_1_Qcz.root",
  sampleBaseDir+"/pat/PATtuple_187_1_OC2.root",
  sampleBaseDir+"/pat/PATtuple_188_1_5hp.root",
  sampleBaseDir+"/pat/PATtuple_189_3_X9g.root"
    ]
