#!/usr/bin/perl -w
#
# initialisation of globals for two perl scripts
#   inv12_SP_index.pl
#   inv12_mysql2html.pl
# which convert contents of "clas12_inventory" database on "clondb1"
# from "mysql" to "html" format,
# and produce Rack Layout for all electronics in Hall B
#
#
#  SP, 20-Nov-2012


$database        = "clas12_inventory";
$user            = "clasrun";
$password        = "";
$hostname        = "clondb1";
$dirname         = "SP_CLAS12";
$HallB_LOCs      = "SFS SFN SCS NCS FC CR Pie FTOF LTCC";
$HallB_RACKs[0]  = "SFS L0-1 L0-2 L0-3 L0-4 L0-5 L0-6 ";
$HallB_RACKs[1]  = "SFS PTarg L1-14 L1-15 L1-16 L1-17 L1-18 L1-19 ".
	                     "L1-20 L1-21 L1-22 L1-23 L1-24 L1-25 ";
$HallB_RACKs[2]  = "SFS L3-11 L3-12 L3-13 L3-14 L3-15 ";
$HallB_RACKs[3]  = "SFN L1-1 L1-2 L1-3 L1-4 L1-5 L1-6 L1-7 L1-8 L1-9 ";
$HallB_RACKs[4]  = "SFN L1-10 L1-11 L1-12 L1-13 ";
$HallB_RACKs[5]  = "SFN Tor-1 Tor-2 Tor-3 ";
$HallB_RACKs[6]  = "SFN Rack-1 Rack-2 Rack-3 Rack-4 L2-1 L2-2 L2-3 L2-4 L2-5 TestRack2 ";
$HallB_RACKs[7]  = "SFN L2-6 L2-7 L2-8 L2-9 L2-10 ";
$HallB_RACKs[8]  = "SFN L3-1 L3-2 L3-3 ";
$HallB_RACKs[9]  = "SFN L3-6 L3-7 L3-8 L3-9 L3-10 ";
$HallB_RACKs[10] = "FC C1-1 C1-2 C1-3 C1-4 C1-5 ";
$HallB_RACKs[11] = "FC C1-6 C1-7 C1-8 C1-9 C1-10 ";
$HallB_RACKs[12] = "FC C2-1 C2-2 C2-3 C2-4 C2-5 ";
$HallB_RACKs[13] = "FC C2-6 C2-7 C2-8 C2-9 C2-10 ";
$HallB_RACKs[14] = "FC C3-1 C3-2 C3-3 C3-4 C3-5 ";
$HallB_RACKs[15] = "FC C3-6 C3-7 C3-8 C3-9 C3-10 ";
$HallB_RACKs[16] = "Pie P2-1 P2-2 P2-3 P2-4 P2-5 P2-6 P2-7 ";
$HallB_RACKs[17] = "Pie dvcs1 dvcs2 dvcs3 ";
$HallB_RACKs[18] = "CR Rack-1 Rack-2 Rack-3 Rack-4 Rack-5 Rack-6 Rack-7 ";
$HallB_RACKs[19] = "FTOF Rack-2 Rack-3 ";
$HallB_RACKs[20] = "LTCC Rack-0 Rack-1 ";
$HallB_RACKs_NN  = 21;

