groups

name language licence
TEventList C++ Other
Add multiple files to a TChain C++ Other
TTree aliases C++ Other
TNtuple simple analysis C++ Other
Maximum likelihood, minuit example C++ Other
Merging trees C++ Other
Convert UInt_t to binary C++ Other
Convert string to integer C++ Other

< 1 2 3 4 5 >



language: C++
licence: Other

Convert UInt_t to binary

options: view full snippetsend to code collector
void print_damn(UInt_t damn0) {

   for ( Int_t bit = 0 ; bit < 32 ; ++bit ) {
      cout << this->Damn0Name(bit) << " ";
      cout << (damn0&1) << endl;
      damn0 = damn0 >> 1;
   }

} 

	
(Continues...)