Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions comparisons/validateJR.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ done
grep root ${inList} | grep -v "#" | while read -r dsN fNP procN comm; do
#fNP can be a pattern: path-expand it first
fN=`echo ${baseA}/${fNP} | cut -d" " -f1 | sed -e "s?^${baseA}/??g"`
[ ! -f "${baseA}/${fN}" ] && echo Missing ${baseA}/${fN}
#process regular files first
if [ -f "${baseA}/${fN}" ]; then
#[ ! -f "${baseA}/${fN}" ] && echo Missing ${baseA}/${fN}
#process regular files first; need files both in baseA and baseB
if [ -f "${baseA}/${fN}" -a -f "${baseB}/${fN}" ]; then
extN=all_${diffN}_${dsN}
mkdir -p ${extN}
pushd ${extN}
Expand All @@ -44,7 +44,8 @@ grep root ${inList} | grep -v "#" | while read -r dsN fNP procN comm; do
if [ ! -f "${baseA}/${mFN}" ]; then
mFN="${fNBase}_inMINIAODSIM.root"
fi
if [ -f "${baseA}/${mFN}" ]; then
#need files both in baseA and baseB
if [ -f "${baseA}/${mFN}" -a -f "${baseB}/${mFN}" ]; then
echo $mFN
extmN=all_mini_${diffN}_${dsN}
mkdir -p ${extmN}
Expand Down