This class implements.. More...
#include "interface/PixelROCMaskBits.h"
Public Member Functions | |
unsigned int | mask (unsigned int col, unsigned int row) const |
PixelROCName | name () const |
PixelROCMaskBits () | |
int | read (const PixelROCName &rocid, std::string in) |
int | read (const PixelROCName &rocid, std::ifstream &in) |
int | read (const PixelROCName &rocid, std::istringstream &in) |
int | readBinary (const PixelROCName &rocid, std::ifstream &in) |
void | setMask (unsigned int col, unsigned int row, unsigned int mask) |
void | setROCMaskBits (PixelROCName &rocid, std::string bits) |
void | writeASCII (std::ofstream &out) const |
void | writeBinary (std::ofstream &out) const |
void | writeXML (std::ofstream *out) const |
Private Attributes | |
unsigned char | bits_ [520] |
PixelROCName | rocid_ |
Friends | |
std::ostream & | operator<< (std::ostream &s, const PixelROCMaskBits &maskbits) |
This class implements..
A longer explanation will be placed here later
Definition at line 20 of file PixelROCMaskBits.h.
PixelROCMaskBits::PixelROCMaskBits | ( | ) |
Definition at line 18 of file PixelROCMaskBits.cc.
unsigned int PixelROCMaskBits::mask | ( | unsigned int | col, |
unsigned int | row | ||
) | const |
Definition at line 173 of file PixelROCMaskBits.cc.
Referenced by pos::PixelCalibConfiguration::enablePixels(), pos::PixelTrimCommon::generateConfiguration(), pos::PixelTrimAllPixels::generateConfiguration(), and writeASCII().
|
inline |
Definition at line 43 of file PixelROCMaskBits.h.
References rocid_.
Referenced by BeautifulSoup.Tag::_invert(), and Vispa.Views.PropertyView.Property::valueChanged().
int PixelROCMaskBits::read | ( | const PixelROCName & | rocid, |
std::string | in | ||
) |
Definition at line 47 of file PixelROCMaskBits.cc.
References bits_, i, and rocid_.
Referenced by Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::goto(), pos::PixelMaskAllPixels::PixelMaskAllPixels(), and Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::setFilterBranches().
int PixelROCMaskBits::read | ( | const PixelROCName & | rocid, |
std::ifstream & | in | ||
) |
Definition at line 57 of file PixelROCMaskBits.cc.
References bits_, data, i, j, rocid_, and GlobalPosition_Frontier_DevDB_cff::tag.
Referenced by Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::goto(), and Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::setFilterBranches().
int PixelROCMaskBits::read | ( | const PixelROCName & | rocid, |
std::istringstream & | in | ||
) |
Definition at line 101 of file PixelROCMaskBits.cc.
References bits_, data, i, j, rocid_, and GlobalPosition_Frontier_DevDB_cff::tag.
Referenced by Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::goto(), and Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::setFilterBranches().
int PixelROCMaskBits::readBinary | ( | const PixelROCName & | rocid, |
std::ifstream & | in | ||
) |
Definition at line 132 of file PixelROCMaskBits.cc.
Referenced by pos::PixelMaskAllPixels::PixelMaskAllPixels().
void PixelROCMaskBits::setMask | ( | unsigned int | col, |
unsigned int | row, | ||
unsigned int | mask | ||
) |
Definition at line 187 of file PixelROCMaskBits.cc.
References bits_.
void PixelROCMaskBits::setROCMaskBits | ( | PixelROCName & | rocid, |
std::string | bits | ||
) |
Definition at line 23 of file PixelROCMaskBits.cc.
References bits_, gather_cfg::cout, i, and rocid_.
void PixelROCMaskBits::writeASCII | ( | std::ofstream & | out | ) | const |
Definition at line 156 of file PixelROCMaskBits.cc.
References mask(), rocid_, and pos::PixelROCName::rocname().
void PixelROCMaskBits::writeBinary | ( | std::ofstream & | out | ) | const |
Definition at line 144 of file PixelROCMaskBits.cc.
References bits_, i, rocid_, and pos::PixelROCName::rocname().
void PixelROCMaskBits::writeXML | ( | std::ofstream * | out | ) | const |
Definition at line 225 of file PixelROCMaskBits.cc.
References base64_encode(), bits_, rocid_, and pos::PixelROCName::rocname().
|
friend |
|
private |
Definition at line 50 of file PixelROCMaskBits.h.
Referenced by mask(), read(), readBinary(), setMask(), setROCMaskBits(), writeBinary(), and writeXML().
|
private |
Definition at line 49 of file PixelROCMaskBits.h.
Referenced by name(), read(), readBinary(), setROCMaskBits(), writeASCII(), writeBinary(), and writeXML().