#include <Phase2TrackerClusterizerArray.h>
Public Member Functions | |
unsigned int | columns () const |
unsigned int | index (unsigned int, unsigned int) const |
bool | inside (unsigned int, unsigned int) const |
bool | operator() (unsigned int, unsigned int) const |
Phase2TrackerClusterizerArray () | |
Phase2TrackerClusterizerArray (unsigned int, unsigned int) | |
unsigned int | rows () const |
void | set (unsigned int, unsigned int, bool) |
void | setSize (unsigned int, unsigned int) |
unsigned int | size () const |
Private Attributes | |
std::vector< bool > | matrix_ |
unsigned int | ncols_ |
unsigned int | nrows_ |
Definition at line 6 of file Phase2TrackerClusterizerArray.h.
Phase2TrackerClusterizerArray::Phase2TrackerClusterizerArray | ( | ) |
Definition at line 7 of file Phase2TrackerClusterizerArray.cc.
Phase2TrackerClusterizerArray::Phase2TrackerClusterizerArray | ( | unsigned int | nrows, |
unsigned int | ncols | ||
) |
Definition at line 9 of file Phase2TrackerClusterizerArray.cc.
References setSize().
unsigned int Phase2TrackerClusterizerArray::columns | ( | ) | const |
Definition at line 45 of file Phase2TrackerClusterizerArray.cc.
References ncols_.
unsigned int Phase2TrackerClusterizerArray::index | ( | unsigned int | row, |
unsigned int | col | ||
) | const |
Definition at line 77 of file Phase2TrackerClusterizerArray.cc.
References nrows_.
Referenced by BeautifulSoup.PageElement::_invert(), operator()(), and set().
bool Phase2TrackerClusterizerArray::inside | ( | unsigned int | row, |
unsigned int | col | ||
) | const |
Definition at line 53 of file Phase2TrackerClusterizerArray.cc.
References ncols_, and nrows_.
Referenced by operator()().
bool Phase2TrackerClusterizerArray::operator() | ( | unsigned int | row, |
unsigned int | col | ||
) | const |
Definition at line 28 of file Phase2TrackerClusterizerArray.cc.
References index(), inside(), and matrix_.
unsigned int Phase2TrackerClusterizerArray::rows | ( | ) | const |
Definition at line 37 of file Phase2TrackerClusterizerArray.cc.
References nrows_.
void Phase2TrackerClusterizerArray::set | ( | unsigned int | row, |
unsigned int | col, | ||
bool | state | ||
) |
Definition at line 61 of file Phase2TrackerClusterizerArray.cc.
References index(), and matrix_.
Referenced by Phase2TrackerClusterizerAlgorithm::clearMatrix(), and Phase2TrackerClusterizerAlgorithm::fillMatrix().
void Phase2TrackerClusterizerArray::setSize | ( | unsigned int | nrows, |
unsigned int | ncols | ||
) |
Definition at line 17 of file Phase2TrackerClusterizerArray.cc.
References matrix_, ncols_, and nrows_.
Referenced by Phase2TrackerClusterizerArray(), and Phase2TrackerClusterizerAlgorithm::setup().
unsigned int Phase2TrackerClusterizerArray::size | ( | void | ) | const |
Definition at line 69 of file Phase2TrackerClusterizerArray.cc.
References matrix_.
|
private |
Definition at line 24 of file Phase2TrackerClusterizerArray.h.
Referenced by operator()(), set(), setSize(), and size().
|
private |
Definition at line 23 of file Phase2TrackerClusterizerArray.h.