SCC/Scc.cxx

00001 // @(#)fROOT/SCC:$Name:  $:$Id: Scc.cxx,v 1.4 2007/09/05 10:34:58 Diego_Faso Exp $
00002 // Author: Diego Faso <mailto:faso@to.infn.it>, 2006/05/19
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   // --- further information if debugging
00025   if(!K_DEBUG_LEV) return;
00026   cout << "  |                            DEBUG INFORMATION                    |" << endl;
00027   cout << "  |                                                                 |" << endl;
00028   cout << "   -----------------------------------------------------------------"  << endl << endl;
00029 
00030   // ---
00031 }

Generated on Tue Oct 16 15:40:47 2007 by  doxygen 1.5.2