ATLAS Offline Software
TileCalorimeter
TileCalib
TileCalibAlgs
share
pyCIStiming
get_run.py
Go to the documentation of this file.
1
#!/bin/env python
2
# Author: Michael Miller (miller@uchicago.edu)
3
import
os, sys
4
5
6
def
main
():
7
8
if
len(sys.argv)!=3:
9
print
'Please pass a destination directory and a run number.'
10
return
True
11
12
outdir =
str
(sys.argv[1])
13
runnumber =
int
(sys.argv[2])
14
15
parts = [
'LBA'
,
'LBC'
,
'EBA'
,
'EBC'
]
16
17
indir=
'/castor/cern.ch/grid/atlas/atlasgroupdisk/det-tile/2009/'
18
19
for
partition
in
parts:
20
for
module
in
range
(1,65):
21
getname = os.popen(
'nsls %s%s%02d'
% (indir, partition, module))
22
for
line
in
getname.readlines():
23
if
str
(runnumber)
in
line:
24
file = line.strip()
25
if
file:
26
os.system(
'rfcp %s%s%02d/%s %s &'
% (indir, partition, module, file, outdir))
27
28
29
30
if
__name__ ==
'__main__'
:
31
main
()
CaloCellPos2Ntuple.int
int
Definition:
CaloCellPos2Ntuple.py:24
get_run.main
def main()
Definition:
get_run.py:6
plotBeamSpotVxVal.range
range
Definition:
plotBeamSpotVxVal.py:195
str
Definition:
BTagTrackIpAccessor.cxx:11
Generated on Fri Oct 4 2024 21:16:11 for ATLAS Offline Software by
1.8.18