00001
00002
00003
00004 #include <Riostream.h>
00005 #include "TString.h"
00006 #include "Scc.h"
00007
00008 void Scc::Print(){
00009
00010 cout << endl << endl;
00011 cout << " _________________________________________________________________" << endl;
00012 cout << " | FINUDA Slow-Control-Center Global definitions |" << endl;
00013 cout << " | |" << endl;
00014 cout << " | - SCC DEBUG Level : " << K_DEBUG_LEV << endl;
00015 cout << " | |" << endl;
00016 cout << " | - Number of Slow Machines : " << K_N_SLOWS << endl;
00017 for(Int_t i=0;i<K_N_SLOWS;i++) cout << " | " << "id: " << i << " ===> \"" << fSlowDetNames[i] << "\".....\t chan: " << K_SLOW_N_CHANS[i] << endl;
00018 cout << " | |" << endl;
00019 cout << " | - Number of Receiver sockets : " << K_N_SOCKS_IN << endl;
00020 for(Int_t i=0;i<K_N_SOCKS_IN;i++) cout << " | " << "id: " << i << " ===> \"" << fSlowDetNames[i] << "\".....\t PORT: " << K_SLOW_UDP_PORT[i] << endl;
00021 cout << " | |" << endl;
00022 cout << " -----------------------------------------------------------------" << endl << endl;
00023
00024
00025 if(!K_DEBUG_LEV) return;
00026 cout << " | DEBUG INFORMATION |" << endl;
00027 cout << " | |" << endl;
00028 cout << " -----------------------------------------------------------------" << endl << endl;
00029
00030
00031 }