# avC278 V100mV #1p1:avC244
# avC334 V900mV #1p1:avC305
# avC88  V800mV #1p1:avC120
# avC58  V600mV #1p1:V600mV
# avC397 V300mV #1p1:avC378
# V700mV V700mV #1p1:avC197
# V500mV V500mV	#1p1:avC245

#*******************************************************
#BP_sw1
#*******************************************************
# grep BP_sw1 extview.tmp |grep V*mV |awk '{print $2 " " $3 "  " $4 '}

cd /user/ra115c/runs_output/ra115c_LVS/maurens/topblocks/default/LVS_final_1p1_all_Feb_21_2008/topblocks
\rm /user/ra115c/Atlas_VLT/Assura_RCX/1p1_data_BP/RCX_topblocks_1p1_BP_sw1.txt
grep BP_sw1 extview.tmp |grep V*mV |awk '{print "capacitor between " $3 " and "$2 " is equal to " $4 " F" '}|sed -e 's/E-/e-/' >> /user/ra115c/Atlas_VLT/Assura_RCX/1p1_data_BP/RCX_topblocks_1p1_BP_sw1.txt
grep BP_sw1 extview.tmp |grep avC244  |awk '{print "capacitor between " $3 " and "$2 " is equal to " $4 " F" '} | sed -e 's/avC244/V100mV/'|sed -e 's/E-/e-/'>> /user/ra115c/Atlas_VLT/Assura_RCX/1p1_data_BP/RCX_topblocks_1p1_BP_sw1.txt
grep BP_sw1 extview.tmp |grep avC305  |awk '{print "capacitor between " $3 " and "$2 " is equal to " $4 " F" '} | sed -e 's/avC305/V900mV/'|sed -e 's/E-/e-/'>> /user/ra115c/Atlas_VLT/Assura_RCX/1p1_data_BP/RCX_topblocks_1p1_BP_sw1.txt
grep BP_sw1 extview.tmp |grep "avC120	" |awk '{print "capacitor between " $3 " and "$2 " is equal to " $4 " F" '} | sed -e 's/avC120/V800mV/'|sed -e 's/E-/e-/'>> /user/ra115c/Atlas_VLT/Assura_RCX/1p1_data_BP/RCX_topblocks_1p1_BP_sw1.txt
grep BP_sw1 extview.tmp |grep "avC197	"   |awk '{print "capacitor between " $3 " and "$2 " is equal to " $4 " F" '} | sed -e 's/avC58/V700mV/'|sed -e 's/E-/e-/'>> /user/ra115c/Atlas_VLT/Assura_RCX/1p1_data_BP/RCX_topblocks_1p1_BP_sw1.txt
grep BP_sw1 extview.tmp |grep avC378  |awk '{print "capacitor between " $3 " and "$2 " is equal to " $4 " F" '} | sed -e 's/avC197/V300mV/'|sed -e 's/E-/e-/'>> /user/ra115c/Atlas_VLT/Assura_RCX/1p1_data_BP/RCX_topblocks_1p1_BP_sw1.txt
grep BP_sw1 extview.tmp |grep avC245  |awk '{print "capacitor between " $3 " and "$2 " is equal to " $4 " F" '} | sed -e 's/avC245/V500mV/'|sed -e 's/E-/e-/'>> /user/ra115c/Atlas_VLT/Assura_RCX/1p1_data_BP/RCX_topblocks_1p1_BP_sw1.txt
cat /user/ra115c/Atlas_VLT/Assura_RCX/1p1_data_BP/RCX_topblocks_1p1_BP_sw1.txt | sort -grk 9
cat /user/ra115c/Atlas_VLT/Assura_RCX/1p1_data_BP/RCX_topblocks_1p1_BP_sw1.txt | sort -grk 9 >/user/ra115c/Atlas_VLT/Assura_RCX/1p1_data_BP/RCX_topblocks_1p1_BP_sw1.txt
#nedit /user/ra115c/Atlas_VLT/Assura_RCX/1p1_data_BP/RCX_topblocks_1p1_BP_sw1.txt&



#*******************************************************
#BP_sw2
#*******************************************************
# grep BP_sw2 extview.tmp |grep V*mV |awk '{print $2 " " $3 "  " $4 '}


cd /user/ra115c/runs_output/ra115c_LVS/maurens/topblocks/default/LVS_final_1p1_all_Feb_21_2008/topblocks
\rm /user/ra115c/Atlas_VLT/Assura_RCX/1p1_data_BP/RCX_topblocks_1p1_BP_sw2.txt
grep BP_sw2 extview.tmp |grep V*mV |awk '{print "capacitor between " $3 " and "$2 " is equal to " $4 " F" '}|sed -e 's/E-/e-/' >> /user/ra115c/Atlas_VLT/Assura_RCX/1p1_data_BP/RCX_topblocks_1p1_BP_sw2.txt
grep BP_sw2 extview.tmp |grep avC244  |awk '{print "capacitor between " $3 " and "$2 " is equal to " $4 " F" '} | sed -e 's/avC244/V100mV/'|sed -e 's/E-/e-/'>> /user/ra115c/Atlas_VLT/Assura_RCX/1p1_data_BP/RCX_topblocks_1p1_BP_sw2.txt
grep BP_sw2 extview.tmp |grep avC305  |awk '{print "capacitor between " $3 " and "$2 " is equal to " $4 " F" '} | sed -e 's/avC305/V900mV/'|sed -e 's/E-/e-/'>> /user/ra115c/Atlas_VLT/Assura_RCX/1p1_data_BP/RCX_topblocks_1p1_BP_sw2.txt
grep BP_sw2 extview.tmp |grep "avC120	" |awk '{print "capacitor between " $3 " and "$2 " is equal to " $4 " F" '} | sed -e 's/avC120/V800mV/'|sed -e 's/E-/e-/'>> /user/ra115c/Atlas_VLT/Assura_RCX/1p1_data_BP/RCX_topblocks_1p1_BP_sw2.txt
grep BP_sw2 extview.tmp |grep "avC197	"   |awk '{print "capacitor between " $3 " and "$2 " is equal to " $4 " F" '} | sed -e 's/avC197/V700mV/'|sed -e 's/E-/e-/'>> /user/ra115c/Atlas_VLT/Assura_RCX/1p1_data_BP/RCX_topblocks_1p1_BP_sw2.txt
grep BP_sw2 extview.tmp |grep avC378  |awk '{print "capacitor between " $3 " and "$2 " is equal to " $4 " F" '} | sed -e 's/avC378/V300mV/'|sed -e 's/E-/e-/'>> /user/ra115c/Atlas_VLT/Assura_RCX/1p1_data_BP/RCX_topblocks_1p1_BP_sw2.txt
grep BP_sw2 extview.tmp |grep avC245  |awk '{print "capacitor between " $3 " and "$2 " is equal to " $4 " F" '} | sed -e 's/avC245/V500mV/'|sed -e 's/E-/e-/'>> /user/ra115c/Atlas_VLT/Assura_RCX/1p1_data_BP/RCX_topblocks_1p1_BP_sw2.txt
cat /user/ra115c/Atlas_VLT/Assura_RCX/1p1_data_BP/RCX_topblocks_1p1_BP_sw2.txt | sort -grk 9
cat /user/ra115c/Atlas_VLT/Assura_RCX/1p1_data_BP/RCX_topblocks_1p1_BP_sw2.txt | sort -grk 9 >/user/ra115c/Atlas_VLT/Assura_RCX/1p1_data_BP/RCX_topblocks_1p1_BP_sw2.txt
#nedit /user/ra115c/Atlas_VLT/Assura_RCX/1p1_data_BP/RCX_topblocks_1p1_BP_sw2.txt&

#*******************************************************
#BP_monitor
#*******************************************************
# grep BP_monitor extview.tmp |grep V*mV |awk '{print $2 " " $3 "  " $4 '}


cd /user/ra115c/runs_output/ra115c_LVS/maurens/topblocks/default/LVS_final_1p1_all_Feb_21_2008/topblocks
\rm /user/ra115c/Atlas_VLT/Assura_RCX/1p1_data_BP/RCX_topblocks_1p1_BP_monitor.txt
grep BP_monitor extview.tmp |grep V*mV |awk '{print "capacitor between " $3 " and "$2 " is equal to " $4 " F" '}|sed -e 's/E-/e-/' >> /user/ra115c/Atlas_VLT/Assura_RCX/1p1_data_BP/RCX_topblocks_1p1_BP_monitor.txt
grep BP_monitor extview.tmp |grep avC244  |awk '{print "capacitor between " $3 " and "$2 " is equal to " $4 " F" '} | sed -e 's/avC244/V100mV/'|sed -e 's/E-/e-/'>> /user/ra115c/Atlas_VLT/Assura_RCX/1p1_data_BP/RCX_topblocks_1p1_BP_monitor.txt
grep BP_monitor extview.tmp |grep avC305  |awk '{print "capacitor between " $3 " and "$2 " is equal to " $4 " F" '} | sed -e 's/avC305/V900mV/'|sed -e 's/E-/e-/'>> /user/ra115c/Atlas_VLT/Assura_RCX/1p1_data_BP/RCX_topblocks_1p1_BP_monitor.txt
grep BP_monitor extview.tmp |grep "avC120	" |awk '{print "capacitor between " $3 " and "$2 " is equal to " $4 " F" '} | sed -e 's/avC120/V800mV/'|sed -e 's/E-/e-/'>> /user/ra115c/Atlas_VLT/Assura_RCX/1p1_data_BP/RCX_topblocks_1p1_BP_monitor.txt
grep BP_monitor extview.tmp |grep "avC197	"   |awk '{print "capacitor between " $3 " and "$2 " is equal to " $4 " F" '} | sed -e 's/avC197/V700mV/'|sed -e 's/E-/e-/'>> /user/ra115c/Atlas_VLT/Assura_RCX/1p1_data_BP/RCX_topblocks_1p1_BP_monitor.txt
grep BP_monitor extview.tmp |grep avC378  |awk '{print "capacitor between " $3 " and "$2 " is equal to " $4 " F" '} | sed -e 's/avC378/V300mV/'|sed -e 's/E-/e-/'>> /user/ra115c/Atlas_VLT/Assura_RCX/1p1_data_BP/RCX_topblocks_1p1_BP_monitor.txt
grep BP_monitor extview.tmp |grep avC245  |awk '{print "capacitor between " $3 " and "$2 " is equal to " $4 " F" '} | sed -e 's/avC245/V500mV/'|sed -e 's/E-/e-/'>> /user/ra115c/Atlas_VLT/Assura_RCX/1p1_data_BP/RCX_topblocks_1p1_BP_monitor.txt
cat /user/ra115c/Atlas_VLT/Assura_RCX/1p1_data_BP/RCX_topblocks_1p1_BP_monitor.txt | sort -grk 9
cat /user/ra115c/Atlas_VLT/Assura_RCX/1p1_data_BP/RCX_topblocks_1p1_BP_monitor.txt | sort -grk 9 >/user/ra115c/Atlas_VLT/Assura_RCX/1p1_data_BP/RCX_topblocks_1p1_BP_monitor.txt
#nedit /user/ra115c/Atlas_VLT/Assura_RCX/1p1_data_BP/RCX_topblocks_1p1_BP_monitor.txt&



#\rm /user/ra115c/Atlas_VLT/Assura_RCX/1p1_data_BP/RCX_topblocks_1p1_result.txt
#\rm /user/ra115c/Atlas_VLT/Assura_RCX/1p1_data_BP/RCX_topblocks_1p1_result2.txt

cat /user/ra115c/Atlas_VLT/Assura_RCX/1p1_data_BP/RCX_2lines.txt /user/ra115c/Atlas_VLT/Assura_RCX/1p1_data_BP/RCX_topblocks_1p1_BP_sw1.txt /user/ra115c/Atlas_VLT/Assura_RCX/1p1_data_BP/RCX_2lines.txt >/user/ra115c/Atlas_VLT/Assura_RCX/1p1_data_BP/RCX_topblocks_1p1_result.txt
cat /user/ra115c/Atlas_VLT/Assura_RCX/1p1_data_BP/RCX_topblocks_1p1_result.txt /user/ra115c/Atlas_VLT/Assura_RCX/1p1_data_BP/RCX_topblocks_1p1_BP_sw2.txt /user/ra115c/Atlas_VLT/Assura_RCX/1p1_data_BP/RCX_2lines.txt >/user/ra115c/Atlas_VLT/Assura_RCX/1p1_data_BP/RCX_topblocks_1p1_result2.txt
cat /user/ra115c/Atlas_VLT/Assura_RCX/1p1_data_BP/RCX_topblocks_1p1_result2.txt /user/ra115c/Atlas_VLT/Assura_RCX/1p1_data_BP/RCX_topblocks_1p1_BP_monitor.txt /user/ra115c/Atlas_VLT/Assura_RCX/1p1_data_BP/RCX_2lines.txt >/user/ra115c/Atlas_VLT/Assura_RCX/1p1_data_BP/RCX_topblocks_1p1_result.txt



#cat /user/ra115c/Atlas_VLT/Assura_RCX/1p0_data/RCX_topblocks_1p1_result2.txt /user/ra115c/Atlas_VLT/Assura_RCX/1p0_data/RCX_2lines.txt >/user/ra115c/Atlas_VLT/Assura_RCX/1p0_data/RCX_topblocks_1p1_result.txt
nedit /user/ra115c/Atlas_VLT/Assura_RCX/1p1_data_BP/RCX_topblocks_1p1_result.txt&





