#include <DTTFBitArray.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 DTTFBitArray< N > &val) |
void | assign (const int p, const int n, const char *str) |
DTTFBitArray< 8 > | byte (const int i) const |
void | cleanUnused () |
int | count () const |
unsigned | dataWord (const int i) const |
unsigned & | dataWord (const int i) |
DTTFBitArray () | |
DTTFBitArray (const DTTFBitArray< N > &br) | |
DTTFBitArray (const char *str) | |
DTTFBitArray (const char *str, const int p, const int n) | |
DTTFBitArray (const unsigned i) | |
int | element (const int pos) const |
DTTFBitArray< 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 DTTFBitArray< N > &a) const |
DTTFBitArray< N > | operator& (const DTTFBitArray< N > &a) |
DTTFBitArray< N > & | operator&= (const DTTFBitArray< N > &a) |
DTTFBitArray< N > | operator+ (const DTTFBitArray< N > &a) |
DTTFBitArray< N > & | operator++ (int) |
DTTFBitArray< N > & | operator+= (const DTTFBitArray< N > &a) |
DTTFBitArray< N > | operator- (const DTTFBitArray< N > &a) |
DTTFBitArray< N > & | operator-= (const DTTFBitArray< N > &a) |
bool | operator< (const DTTFBitArray< N > &a) const |
DTTFBitArray< N > | operator<< (const int n) |
DTTFBitArray< N > & | operator<<= (const int n) |
bool | operator<= (const DTTFBitArray< N > &a) const |
DTTFBitArray< N > & | operator= (const DTTFBitArray< N > &a) |
DTTFBitArray< N > & | operator= (const unsigned i) |
DTTFBitArray< N > & | operator= (const char *str) |
bool | operator== (const DTTFBitArray< N > &a) const |
bool | operator> (const DTTFBitArray< N > &a) const |
bool | operator>= (const DTTFBitArray< N > &a) const |
DTTFBitArray< N > | operator>> (const int n) |
DTTFBitArray< N > & | operator>>= (const int n) |
refToBit | operator[] (const int pos) |
int | operator[] (const int pos) const |
DTTFBitArray< N > | operator^ (const DTTFBitArray< N > &a) |
DTTFBitArray< N > & | operator^= (const DTTFBitArray< N > &a) |
DTTFBitArray< N > | operator| (const DTTFBitArray< N > &a) |
DTTFBitArray< N > & | operator|= (const DTTFBitArray< N > &a) |
DTTFBitArray< 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 |
DTTFBitArray< N > | twoComplement () const |
DTTFBitArray< 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 DTTFBitArray.h.
|
inline |
|
inline |
Definition at line 85 of file DTTFBitArray.h.
References DTTFBitArray< N >::_data, DTTFBitArray< N >::cleanUnused(), i, and DTTFBitArray< N >::nWords().
|
inline |
Definition at line 91 of file DTTFBitArray.h.
References DTTFBitArray< N >::assign(), DTTFBitArray< N >::cleanUnused(), DTTFBitArray< N >::nBits(), and DTTFBitArray< N >::zero().
|
inline |
Definition at line 96 of file DTTFBitArray.h.
References DTTFBitArray< N >::assign(), and DTTFBitArray< N >::zero().
|
inline |
Definition at line 100 of file DTTFBitArray.h.
References DTTFBitArray< N >::_data, DTTFBitArray< N >::cleanUnused(), i, and DTTFBitArray< N >::zero().
|
inline |
Definition at line 184 of file DTTFBitArray.h.
References DTTFBitArray< N >::dataWord(), DTTFBitArray< N >::nWords(), and DTTFBitArray< N >::unusedBits().
|
inline |
Definition at line 239 of file DTTFBitArray.h.
References i, gen::n, DTTFBitArray< N >::nBits(), and DTTFBitArray< N >::unset().
Referenced by DTTFBitArray< N >::DTTFBitArray(), and DTTFBitArray< N >::set().
|
inline |
Definition at line 250 of file DTTFBitArray.h.
References DTTFBitArray< N >::element(), i, gen::n, DTTFBitArray< N >::nBits(), and DTTFBitArray< N >::unset().
|
inline |
Definition at line 261 of file DTTFBitArray.h.
References gen::n, DTTFBitArray< N >::nBits(), and DTTFBitArray< N >::unset().
|
inline |
Definition at line 287 of file DTTFBitArray.h.
References DTTFBitArray< N >::_data, gen::k, DTTFBitArray< N >::nWords(), and MillePedeFileConverter_cfg::out.
|
inline |
Definition at line 170 of file DTTFBitArray.h.
References DTTFBitArray< N >::_data, DTTFBitArray< N >::lastWordMask(), and DTTFBitArray< N >::nWords().
Referenced by DTTFBitArray< N >::DTTFBitArray(), and DTTFBitArray< N >::operator=().
|
inline |
Definition at line 175 of file DTTFBitArray.h.
References DTTFBitArray< N >::element(), i, gen::n, and DTTFBitArray< N >::nBits().
|
inline |
Definition at line 128 of file DTTFBitArray.h.
References DTTFBitArray< N >::_data, i, and DTTFBitArray< N >::nWords().
Referenced by DTTFBitArray< N >::any(), DTTFBitArray< N >::none(), DTTFBitArray< N >::operator&=(), DTTFBitArray< N >::operator<(), DTTFBitArray< N >::operator==(), DTTFBitArray< N >::operator^=(), and DTTFBitArray< N >::operator|=().
|
inline |
Definition at line 132 of file DTTFBitArray.h.
References DTTFBitArray< N >::_data, i, and DTTFBitArray< N >::nWords().
|
inline |
Definition at line 210 of file DTTFBitArray.h.
References DTTFBitArray< N >::getPosMask(), and DTTFBitArray< N >::getWord().
Referenced by DTTFBitArray< N >::assign(), DTTFBitArray< N >::count(), DTTFBitArray< N >::operator++(), DTTFBitArray< N >::operator+=(), DTTFBitArray< N >::operator<<=(), DTTFBitArray< N >::operator>>=(), DTTFBitArray< N >::operator[](), DTTFBitArray< N >::print(), and DTTFBitArray< N >::test().
|
inline |
Definition at line 406 of file DTTFBitArray.h.
References DTTFBitArray< N >::_data, i, and DTTFBitArray< N >::nWords().
Referenced by DTTFBitArray< N >::operator~().
|
inlinestatic |
Definition at line 148 of file DTTFBitArray.h.
Referenced by DTTFBitArray< N >::getPosMask(), and DTTFBitArray< N >::refToBit::refToBit().
|
inlinestatic |
Definition at line 154 of file DTTFBitArray.h.
References DTTFBitArray< N >::getPosInWord().
Referenced by DTTFBitArray< N >::element(), DTTFBitArray< N >::refToBit::flip(), DTTFBitArray< N >::refToBit::operator int(), DTTFBitArray< N >::refToBit::operator=(), DTTFBitArray< N >::refToBit::operator~(), DTTFBitArray< N >::set(), and DTTFBitArray< N >::unset().
|
inline |
Definition at line 138 of file DTTFBitArray.h.
References DTTFBitArray< N >::_data, and DTTFBitArray< N >::nBits().
Referenced by DTTFBitArray< N >::element(), DTTFBitArray< N >::refToBit::refToBit(), DTTFBitArray< N >::set(), and DTTFBitArray< N >::unset().
|
inline |
Definition at line 142 of file DTTFBitArray.h.
References DTTFBitArray< N >::_data, and DTTFBitArray< N >::nBits().
|
inline |
Definition at line 165 of file DTTFBitArray.h.
References DTTFBitArray< N >::unusedBits().
Referenced by DTTFBitArray< N >::cleanUnused().
|
inline |
Definition at line 121 of file DTTFBitArray.h.
References N.
Referenced by DTTFBitArray< N >::assign(), DTTFBitArray< N >::count(), DTTFBitArray< N >::DTTFBitArray(), DTTFBitArray< N >::getWord(), DTTFBitArray< N >::operator++(), DTTFBitArray< N >::operator+=(), DTTFBitArray< N >::operator<<=(), DTTFBitArray< N >::operator=(), DTTFBitArray< N >::operator>>=(), DTTFBitArray< N >::print(), DTTFBitArray< N >::read(), DTTFBitArray< N >::size(), and DTTFBitArray< N >::unusedBits().
|
inline |
Definition at line 197 of file DTTFBitArray.h.
References DTTFBitArray< N >::dataWord(), DTTFBitArray< N >::nWords(), and DTTFBitArray< N >::unusedBits().
|
inline |
Definition at line 125 of file DTTFBitArray.h.
References N.
Referenced by DTTFBitArray< N >::any(), DTTFBitArray< N >::byte(), DTTFBitArray< N >::cleanUnused(), DTTFBitArray< N >::dataWord(), DTTFBitArray< N >::DTTFBitArray(), DTTFBitArray< N >::flip(), DTTFBitArray< N >::none(), DTTFBitArray< N >::one(), DTTFBitArray< N >::operator&=(), DTTFBitArray< N >::operator<(), DTTFBitArray< N >::operator=(), DTTFBitArray< N >::operator==(), DTTFBitArray< N >::operator^=(), DTTFBitArray< N >::operator|=(), and DTTFBitArray< N >::zero().
|
inline |
Definition at line 223 of file DTTFBitArray.h.
References DTTFBitArray< N >::_data, i, and DTTFBitArray< N >::nWords().
Referenced by runEdmFileComparison.EdmObject::label().
|
inline |
Definition at line 394 of file DTTFBitArray.h.
|
inline |
|
inline |
Definition at line 417 of file DTTFBitArray.h.
References DTTFBitArray< N >::dataWord(), and DTTFBitArray< N >::nWords().
|
inline |
|
inline |
Definition at line 492 of file DTTFBitArray.h.
References DTTFBitArray< N >::element(), i, DTTFBitArray< N >::nBits(), and DTTFBitArray< N >::unset().
|
inline |
Definition at line 476 of file DTTFBitArray.h.
References DTTFBitArray< N >::element(), i, DTTFBitArray< N >::nBits(), and cuy::rep.
|
inline |
|
inline |
|
inline |
Definition at line 371 of file DTTFBitArray.h.
References a, DTTFBitArray< N >::dataWord(), DTTFBitArray< N >::nWords(), and DTTFBitArray< N >::unusedBits().
|
inline |
|
inline |
Definition at line 450 of file DTTFBitArray.h.
References DTTFBitArray< N >::element(), gen::n, DTTFBitArray< N >::nBits(), and DTTFBitArray< N >::unset().
|
inline |
|
inline |
Definition at line 296 of file DTTFBitArray.h.
References DTTFBitArray< N >::_data, DTTFBitArray< N >::cleanUnused(), i, and DTTFBitArray< N >::nWords().
|
inline |
Definition at line 307 of file DTTFBitArray.h.
References DTTFBitArray< N >::_data, DTTFBitArray< N >::cleanUnused(), i, and DTTFBitArray< N >::zero().
|
inline |
Definition at line 328 of file DTTFBitArray.h.
References DTTFBitArray< N >::cleanUnused(), DTTFBitArray< N >::nBits(), DTTFBitArray< N >::unset(), and DTTFBitArray< N >::zero().
|
inline |
Definition at line 357 of file DTTFBitArray.h.
References DTTFBitArray< N >::dataWord(), DTTFBitArray< N >::nWords(), and DTTFBitArray< N >::unusedBits().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 463 of file DTTFBitArray.h.
References DTTFBitArray< N >::element(), gen::n, DTTFBitArray< N >::nBits(), and DTTFBitArray< N >::unset().
|
inline |
Definition at line 353 of file DTTFBitArray.h.
References DTTFBitArray< N >::refToBit::refToBit().
|
inline |
Definition at line 354 of file DTTFBitArray.h.
References DTTFBitArray< N >::element().
|
inline |
|
inline |
Definition at line 439 of file DTTFBitArray.h.
References DTTFBitArray< N >::dataWord(), and DTTFBitArray< N >::nWords().
|
inline |
|
inline |
Definition at line 428 of file DTTFBitArray.h.
References DTTFBitArray< N >::dataWord(), and DTTFBitArray< N >::nWords().
|
inline |
Definition at line 414 of file DTTFBitArray.h.
References DTTFBitArray< N >::flip().
|
inline |
Definition at line 345 of file DTTFBitArray.h.
References DTTFBitArray< N >::element(), DTTFBitArray< N >::nBits(), and connectstrParser::o.
Referenced by L1MuDTPtaLut::print(), and L1MuBMLUTHandler::print_pta_lut().
|
inline |
Definition at line 275 of file DTTFBitArray.h.
References i, gen::n, DTTFBitArray< N >::nBits(), MillePedeFileConverter_cfg::out, and DTTFBitArray< N >::test().
Referenced by edmIntegrityCheck.PublishToFileSystem::get(), Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::goto(), and Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::setFilterBranches().
|
inline |
Definition at line 221 of file DTTFBitArray.h.
References DTTFBitArray< N >::zero().
Referenced by MatrixReader.MatrixReader::__init__(), and MatrixReader.MatrixReader::showRaw().
|
inline |
Definition at line 232 of file DTTFBitArray.h.
References DTTFBitArray< N >::unset().
Referenced by MatrixReader.MatrixReader::__init__(), and MatrixReader.MatrixReader::showRaw().
|
inline |
Definition at line 230 of file DTTFBitArray.h.
References DTTFBitArray< N >::getPosMask(), DTTFBitArray< N >::getWord(), and i.
|
inline |
Definition at line 235 of file DTTFBitArray.h.
References DTTFBitArray< N >::assign(), and heppy_batch::val.
|
inline |
Definition at line 236 of file DTTFBitArray.h.
References DTTFBitArray< N >::assign(), and harvestTrackValidationPlots::str.
|
inline |
Definition at line 122 of file DTTFBitArray.h.
References DTTFBitArray< N >::nBits().
Referenced by ntuple._Collection::__iter__(), and ntuple._Collection::__len__().
|
inline |
Definition at line 213 of file DTTFBitArray.h.
References DTTFBitArray< N >::element().
Referenced by DTTFBitArray< N >::read(), edmIntegrityCheck.IntegrityCheck::report(), and edmIntegrityCheck.IntegrityCheck::structured().
|
inline |
Definition at line 500 of file DTTFBitArray.h.
Referenced by DTTFBitArray< N >::operator-=(), L1MuDTPtaLut::print(), L1MuDTPhiLut::print(), L1MuDTExtLut::print(), L1MuBMLUTHandler::print_ext_lut(), L1MuBMLUTHandler::print_phi_lut(), and L1MuBMLUTHandler::print_pta_lut().
|
inline |
Definition at line 503 of file DTTFBitArray.h.
|
inline |
Definition at line 231 of file DTTFBitArray.h.
References DTTFBitArray< N >::getPosMask(), and DTTFBitArray< N >::getWord().
Referenced by DTTFBitArray< N >::assign(), DTTFBitArray< N >::operator++(), DTTFBitArray< N >::operator<<=(), DTTFBitArray< N >::operator=(), DTTFBitArray< N >::operator>>=(), and DTTFBitArray< N >::reset().
|
inline |
Definition at line 159 of file DTTFBitArray.h.
References DTTFBitArray< N >::nBits().
Referenced by DTTFBitArray< N >::any(), DTTFBitArray< N >::lastWordMask(), DTTFBitArray< N >::none(), DTTFBitArray< N >::operator<(), and DTTFBitArray< N >::operator==().
|
inline |
Definition at line 216 of file DTTFBitArray.h.
References DTTFBitArray< N >::_data, i, and DTTFBitArray< N >::nWords().
Referenced by DTTFBitArray< N >::DTTFBitArray(), DTTFBitArray< N >::operator=(), and DTTFBitArray< N >::reset().
|
friend |
Definition at line 33 of file DTTFBitArray.h.
|
private |
Definition at line 519 of file DTTFBitArray.h.
Referenced by XML2Python.DataNode::__init__(), python.XML2Python.DataNode::__nonzero__(), XML2Python.DataNode::__nonzero__(), python.XML2Python.DataNode::__repr__(), XML2Python.DataNode::__repr__(), XML2Python.DataNode::__str__(), python.XML2Python.DataNode::__str__(), cfg-viewer.unscheduled::_proceed(), cfg-viewer.unscheduled::_saveData(), DTTFBitArray< N >::byte(), DTTFBitArray< N >::cleanUnused(), DTTFBitArray< N >::dataWord(), DTTFBitArray< N >::DTTFBitArray(), DTTFBitArray< N >::flip(), DTTFBitArray< N >::getWord(), DTTFBitArray< N >::one(), DTTFBitArray< N >::operator=(), XML2Python.DataNode::stringify(), and DTTFBitArray< N >::zero().