FairRoot/PandaRoot
Namespaces | Functions
MvdTestBeam/Tools/mrftools.h File Reference
#include <map>
#include <string>
#include "mrf_confitem.h"

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...