Main Page
Namespaces
Classes
Package Documentation
PhysicsTools
Heppy
python
utils
miniAodFiles.py
Go to the documentation of this file.
1
from
PhysicsTools.Heppy.utils.cmsswRelease
import
cmsswRelease, releaseNumber
2
3
def
miniAodFiles
():
4
relnum =
releaseNumber
(
cmsswRelease
())
5
files = []
6
big, medium = relnum[:2]
# e.g. 7, 3 for CMSSW_7_3_X
7
if
(big, medium)==(7,2):
8
files = [
9
'/store/relval/CMSSW_7_2_2_patch1/RelValZMM_13/MINIAODSIM/PU25ns_MCRUN2_72_V1-v1/00000/5C64D172-8D73-E411-9C77-0025905A60AA.root'
,
10
'/store/relval/CMSSW_7_2_2_patch1/RelValZMM_13/MINIAODSIM/PU25ns_MCRUN2_72_V1-v1/00000/6CA2B9CC-8973-E411-8920-002618943904.root'
11
]
12
elif
(big,medium)==(7,1):
13
files = [
14
'/store/relval/CMSSW_7_1_10_patch2/RelValZMM_13/MINIAODSIM/PU25ns_MCRUN2_71_V1-v1/00000/3E4EC015-AF53-E411-8889-0025905A6076.root'
,
15
'/store/relval/CMSSW_7_1_10_patch2/RelValZMM_13/MINIAODSIM/PU25ns_MCRUN2_71_V1-v1/00000/C483E714-AF53-E411-9B9A-0025905B855E.root'
16
]
17
elif
(big,medium)==(7,0):
18
files = [
19
'/store/relval/CMSSW_7_0_9_patch3/RelValZMM_13/MINIAODSIM/PU25ns_PLS170_V7AN2-v1/00000/E0D7EDE4-0660-E411-B655-02163E00EF88.root'
,
20
'/store/relval/CMSSW_7_0_9_patch3/RelValZMM_13/MINIAODSIM/PU25ns_PLS170_V7AN2-v1/00000/F0F88B6E-905F-E411-8080-0025904B0FBE.root'
21
]
22
elif
(big,medium)==(7,3):
23
files = [
24
'/store/relval/CMSSW_7_3_0_pre1/RelValZMM_13/MINIAODSIM/PU25ns_PRE_LS172_V15-v1/00000/582D0582-355F-E411-9F30-02163E006D72.root'
25
]
26
elif
(big,medium)==(7,4):
27
files = [
28
'/store/relval/CMSSW_7_4_0_pre2/RelValZMM_13/MINIAODSIM/PU25ns_MCRUN2_73_V7-v1/00000/1ACF00C3-E09A-E411-BB34-0025905AA9F0.root'
,
29
'/store/relval/CMSSW_7_4_0_pre2/RelValZMM_13/MINIAODSIM/PU25ns_MCRUN2_73_V7-v1/00000/4E1864C4-E09A-E411-98F8-0025905B861C.root'
30
]
31
elif
(big,medium)==(7,5):
32
files = [
33
'/store/relval/CMSSW_7_5_1/RelValZMM_13/MINIAODSIM/PU50ns_75X_mcRun2_startup_v3_gs7118-v1/00000/44F0B567-C33F-E511-93A2-0025905B8562.root'
,
34
'/store/relval/CMSSW_7_5_1/RelValZMM_13/MINIAODSIM/PU50ns_75X_mcRun2_startup_v3_gs7118-v1/00000/AC4D6070-C33F-E511-97C2-0025905A6094.root'
35
]
36
elif
(big,medium)==(7,6):
37
files = [
38
'/store/relval/CMSSW_7_6_0/RelValZMM_13/MINIAODSIM/76X_mcRun2_asymptotic_v11-v1/00000/82DD73F0-B17F-E511-9397-00261894397A.root'
,
39
'/store/relval/CMSSW_7_6_0/RelValZMM_13/MINIAODSIM/76X_mcRun2_asymptotic_v11-v1/00000/AE6938F6-B17F-E511-937B-0025905938A4.root'
40
]
41
elif
(big,medium)==(8,0):
42
files=[
43
'/store/relval/CMSSW_8_0_3/RelValZMM_13/MINIAODSIM/80X_mcRun2_asymptotic_2016_v3_gs7120p2NewGTv3-v1/00000/16B9D3D7-C6EF-E511-8EA2-0025905A60FE.root'
,
44
'/store/relval/CMSSW_8_0_3/RelValZMM_13/MINIAODSIM/80X_mcRun2_asymptotic_2016_v3_gs7120p2NewGTv3-v1/00000/3E6582DC-C6EF-E511-A781-0CC47A4D7664.root'
45
]
46
else
:
47
raise
ValueError(
'no mini AOD file defined for release '
+
cmsswRelease
())
48
eosfiles = [
''
.
join
([
'root://eoscms//eos/cms'
, lfn])
for
lfn
in
files]
49
return
eosfiles
50
51
52
if
__name__ ==
'__main__'
:
53
print
miniAodFiles
()
miniAodFiles.miniAodFiles
def miniAodFiles()
Definition:
miniAodFiles.py:3
miniAodFiles
Definition:
miniAodFiles.py:1
cmsswRelease
Definition:
cmsswRelease.py:1
join
static std::string join(char **cmd)
Definition:
RemoteFile.cc:18
cmsswRelease.releaseNumber
def releaseNumber(release=None)
Definition:
cmsswRelease.py:19
Generated for CMSSW Reference Manual by
1.8.11