Skip to content
GitLab
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
94756bee
Commit
94756bee
authored
Nov 25, 2020
by
Gernot Maier
Browse files
prod5b La Palma
parent
a0ab6947
Changes
3
Hide whitespace changes
Inline
Side-by-side
Prod5b_LaPalma_AdvancedBaseline_NSB1x.list
0 → 100644
View file @
94756bee
Prod5b_LaPalma_AdvancedBaseline_NSB1x_gamma-diffuse_North_20deg_DL1
Prod5b_LaPalma_AdvancedBaseline_NSB1x_gamma-diffuse_South_20deg_DL1
Prod5b_LaPalma_AdvancedBaseline_NSB1x_proton_North_20deg_DL1
Prod5b_LaPalma_AdvancedBaseline_NSB1x_proton_South_20deg_DL1
Prod5b_LaPalma_AdvancedBaseline_NSB1x_gamma_North_20deg_DL1
Prod5b_LaPalma_AdvancedBaseline_NSB1x_gamma_South_20deg_DL1
Prod5b_LaPalma_AdvancedBaseline_NSB1x_electron_North_20deg_DL1
Prod5b_LaPalma_AdvancedBaseline_NSB1x_electron_South_20deg_DL1
copy_DLXfiles_from_dCache.sh
0 → 100755
View file @
94756bee
#!/bin/bash
#
# copy DL1 files from tar in dCache (!!) files to target directory
#
# ./copy_DL1files.sh
#
if
[
$#
-eq
0
]
;
then
echo
"./copy_DL1files.sh <production>"
fi
FLIST
=
$(
cat
${
1
}
.list
)
for
P
in
$FLIST
do
if
[[
${
P
}
==
*
"gamma-diffuse"
*
]]
;
then
PP
=
"gamma_cone"
elif
[[
${
P
}
==
*
"gamma"
*
]]
;
then
PP
=
"gamma_onSource"
elif
[[
${
P
}
==
*
"proton"
*
]]
;
then
PP
=
"proton"
elif
[[
${
P
}
==
*
"electron"
*
]]
;
then
PP
=
"electron"
else
echo
"unknown particle in
$P
"
continue
fi
# directory per particle type
mkdir
-p
${
1
}
/
${
PP
}
FF
=
$(
cat
${
1
}
/
${
P
}
.dCache.list
)
for
F
in
$FF
do
FP
=
$(
basename
$F
)
if
[[
!
-e
${
1
}
/
${
PP
}
/
${
FP
}
]]
;
then
cp
-v
/pnfs/ifh.de/
${
F
}
${
1
}
/
${
PP
}
/
fi
done
done
getRawFilesFromGRID-DIRAC.sh
View file @
94756bee
...
...
@@ -17,7 +17,7 @@ download using DIRAC tools
exit
fi
echo
"RUNL
S
IT
${
1
}
"
echo
"RUNLI
S
T
${
1
}
"
echo
"Target directory:
${
2
}
"
echo
"Max file:
${
3
}
"
[[
"
$4
"
]]
&&
SCT
=
$4
||
SCT
=
"FALSE"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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