#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 () |
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 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 28 of file DTTFBitArray.h.
|
inline |
|
inline |
Definition at line 81 of file DTTFBitArray.h.
References DTTFBitArray< N >::_data, DTTFBitArray< N >::cleanUnused(), mps_fire::i, and DTTFBitArray< N >::nWords().
|
inline |
Definition at line 87 of file DTTFBitArray.h.
References DTTFBitArray< N >::assign(), DTTFBitArray< N >::cleanUnused(), DTTFBitArray< N >::nBits(), and DTTFBitArray< N >::zero().
|
inline |
Definition at line 92 of file DTTFBitArray.h.
References DTTFBitArray< N >::assign(), dqmiodumpmetadata::n, str, and DTTFBitArray< N >::zero().
|
inline |
Definition at line 96 of file DTTFBitArray.h.
References DTTFBitArray< N >::_data, DTTFBitArray< N >::cleanUnused(), mps_fire::i, and DTTFBitArray< N >::zero().
|
inline |
Definition at line 176 of file DTTFBitArray.h.
References DTTFBitArray< N >::dataWord(), DTTFBitArray< N >::nWords(), and DTTFBitArray< N >::unusedBits().
|
inline |
Definition at line 233 of file DTTFBitArray.h.
References cms::cuda::assert(), mps_fire::i, dqmiodumpmetadata::n, DTTFBitArray< N >::nBits(), AlCaHLTBitMon_ParallelJobs::p, DTTFBitArray< N >::unset(), and heppy_batch::val.
Referenced by DTTFBitArray< N >::DTTFBitArray(), and DTTFBitArray< N >::set().
|
inline |
Definition at line 244 of file DTTFBitArray.h.
References cms::cuda::assert(), mps_fire::i, dqmiodumpmetadata::n, DTTFBitArray< N >::nBits(), AlCaHLTBitMon_ParallelJobs::p, DTTFBitArray< N >::unset(), and heppy_batch::val.
|
inline |
Definition at line 255 of file DTTFBitArray.h.
References cms::cuda::assert(), mps_fire::i, dqmiodumpmetadata::n, DTTFBitArray< N >::nBits(), AlCaHLTBitMon_ParallelJobs::p, str, and DTTFBitArray< N >::unset().
|
inline |
Definition at line 282 of file DTTFBitArray.h.
References DTTFBitArray< N >::_data, mps_fire::i, dqmdumpme::k, DTTFBitArray< N >::nWords(), and MillePedeFileConverter_cfg::out.
|
inline |
Definition at line 163 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 166 of file DTTFBitArray.h.
References DTTFBitArray< N >::element(), mps_fire::i, dqmiodumpmetadata::n, and DTTFBitArray< N >::nBits().
|
inline |
Definition at line 124 of file DTTFBitArray.h.
References DTTFBitArray< N >::_data, cms::cuda::assert(), mps_fire::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 128 of file DTTFBitArray.h.
References DTTFBitArray< N >::_data, cms::cuda::assert(), mps_fire::i, and DTTFBitArray< N >::nWords().
|
inline |
Definition at line 206 of file DTTFBitArray.h.
References DTTFBitArray< N >::getPosMask(), and DTTFBitArray< N >::getWord().
Referenced by 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 403 of file DTTFBitArray.h.
References DTTFBitArray< N >::_data, mps_fire::i, and DTTFBitArray< N >::nWords().
Referenced by DTTFBitArray< N >::operator~().
|
inlinestatic |
Definition at line 144 of file DTTFBitArray.h.
Referenced by DTTFBitArray< N >::getPosMask(), and DTTFBitArray< N >::refToBit::refToBit().
|
inlinestatic |
Definition at line 150 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 134 of file DTTFBitArray.h.
References DTTFBitArray< N >::_data, cms::cuda::assert(), and DTTFBitArray< N >::nBits().
Referenced by DTTFBitArray< N >::element(), DTTFBitArray< N >::set(), and DTTFBitArray< N >::unset().
|
inline |
Definition at line 138 of file DTTFBitArray.h.
References DTTFBitArray< N >::_data, cms::cuda::assert(), and DTTFBitArray< N >::nBits().
|
inline |
Definition at line 160 of file DTTFBitArray.h.
References DTTFBitArray< N >::unusedBits().
Referenced by DTTFBitArray< N >::cleanUnused().
|
inline |
Definition at line 117 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 191 of file DTTFBitArray.h.
References DTTFBitArray< N >::dataWord(), DTTFBitArray< N >::nWords(), and DTTFBitArray< N >::unusedBits().
|
inline |
Definition at line 121 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 217 of file DTTFBitArray.h.
References DTTFBitArray< N >::_data, mps_fire::i, and DTTFBitArray< N >::nWords().
Referenced by runEdmFileComparison.EdmObject::label().
|
inline |
|
inline |
Definition at line 414 of file DTTFBitArray.h.
References a, DTTFBitArray< N >::dataWord(), mps_fire::i, and DTTFBitArray< N >::nWords().
|
inline |
|
inline |
|
inline |
Definition at line 495 of file DTTFBitArray.h.
References DTTFBitArray< N >::element(), mps_fire::i, DTTFBitArray< N >::nBits(), and DTTFBitArray< N >::unset().
|
inline |
Definition at line 479 of file DTTFBitArray.h.
References a, DTTFBitArray< N >::element(), mps_fire::i, DTTFBitArray< N >::nBits(), and cuy::rep.
|
inline |
|
inline |
|
inline |
Definition at line 368 of file DTTFBitArray.h.
References a, DTTFBitArray< N >::dataWord(), DTTFBitArray< N >::nWords(), and DTTFBitArray< N >::unusedBits().
|
inline |
Definition at line 460 of file DTTFBitArray.h.
References dqmiodumpmetadata::n.
|
inline |
Definition at line 447 of file DTTFBitArray.h.
References cms::cuda::assert(), DTTFBitArray< N >::element(), mps_fire::i, dqmiodumpmetadata::n, DTTFBitArray< N >::nBits(), and DTTFBitArray< N >::unset().
|
inline |
|
inline |
Definition at line 291 of file DTTFBitArray.h.
References DTTFBitArray< N >::_data, a, DTTFBitArray< N >::cleanUnused(), mps_fire::i, and DTTFBitArray< N >::nWords().
|
inline |
Definition at line 302 of file DTTFBitArray.h.
References DTTFBitArray< N >::_data, DTTFBitArray< N >::cleanUnused(), mps_fire::i, and DTTFBitArray< N >::zero().
|
inline |
Definition at line 323 of file DTTFBitArray.h.
References cms::cuda::assert(), DTTFBitArray< N >::cleanUnused(), mps_fire::i, DTTFBitArray< N >::nBits(), str, DTTFBitArray< N >::unset(), and DTTFBitArray< N >::zero().
|
inline |
Definition at line 352 of file DTTFBitArray.h.
References a, DTTFBitArray< N >::dataWord(), DTTFBitArray< N >::nWords(), and DTTFBitArray< N >::unusedBits().
|
inline |
|
inline |
|
inline |
Definition at line 476 of file DTTFBitArray.h.
References dqmiodumpmetadata::n.
|
inline |
Definition at line 463 of file DTTFBitArray.h.
References cms::cuda::assert(), DTTFBitArray< N >::element(), mps_fire::i, dqmiodumpmetadata::n, DTTFBitArray< N >::nBits(), and DTTFBitArray< N >::unset().
|
inline |
Definition at line 348 of file DTTFBitArray.h.
References DTTFBitArray< N >::refToBit.
|
inline |
Definition at line 349 of file DTTFBitArray.h.
References DTTFBitArray< N >::element().
|
inline |
|
inline |
Definition at line 436 of file DTTFBitArray.h.
References a, DTTFBitArray< N >::dataWord(), mps_fire::i, and DTTFBitArray< N >::nWords().
|
inline |
|
inline |
Definition at line 425 of file DTTFBitArray.h.
References a, DTTFBitArray< N >::dataWord(), mps_fire::i, and DTTFBitArray< N >::nWords().
|
inline |
Definition at line 411 of file DTTFBitArray.h.
References DTTFBitArray< N >::flip().
|
inline |
Definition at line 340 of file DTTFBitArray.h.
References DTTFBitArray< N >::element(), mps_fire::i, DTTFBitArray< N >::nBits(), and EcalTangentSkim_cfg::o.
Referenced by L1MuDTPtaLut::print(), and L1MuBMLUTHandler::print_pta_lut().
|
inline |
Definition at line 269 of file DTTFBitArray.h.
References cms::cuda::assert(), mps_fire::i, dqmiodumpmetadata::n, DTTFBitArray< N >::nBits(), MillePedeFileConverter_cfg::out, AlCaHLTBitMon_ParallelJobs::p, and DTTFBitArray< N >::test().
Referenced by edmIntegrityCheck.PublishToFileSystem::get().
|
inline |
Definition at line 215 of file DTTFBitArray.h.
References DTTFBitArray< N >::zero().
Referenced by MatrixReader.MatrixReader::__init__(), and MatrixReader.MatrixReader::showRaw().
|
inline |
Definition at line 226 of file DTTFBitArray.h.
References DTTFBitArray< N >::unset().
Referenced by MatrixReader.MatrixReader::__init__(), and MatrixReader.MatrixReader::showRaw().
|
inline |
Definition at line 224 of file DTTFBitArray.h.
References DTTFBitArray< N >::getPosMask(), DTTFBitArray< N >::getWord(), and mps_fire::i.
|
inline |
Definition at line 229 of file DTTFBitArray.h.
References DTTFBitArray< N >::assign(), and heppy_batch::val.
|
inline |
Definition at line 230 of file DTTFBitArray.h.
References DTTFBitArray< N >::assign(), and str.
|
inline |
Definition at line 118 of file DTTFBitArray.h.
References DTTFBitArray< N >::nBits().
Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().
|
inline |
Definition at line 207 of file DTTFBitArray.h.
References DTTFBitArray< N >::element(), and mps_fire::i.
Referenced by DTTFBitArray< N >::read(), edmIntegrityCheck.IntegrityCheck::report(), and edmIntegrityCheck.IntegrityCheck::structured().
|
inline |
Definition at line 507 of file DTTFBitArray.h.
Referenced by L1MuDTPtaLut::print(), L1MuDTPhiLut::print(), L1MuDTExtLut::print(), L1MuBMLUTHandler::print_ext_lut(), L1MuBMLUTHandler::print_phi_lut(), and L1MuBMLUTHandler::print_pta_lut().
|
inline |
Definition at line 510 of file DTTFBitArray.h.
|
inline |
Definition at line 225 of file DTTFBitArray.h.
References DTTFBitArray< N >::getPosMask(), DTTFBitArray< N >::getWord(), and mps_fire::i.
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 153 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 210 of file DTTFBitArray.h.
References DTTFBitArray< N >::_data, mps_fire::i, and DTTFBitArray< N >::nWords().
Referenced by DTTFBitArray< N >::DTTFBitArray(), DTTFBitArray< N >::operator=(), and DTTFBitArray< N >::reset().
|
friend |
Definition at line 30 of file DTTFBitArray.h.
Referenced by DTTFBitArray< N >::operator[]().
|
private |
Definition at line 523 of file DTTFBitArray.h.
Referenced by XML2Python.DataNode::__init__(), python.XML2Python.DataNode::__nonzero__(), XML2Python.DataNode::__nonzero__(), python.XML2Python.DataNode::__repr__(), XML2Python.DataNode::__repr__(), edmModuleAllocMonitorAnalyze.ModuleCentricModuleData::__repr__(), edmModuleAllocMonitorAnalyze.TemporalModuleData::__repr__(), XML2Python.DataNode::__str__(), python.XML2Python.DataNode::__str__(), DTTFBitArray< N >::byte(), DTTFBitArray< N >::cleanUnused(), edmModuleAllocMonitorAnalyze.ModuleCentricModuleData::data(), edmModuleAllocMonitorAnalyze.TemporalModuleData::data(), DTTFBitArray< N >::dataWord(), DTTFBitArray< N >::DTTFBitArray(), DTTFBitArray< N >::flip(), DTTFBitArray< N >::getWord(), edmModuleAllocMonitorAnalyze.ModuleCentricModuleData::insert(), edmModuleAllocMonitorAnalyze.TemporalModuleData::insert(), DTTFBitArray< N >::one(), DTTFBitArray< N >::operator=(), edmModuleAllocMonitorAnalyze.ModuleCentricModuleData::sortModulesBy(), XML2Python.DataNode::stringify(), edmModuleAllocMonitorAnalyze.ModuleCentricModuleData::toSimpleDict(), edmModuleAllocMonitorAnalyze.TemporalModuleData::toSimpleDict(), and DTTFBitArray< N >::zero().