/data3/calcul/jacquem/working_dir/Micromegas/micromegasFrameWork/src/analyse/TB2011/Testbeam_october_2011/Prototype_m2/Beam/Find_channel.C File Reference

Go to the source code of this file.

Functions

void Find_channel (int hardid)


Function Documentation

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 }


Generated on Mon Jan 7 13:15:23 2013 for MicromegasFramework by  doxygen 1.4.7