1 from __future__
import print_function
2 from PhysicsTools.Heppy.utils.cmsswRelease
import cmsswRelease, releaseNumber
7 big, medium = relnum[:2]
8 if (big, medium)==(7,2):
10 '/store/relval/CMSSW_7_2_2_patch1/RelValZMM_13/MINIAODSIM/PU25ns_MCRUN2_72_V1-v1/00000/5C64D172-8D73-E411-9C77-0025905A60AA.root',
11 '/store/relval/CMSSW_7_2_2_patch1/RelValZMM_13/MINIAODSIM/PU25ns_MCRUN2_72_V1-v1/00000/6CA2B9CC-8973-E411-8920-002618943904.root' 13 elif (big,medium)==(7,1):
15 '/store/relval/CMSSW_7_1_10_patch2/RelValZMM_13/MINIAODSIM/PU25ns_MCRUN2_71_V1-v1/00000/3E4EC015-AF53-E411-8889-0025905A6076.root',
16 '/store/relval/CMSSW_7_1_10_patch2/RelValZMM_13/MINIAODSIM/PU25ns_MCRUN2_71_V1-v1/00000/C483E714-AF53-E411-9B9A-0025905B855E.root' 18 elif (big,medium)==(7,0):
20 '/store/relval/CMSSW_7_0_9_patch3/RelValZMM_13/MINIAODSIM/PU25ns_PLS170_V7AN2-v1/00000/E0D7EDE4-0660-E411-B655-02163E00EF88.root',
21 '/store/relval/CMSSW_7_0_9_patch3/RelValZMM_13/MINIAODSIM/PU25ns_PLS170_V7AN2-v1/00000/F0F88B6E-905F-E411-8080-0025904B0FBE.root' 23 elif (big,medium)==(7,3):
25 '/store/relval/CMSSW_7_3_0_pre1/RelValZMM_13/MINIAODSIM/PU25ns_PRE_LS172_V15-v1/00000/582D0582-355F-E411-9F30-02163E006D72.root' 27 elif (big,medium)==(7,4):
29 '/store/relval/CMSSW_7_4_0_pre2/RelValZMM_13/MINIAODSIM/PU25ns_MCRUN2_73_V7-v1/00000/1ACF00C3-E09A-E411-BB34-0025905AA9F0.root',
30 '/store/relval/CMSSW_7_4_0_pre2/RelValZMM_13/MINIAODSIM/PU25ns_MCRUN2_73_V7-v1/00000/4E1864C4-E09A-E411-98F8-0025905B861C.root' 32 elif (big,medium)==(7,5):
34 '/store/relval/CMSSW_7_5_1/RelValZMM_13/MINIAODSIM/PU50ns_75X_mcRun2_startup_v3_gs7118-v1/00000/44F0B567-C33F-E511-93A2-0025905B8562.root',
35 '/store/relval/CMSSW_7_5_1/RelValZMM_13/MINIAODSIM/PU50ns_75X_mcRun2_startup_v3_gs7118-v1/00000/AC4D6070-C33F-E511-97C2-0025905A6094.root' 37 elif (big,medium)==(7,6):
39 '/store/relval/CMSSW_7_6_0/RelValZMM_13/MINIAODSIM/76X_mcRun2_asymptotic_v11-v1/00000/82DD73F0-B17F-E511-9397-00261894397A.root',
40 '/store/relval/CMSSW_7_6_0/RelValZMM_13/MINIAODSIM/76X_mcRun2_asymptotic_v11-v1/00000/AE6938F6-B17F-E511-937B-0025905938A4.root' 42 elif (big,medium)==(8,0):
44 '/store/relval/CMSSW_8_0_3/RelValZMM_13/MINIAODSIM/80X_mcRun2_asymptotic_2016_v3_gs7120p2NewGTv3-v1/00000/16B9D3D7-C6EF-E511-8EA2-0025905A60FE.root',
45 '/store/relval/CMSSW_8_0_3/RelValZMM_13/MINIAODSIM/80X_mcRun2_asymptotic_2016_v3_gs7120p2NewGTv3-v1/00000/3E6582DC-C6EF-E511-A781-0CC47A4D7664.root' 48 raise ValueError(
'no mini AOD file defined for release '+
cmsswRelease())
49 eosfiles = [
''.
join([
'root://eoscms//eos/cms', lfn])
for lfn
in files]
53 if __name__ ==
'__main__':
S & print(S &os, JobReport::InputFile const &f)
static std::string join(char **cmd)
def releaseNumber(release=None)