Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cta
MonteCarlo
ProdX-Download
Commits
ef3484eb
Commit
ef3484eb
authored
Jul 06, 2021
by
Gernot Maier
Browse files
celanup
parent
aa51d969
Changes
4
Show whitespace changes
Inline
Side-by-side
Prod5b_Paranal_AdvancedBaseline_NSB1x_20deg_DL1.list
deleted
100644 → 0
View file @
aa51d969
Prod5_Paranal_AdvancedBaseline_NSB1x_electron_North_20deg_DL1
Prod5_Paranal_AdvancedBaseline_NSB1x_electron_South_20deg_DL1
Prod5_Paranal_AdvancedBaseline_NSB1x_gamma-diffuse_North_20deg_DL1
Prod5_Paranal_AdvancedBaseline_NSB1x_gamma-diffuse_South_20deg_DL1
Prod5_Paranal_AdvancedBaseline_NSB1x_gamma_North_20deg_DL1
Prod5_Paranal_AdvancedBaseline_NSB1x_gamma_South_20deg_DL1
Prod5_Paranal_AdvancedBaseline_NSB1x_proton_North_20deg_DL1
Prod5_Paranal_AdvancedBaseline_NSB1x_proton_South_20deg_DL1
Prod5b_Paranal_AdvancedBaseline_NSB5x_20deg_DL1.list
deleted
100644 → 0
View file @
aa51d969
Prod5_Paranal_AdvancedBaseline_NSB5x_electron_North_20deg_DL1
Prod5_Paranal_AdvancedBaseline_NSB5x_electron_South_20deg_DL1
Prod5_Paranal_AdvancedBaseline_NSB5x_gamma-diffuse_North_20deg_DL1
Prod5_Paranal_AdvancedBaseline_NSB5x_gamma-diffuse_South_20deg_DL1
Prod5_Paranal_AdvancedBaseline_NSB5x_gamma_North_20deg_DL1
Prod5_Paranal_AdvancedBaseline_NSB5x_gamma_South_20deg_DL1
Prod5_Paranal_AdvancedBaseline_NSB5x_proton_North_20deg_DL1
Prod5_Paranal_AdvancedBaseline_NSB5x_proton_South_20deg_DL1
download_parallel.sh
View file @
ef3484eb
...
...
@@ -11,9 +11,9 @@ DD="Prod4b_Paranal"
DD
=
"Prod3b_Paranal"
## Prod5b DL1 production
DD
=
"Prod5b_LaPalma_AdvancedBaseline_NSB1x"
DD
=
"Prod5b_Paranal_AdvancedBaseline_NSB
1
x"
DD
=
"Prod5b_Paranal_AdvancedBaseline_NSB
5
x"
ZE
=
"
6
0deg"
ZE
=
"
2
0deg"
DL
=
"DL1"
DL
=
"DL0"
SCT
=
"FALSE"
...
...
@@ -26,8 +26,8 @@ fi
TMPDIR
=
"tmp_log4"
mkdir
-p
${
TMPDIR
}
#
for P in gamma_cone proton gamma_onSource electron
for
P
in
proton
for
P
in
gamma_cone proton gamma_onSource electron
#
for P in proton
do
if
[[
${
P
}
==
"gamma_cone"
]]
;
then
PP
=
"gamma-diffuse"
...
...
@@ -37,8 +37,7 @@ do
PP
=
${
P
}
fi
#for A in North South
for
A
in
North
for
A
in
North South
do
rm
-f
${
TMPDIR
}
/
${
P
}
_
${
A
}
.log
# Prod4b SST production
...
...
@@ -64,10 +63,12 @@ do
else
FLIST
=
"
${
DD
}
_
${
ZE
}
_DL0/
${
DD
}
_
${
PP
}
_
${
A
}
_
${
ZE
}
_
${
DL
}
.GRID.list"
#FLIST="${DD}_${ZE}/${DD}_${PP}_${A}_${ZE}_${DL}.GRID.list"
# prod
3
b needs some special treatment
# prod
5
b needs some special treatment
if
[[
!
-e
${
FLIST
}
]]
;
then
echo
"File list not found; trying prod3b naming (
$FLIST
); trying prod3b lists:"
FLIST
=
"
${
DD
}
_
${
ZE
}
_
${
DL
}
/Paranal_
${
PP
}
_
${
A
}
_
${
ZE
}
_
${
DL
}
.GRID.list"
echo
"File list not found; trying prod5b naming (
$FLIST
); trying prod5b lists:"
echo
$FLIST
FLIST
=
${
FLIST
/\/Prod5b_/\/Prod5_
}
echo
$FLIST
if
[[
!
-e
${
FLIST
}
]]
;
then
echo
"
$FLIST
not found"
exit
...
...
download_parallel_2.sh
deleted
100755 → 0
View file @
aa51d969
#!/bin/bash
#
# simple script which allows to download
# all particle types simulatenously
#
# Prod5 NSB 1x
DD
=
"Prod5_Paranal_AdvancedBaseline_NSB1x"
# Prod4b SST production
DD
=
"Prod4b_Paranal"
# Prod4b SST production
DD
=
"Prod3b_Paranal"
#DD="Prod5b_Paranal_AdvancedBaseline_NSB1x"
# Prod3B SCT DL1
#DD="Prod5b_Paranal_AdvancedBaseline_NSB1x"
#DD="Prod5_Paranal_AdvancedBaseline_NSB5x"
DD
=
"Prod5b_Paranal_AdvancedBaseline_NSB5x_20deg"
ZE
=
"20deg"
DL
=
"DL1"
SCT
=
"FALSE"
if
[[
$DD
==
*
"Prod3b_Paranal"
*
]]
;
then
DL
=
"HB9"
DL
=
"HB9_SCT_DL1"
SCT
=
"TRUE"
fi
TMPDIR
=
"tmp_log"
mkdir
-p
${
TMPDIR
}
for
P
in
proton gamma_cone gamma_onSource electron
#for P in gamma_cone
do
if
[[
${
P
}
==
"gamma_cone"
]]
;
then
PP
=
"gamma-diffuse"
elif
[[
${
P
}
==
"gamma_onSource"
]]
;
then
PP
=
"gamma"
else
PP
=
${
P
}
fi
for
A
in
North South
do
rm
-f
${
TMPDIR
}
/
${
P
}
_
${
A
}
.log
# Prod4b SST production
if
[[
$DD
=
*
"Prod4"
*
]]
;
then
if
[[
$A
==
"South"
]]
;
then
continue
fi
for
S
in
"sst-astri"
"sst-astri+chec-s"
do
FFLIST
=
"
${
DD
}
_
${
ZE
}
/
${
DD
}
_
${
PP
}
_
${
A
}
_
${
ZE
}
_SSTOnly_
${
S
}
_
${
DL
}
.GRID.list"
./getRawFilesFromGRID-DIRAC.sh
${
FFLIST
}
${
DD
}
/
${
P
}
/ 100 &>
${
TMPDIR
}
/
${
P
}
_
${
A
}
_
${
S
}
.log &
done
# Prod3b SCT DL1
elif
[[
$DD
=
*
"Prod3b"
*
]]
&&
[[
$DD
=
*
"SCT_DL1"
*
]]
;
then
FLIST
=
"
${
DD
}
/Prod3_Paranal_
${
PP
}
_
${
A
}
_
${
ZE
}
_
${
DL
}
.GRID.list"
if
[[
!
-e
${
FLIST
}
]]
;
then
echo
"
$FLIST
not found"
exit
fi
echo
"...found
${
FLIST
}
"
./getRawFilesFromGRID-DIRAC.sh
${
FLIST
}
${
DD
}
/
${
P
}
/ 100 &>
${
TMPDIR
}
/
${
P
}
_
${
A
}
_
${
S
}
.log &
# all other productions
else
FLIST
=
"
${
DD
}
_
${
DL
}
/
${
DD
}
_
${
PP
}
_
${
A
}
_
${
ZE
}
_
${
DL
}
.GRID.list"
FLIST
=
"
${
DD
}
_
${
ZE
}
_
${
DL
}
/
${
DD
}
_
${
PP
}
_
${
A
}
_
${
ZE
}
_
${
DL
}
.GRID.list"
if
[[
!
-e
${
FLIST
}
]]
;
then
echo
"
$FLIST
not found"
exit
fi
echo
"Reading file list
$FLIST
"
echo
"output to
${
DD
}
_
${
ZE
}
_
${
DL
}
/
${
P
}
/"
./getRawFilesFromGRID-DIRAC.sh
$FLIST
${
DD
}
_
${
ZE
}
_
${
DL
}
/
${
P
}
/ 100
${
SCT
}
&>
${
TMPDIR
}
/
${
P
}
_
${
A
}
.log &
fi
sleep
10
done
done
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment