FairRoot/PandaRoot
Namespaces | Functions | Variables
MvdTestBeam/Tools/mrftools.cxx File Reference
#include "mrftools.h"
#include <climits>

Go to the source code of this file.

Namespaces

 mrftools
 Helper functions for single bit manipulations.
 

Functions

bool mrftools::getIntBit (const UInt_t &position, const UInt_t &value)
 Retrieves a single bit from an integer value. More...
 
void mrftools::setIntBit (const UInt_t &position, UInt_t &value, const bool &state)
 Sets a single bit in an integer value. More...
 
UInt_t mrftools::shiftBy (const int &positions, const UInt_t &value)
 Shifts the bits in an integer value. More...
 
unsigned int mrftools::getIteratorItemCount (const std::map< std::string, TConfItem >::const_iterator &start, const std::map< std::string, TConfItem >::const_iterator &stop)
 
unsigned int mrftools::getIteratorItemCount (const std::map< std::string, std::map< std::string, TConfItem > >::const_iterator &start, const std::map< std::string, std::map< std::string, TConfItem > >::const_iterator &stop)
 
UInt_t mrftools::grayToBin (UInt_t gray)
 Converts gray encoded values to bianry values. More...
 

Variables

static const UInt_t mrftools::UInt_t_bitlength = sizeof(UInt_t) * CHAR_BIT