#include <CondFormats/Calibration/interface/BlobComplex.h>
Public Member Functions | |
BlobComplexObjects () | |
void | fill (unsigned int &serial) |
bool | operator!= (const BlobComplexObjects &rhs) const |
bool | operator== (const BlobComplexObjects &rhs) const |
void | print () const |
Public Attributes | |
unsigned int | a |
unsigned int | b |
std::vector< BlobComplexContent > | content |
Definition at line 36 of file BlobComplex.h.
BlobComplexObjects::BlobComplexObjects | ( | ) | [inline] |
bool BlobComplexObjects::operator!= | ( | const BlobComplexObjects & | rhs | ) | const [inline] |
bool BlobComplexObjects::operator== | ( | const BlobComplexObjects & | rhs | ) | const |
Definition at line 94 of file BlobComplex.cc.
00095 { 00096 if (a != rhs.a) return false; 00097 if (b != rhs.b) return false; 00098 if (content.size() != rhs.content.size()) return false; 00099 std::vector<BlobComplexContent>::const_iterator iter1 = content.begin(); 00100 std::vector<BlobComplexContent>::const_iterator iter2 = rhs.content.begin(); 00101 while(iter1 != content.end()) 00102 if (*iter1++ != *iter2++) return false; 00103 return true; 00104 }
Definition at line 83 of file BlobComplex.cc.
References a, b, content, GenMuonPlsPt100GeV_cfg::cout, lat::endl(), and iter.
00084 { 00085 std::cout << " a = " << a << std::endl; 00086 std::cout << " b = " << b << std::endl; 00087 for(std::vector<BlobComplexContent>::const_iterator iter = content.begin(); 00088 iter != content.end(); iter++) { 00089 std::cout << " content[" << (iter - content.begin()) << "] =" << std::endl; 00090 iter->print(); 00091 } 00092 }
unsigned int BlobComplexObjects::a |
unsigned int BlobComplexObjects::b |
std::vector<BlobComplexContent> BlobComplexObjects::content |