Go to the source code of this file.
Functions | |
Short_t | Chamber (Int_t chanNum) |
Short_t Chamber | ( | Int_t | chanNum | ) |
Definition at line 1 of file Chamber.C.
00002 {//valid for chanNum from 0 to 672 compatible with TB2008 setup (3 beta2 , 1 beta2.4) 00003 if (chanNum>=672||chanNum<0){cout<<"error : unrecognized channel number :"<<chanNum<<"\n";return -1;} 00004 Short_t chamber; 00005 if(chanNum/96<3) 00006 {//gassiplex 0, 1, 2 00007 chamber = chanNum/96; 00008 } 00009 else{chamber=3;} 00010 return chamber; 00011 }