Go to the source code of this file.
Functions | |
void | Find_channel (int hardid) |
void Find_channel | ( | int | hardid | ) |
Definition at line 1 of file Find_channel.C.
00002 { 00003 00004 int chip = 0; 00005 int chan = 0; 00006 00007 chip = hardid/64 + 1; 00008 chan = hardid - (chip-1)*64; 00009 /* 00010 cout<<endl; 00011 cout<<"Hardid = "<<hardid<<endl; 00012 cout<<" -> chip = "<<chip<<endl; 00013 cout<<" -> chan = "<<chan<<endl; 00014 cout<<endl; 00015 */ 00016 00017 cout<<chip<<" - "<<chan<<" "; 00018 }