#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 () |
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 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 28 of file BitArray.h.
Definition at line 79 of file BitArray.h.
Definition at line 81 of file BitArray.h.
Definition at line 87 of file BitArray.h.
Definition at line 92 of file BitArray.h.
Definition at line 96 of file BitArray.h.
Definition at line 233 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 244 of file BitArray.h.
Definition at line 255 of file BitArray.h.
Definition at line 163 of file BitArray.h.
Referenced by BitArray< 9 >::BitArray(), and BitArray< 9 >::operator=().
Definition at line 166 of file BitArray.h.
Definition at line 124 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 128 of file BitArray.h.
Definition at line 206 of file BitArray.h.
Referenced by DTTracoChip::add_btiT(), DTTracoChip::AdjBtiLTSuppressed(), 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 144 of file BitArray.h.
Referenced by BitArray< 9 >::getPosMask(), and BitArray< N >::refToBit::refToBit().
Definition at line 150 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 134 of file BitArray.h.
Referenced by BitArray< 9 >::element(), BitArray< 9 >::set(), and BitArray< 9 >::unset().
Definition at line 138 of file BitArray.h.
Definition at line 117 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 191 of file BitArray.h.
Definition at line 121 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 217 of file BitArray.h.
Referenced by DTSectCollPhCand::clear(), DTTSCand::clear(), DTSectCollPhCand::DTSectCollPhCand(), DTTSCand::DTTSCand(), runEdmFileComparison.EdmObject::label(), and DTConfigTSPhi::setDefaults().
Definition at line 422 of file BitArray.h.
Definition at line 414 of file BitArray.h.
Definition at line 391 of file BitArray.h.
Definition at line 492 of file BitArray.h.
Definition at line 495 of file BitArray.h.
Definition at line 479 of file BitArray.h.
Definition at line 520 of file BitArray.h.
Definition at line 517 of file BitArray.h.
Definition at line 368 of file BitArray.h.
Definition at line 460 of file BitArray.h.
Definition at line 447 of file BitArray.h.
Definition at line 400 of file BitArray.h.
Definition at line 291 of file BitArray.h.
Definition at line 302 of file BitArray.h.
Definition at line 323 of file BitArray.h.
Definition at line 352 of file BitArray.h.
Definition at line 397 of file BitArray.h.
Definition at line 394 of file BitArray.h.
Definition at line 476 of file BitArray.h.
Definition at line 463 of file BitArray.h.
Definition at line 348 of file BitArray.h.
Definition at line 349 of file BitArray.h.
Definition at line 444 of file BitArray.h.
Definition at line 436 of file BitArray.h.
Definition at line 433 of file BitArray.h.
Definition at line 425 of file BitArray.h.
Definition at line 411 of file BitArray.h.
Definition at line 340 of file BitArray.h.
Referenced by DTBtiChip::keepTrig(), DTBtiChip::keepTrigPatt(), DTSectCollPhCand::print(), DTTSCand::print(), and DTConfigTSPhi::print().
Definition at line 269 of file BitArray.h.
Referenced by edmIntegrityCheck.PublishToFileSystem::get(), and DTTracoChip::insideAngWindow().
Definition at line 226 of file BitArray.h.
Definition at line 224 of file BitArray.h.
Referenced by DTBtiChip::acceptMask(), DTTracoChip::add_btiT(), DTTSTheta::add_btiT(), DTBtiChip::keepTrig(), DTBtiChip::keepTrigPatt(), 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 229 of file BitArray.h.
Definition at line 230 of file BitArray.h.
Definition at line 118 of file BitArray.h.
Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().
Definition at line 207 of file BitArray.h.
Referenced by BitArray< 9 >::read(), edmIntegrityCheck.IntegrityCheck::report(), and edmIntegrityCheck.IntegrityCheck::structured().
Definition at line 507 of file BitArray.h.
Referenced by DTTracoChip::insideAngWindow().
Definition at line 510 of file BitArray.h.
Definition at line 225 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 153 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 210 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 30 of file BitArray.h.
Referenced by BitArray< 9 >::operator[]().
Definition at line 523 of file BitArray.h.
Referenced by python.XML2Python.DataNode::__nonzero__(), python.XML2Python.DataNode::__repr__(), python.XML2Python.DataNode::__str__(), 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().