#include <BitArray.h>
Classes | |
class | refToBit |
Public Member Functions | |
int | any () |
void | assign (const int p, const int n, const int val) |
void | assign (const int p, const int n, const BitArray< N > &val) |
void | assign (const int p, const int n, const char *str) |
BitArray () | |
BitArray (const BitArray< N > &br) | |
BitArray (const char *str) | |
BitArray (const char *str, const int p, const int n) | |
BitArray (const unsigned i) | |
BitArray< 8 > | byte (const int i) const |
void | cleanUnused () |
int | count () const |
unsigned | dataWord (const int i) const |
unsigned & | dataWord (const int i) |
int | element (const int pos) const |
BitArray< N > & | flip () |
unsigned & | getWord (const int pos) |
unsigned | getWord (const int pos) const |
unsigned | lastWordMask () const |
int | nBits () const |
int | none () |
int | nWords () const |
void | one () |
bool | operator!= (const BitArray< N > &a) const |
BitArray< N > | operator& (const BitArray< N > &a) |
BitArray< N > & | operator&= (const BitArray< N > &a) |
BitArray< N > | operator+ (const BitArray< N > &a) |
BitArray< N > & | operator++ (int) |
BitArray< N > & | operator+= (const BitArray< N > &a) |
BitArray< N > | operator- (const BitArray< N > &a) |
BitArray< N > & | operator-= (const BitArray< N > &a) |
bool | operator< (const BitArray< N > &a) const |
BitArray< N > | operator<< (const int n) |
BitArray< N > & | operator<<= (const int n) |
bool | operator<= (const BitArray< N > &a) const |
BitArray< N > & | operator= (const BitArray< N > &a) |
BitArray< N > & | operator= (const unsigned i) |
BitArray< N > & | operator= (const char *str) |
bool | operator== (const BitArray< N > &a) const |
bool | operator> (const BitArray< N > &a) const |
bool | operator>= (const BitArray< N > &a) const |
BitArray< N > | operator>> (const int n) |
BitArray< N > & | operator>>= (const int n) |
refToBit | operator[] (const int pos) |
int | operator[] (const int pos) const |
BitArray< N > | operator^ (const BitArray< N > &a) |
BitArray< N > & | operator^= (const BitArray< N > &a) |
BitArray< N > | operator| (const BitArray< N > &a) |
BitArray< N > & | operator|= (const BitArray< N > &a) |
BitArray< N > | operator~ () const |
std::ostream & | print (std::ostream &o=std::cout) const |
unsigned | read (const int p, const int n) const |
void | reset () |
void | reset (const int i) |
void | set (const int i) |
void | set (const int i, const int val) |
void | set (const int i, const char *str) |
int | size () const |
int | test (const int i) const |
BitArray< N > | twoComplement () const |
BitArray< N > & | twoComplement () |
void | unset (const int i) |
int | unusedBits () const |
void | zero () |
Static Public Member Functions | |
static int | getPosInWord (const int pos) |
static unsigned | getPosMask (const int pos) |
Private Attributes | |
unsigned | _data [N/32+1] |
Friends | |
class | refToBit |
Definition at line 30 of file BitArray.h.
Definition at line 83 of file BitArray.h.
Definition at line 85 of file BitArray.h.
Definition at line 91 of file BitArray.h.
Definition at line 96 of file BitArray.h.
Definition at line 100 of file BitArray.h.
Definition at line 239 of file BitArray.h.
Referenced by BitArray< 9 >::BitArray(), DTSectCollPhCand::clearBits(), DTTSCand::clearBits(), DTTSCand::clearBitsBkmod(), DTSectCollPhCand::clearBitsSectColl(), DTTracoChip::insideAngWindow(), BitArray< 9 >::set(), DTSectCollPhCand::setBitsSectColl(), DTTSCand::setBitsTsm(), and DTTSCand::setBitsTss().
|
inline |
Definition at line 250 of file BitArray.h.
Definition at line 261 of file BitArray.h.
Definition at line 170 of file BitArray.h.
Referenced by BitArray< 9 >::BitArray(), and BitArray< 9 >::operator=().
Definition at line 175 of file BitArray.h.
Definition at line 128 of file BitArray.h.
Referenced by BitArray< 9 >::any(), DTSectCollPhCand::dataword(), DTTSCand::dataword(), BitArray< 9 >::none(), BitArray< 9 >::operator&=(), BitArray< 9 >::operator<(), BitArray< 9 >::operator==(), BitArray< 9 >::operator^=(), and BitArray< 9 >::operator|=().
Definition at line 132 of file BitArray.h.
Definition at line 210 of file BitArray.h.
Referenced by DTTracoChip::add_btiT(), DTTracoChip::AdjBtiLTSuppressed(), BitArray< 9 >::assign(), BitArray< 9 >::count(), DTTSPhi::ignoreSecondTrack(), DTTracoChip::insideAngWindow(), DTSectCollPhCand::isFirst(), DTTSCand::isFirst(), DTBtiChip::keepTrig(), DTBtiChip::keepTrigPatt(), BitArray< 9 >::operator++(), BitArray< 9 >::operator+=(), BitArray< 9 >::operator<<=(), BitArray< 9 >::operator>>=(), BitArray< 9 >::operator[](), DTTracoChip::ovlFlag(), DTSectCollPhCand::print(), BitArray< 9 >::print(), DTConfigBti::PTMSflag(), DTTracoChip::run(), DTTSPhi::runTSPhi(), DTTSCand::setBitsTsm(), DTTSCand::setBitsTss(), DTTracoChip::setFlag(), DTTracoChip::storeCorr(), DTTracoChip::storeUncorr(), BitArray< 9 >::test(), DTConfigTraco::usedBti(), DTConfigTSPhi::usedTraco(), DTTracoChip::useSecondTrack(), and DTConfigBti::WENflag().
Definition at line 148 of file BitArray.h.
Referenced by BitArray< 9 >::getPosMask(), and BitArray< N >::refToBit::refToBit().
Definition at line 154 of file BitArray.h.
Referenced by BitArray< 9 >::element(), BitArray< N >::refToBit::flip(), BitArray< N >::refToBit::operator int(), BitArray< N >::refToBit::operator=(), BitArray< N >::refToBit::operator~(), BitArray< 9 >::set(), and BitArray< 9 >::unset().
Definition at line 138 of file BitArray.h.
Referenced by BitArray< 9 >::element(), BitArray< N >::refToBit::refToBit(), BitArray< 9 >::set(), and BitArray< 9 >::unset().
Definition at line 142 of file BitArray.h.
Definition at line 121 of file BitArray.h.
Referenced by BitArray< 9 >::assign(), BitArray< 9 >::BitArray(), BitArray< 9 >::count(), BitArray< 9 >::getWord(), BitArray< 9 >::operator++(), BitArray< 9 >::operator+=(), BitArray< 9 >::operator<<=(), BitArray< 9 >::operator=(), BitArray< 9 >::operator>>=(), BitArray< 9 >::print(), BitArray< 9 >::read(), BitArray< 9 >::size(), and BitArray< 9 >::unusedBits().
Definition at line 197 of file BitArray.h.
Definition at line 125 of file BitArray.h.
Referenced by BitArray< 9 >::any(), BitArray< 9 >::BitArray(), BitArray< 9 >::byte(), BitArray< 9 >::cleanUnused(), BitArray< 9 >::dataWord(), BitArray< 9 >::flip(), BitArray< 9 >::none(), BitArray< 9 >::one(), BitArray< 9 >::operator&=(), BitArray< 9 >::operator<(), BitArray< 9 >::operator=(), BitArray< 9 >::operator==(), BitArray< 9 >::operator^=(), BitArray< 9 >::operator|=(), and BitArray< 9 >::zero().
Definition at line 223 of file BitArray.h.
Referenced by DTSectCollPhCand::clear(), DTTSCand::clear(), DTSectCollPhCand::DTSectCollPhCand(), DTTSCand::DTTSCand(), runEdmFileComparison.EdmObject::label(), and DTConfigTSPhi::setDefaults().
Definition at line 394 of file BitArray.h.
Definition at line 425 of file BitArray.h.
Definition at line 417 of file BitArray.h.
Definition at line 489 of file BitArray.h.
Definition at line 492 of file BitArray.h.
Definition at line 476 of file BitArray.h.
Definition at line 515 of file BitArray.h.
Definition at line 510 of file BitArray.h.
Definition at line 371 of file BitArray.h.
Definition at line 460 of file BitArray.h.
Definition at line 450 of file BitArray.h.
Definition at line 403 of file BitArray.h.
Definition at line 296 of file BitArray.h.
Definition at line 307 of file BitArray.h.
Definition at line 328 of file BitArray.h.
Definition at line 357 of file BitArray.h.
Definition at line 400 of file BitArray.h.
Definition at line 397 of file BitArray.h.
Definition at line 473 of file BitArray.h.
Definition at line 463 of file BitArray.h.
Definition at line 353 of file BitArray.h.
Definition at line 354 of file BitArray.h.
Definition at line 447 of file BitArray.h.
Definition at line 439 of file BitArray.h.
Definition at line 436 of file BitArray.h.
Definition at line 428 of file BitArray.h.
Definition at line 414 of file BitArray.h.
Definition at line 345 of file BitArray.h.
Referenced by DTBtiChip::keepTrig(), DTBtiChip::keepTrigPatt(), DTSectCollPhCand::print(), DTTSCand::print(), and DTConfigTSPhi::print().
Definition at line 232 of file BitArray.h.
Definition at line 230 of file BitArray.h.
Referenced by DTBtiChip::acceptMask(), DTTracoChip::add_btiT(), DTTSTheta::add_btiT(), BitArray< 9 >::assign(), betterConfigParser.BetterConfigParser::getGeneral(), DTBtiChip::keepTrig(), DTBtiChip::keepTrigPatt(), BitArray< 9 >::operator++(), BitArray< 9 >::operator+=(), BitArray< 9 >::operator<<=(), BitArray< 9 >::operator=(), BitArray< 9 >::operator>>=(), DTTracoChip::raiseOverlap(), DTTracoChip::run(), DTConfigBti::setDefaults(), DTConfigTraco::setDefaults(), DTTracoChip::setFlag(), DTConfigBti::setPTMSflag(), DTSectCollPhCand::setSecondTrack(), DTTSCand::setSecondTrack(), DTConfigTSPhi::setTsmStatus(), DTConfigTraco::setUsedBti(), DTConfigTSPhi::setUsedTraco(), and DTConfigBti::setWENflag().
Definition at line 235 of file BitArray.h.
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
Definition at line 236 of file BitArray.h.
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
Definition at line 122 of file BitArray.h.
Definition at line 500 of file BitArray.h.
Referenced by DTTracoChip::insideAngWindow(), and BitArray< 9 >::operator-=().
Definition at line 503 of file BitArray.h.
Definition at line 231 of file BitArray.h.
Referenced by BitArray< 9 >::assign(), DTSectCollPhCand::DTSectCollPhCand(), DTTSCand::DTTSCand(), BitArray< 9 >::operator++(), BitArray< 9 >::operator<<=(), BitArray< 9 >::operator=(), BitArray< 9 >::operator>>=(), BitArray< 9 >::reset(), DTTSCand::setBitsBkmod(), DTSectCollPhCand::setBitsSectColl(), DTTSCand::setBitsTsm(), DTTSCand::setBitsTss(), and DTConfigTSPhi::setDefaults().
Definition at line 159 of file BitArray.h.
Referenced by BitArray< 9 >::any(), BitArray< 9 >::lastWordMask(), BitArray< 9 >::none(), BitArray< 9 >::operator<(), and BitArray< 9 >::operator==().
Definition at line 216 of file BitArray.h.
Referenced by BitArray< 9 >::BitArray(), DTTracoChip::clear(), DTTracoChip::DTTracoChip(), DTTSTheta::DTTSTheta(), DTTSTheta::localClear(), BitArray< 9 >::operator=(), and BitArray< 9 >::reset().
|
friend |
Definition at line 33 of file BitArray.h.
Referenced by BitArray< 9 >::operator[]().
Definition at line 519 of file BitArray.h.
Referenced by python.XML2Python.DataNode::__nonzero__(), python.XML2Python.DataNode::__repr__(), python.XML2Python.DataNode::__str__(), cfg-viewer.unscheduled::_proceed(), cfg-viewer.unscheduled::_saveData(), BitArray< 9 >::BitArray(), BitArray< 9 >::byte(), BitArray< 9 >::cleanUnused(), BitArray< 9 >::dataWord(), BitArray< 9 >::flip(), BitArray< 9 >::getWord(), BitArray< 9 >::one(), BitArray< 9 >::operator=(), and BitArray< 9 >::zero().