#!/bin/csh -f
#  get subdetetors (denoted by YBAir)
#
if( $#argv != 1 ) then
   echo "Usage: getsubd configout"
   echo "configout is output from Util/testCnf1"
   exit
endif
gawk '/YBAir/ ' $1 | gawk '$9 == "/" {$9=$10; $10=$11; $11=$12; $12=$13; $13=$14};{print}' 

