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 24 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 166 of file PixelROCMaskBits.cc.
Referenced by pos::PixelCalibConfiguration::enablePixels(), pos::PixelTrimCommon::generateConfiguration(), pos::PixelTrimAllPixels::generateConfiguration(), and writeASCII().
|
inline |
Definition at line 47 of file PixelROCMaskBits.h.
References operator<<, rocid_, and alignCSCRings::s.
Referenced by config.CFG::__str__(), validation.Sample::digest(), VIDSelectorBase.VIDSelectorBase::initialize(), and Vispa.Views.PropertyView.Property::valueChanged().
int PixelROCMaskBits::read | ( | const PixelROCName & | rocid, |
std::string | in | ||
) |
Definition at line 40 of file PixelROCMaskBits.cc.
References bits_, mps_fire::i, createfilelist::int, and rocid_.
Referenced by edmIntegrityCheck.PublishToFileSystem::get(), 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 50 of file PixelROCMaskBits.cc.
References bits_, data, mps_fire::i, rocid_, AlCaHLTBitMon_QueryRunRegistry::string, and GlobalPosition_Frontier_DevDB_cff::tag.
Referenced by edmIntegrityCheck.PublishToFileSystem::get(), 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 94 of file PixelROCMaskBits.cc.
References bits_, data, mps_fire::i, rocid_, AlCaHLTBitMon_QueryRunRegistry::string, and GlobalPosition_Frontier_DevDB_cff::tag.
Referenced by edmIntegrityCheck.PublishToFileSystem::get(), 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 125 of file PixelROCMaskBits.cc.
Referenced by pos::PixelMaskAllPixels::PixelMaskAllPixels().
void PixelROCMaskBits::setMask | ( | unsigned int | col, |
unsigned int | row, | ||
unsigned int | mask | ||
) |
Definition at line 180 of file PixelROCMaskBits.cc.
References bits_.
void PixelROCMaskBits::setROCMaskBits | ( | PixelROCName & | rocid, |
std::string | bits | ||
) |
Definition at line 23 of file PixelROCMaskBits.cc.
References bits_, mps_fire::i, rocid_, and AlCaHLTBitMon_QueryRunRegistry::string.
void PixelROCMaskBits::writeASCII | ( | std::ofstream & | out | ) | const |
Definition at line 149 of file PixelROCMaskBits.cc.
References cuy::col, mask(), rocid_, and pos::PixelROCName::rocname().
void PixelROCMaskBits::writeBinary | ( | std::ofstream & | out | ) | const |
Definition at line 137 of file PixelROCMaskBits.cc.
References bits_, mps_fire::i, rocid_, and pos::PixelROCName::rocname().
void PixelROCMaskBits::writeXML | ( | std::ofstream * | out | ) | const |
Definition at line 218 of file PixelROCMaskBits.cc.
References base64_encode(), bits_, rocid_, pos::PixelROCName::rocname(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
friend |
Referenced by name().
|
private |
Definition at line 54 of file PixelROCMaskBits.h.
Referenced by mask(), pos::operator<<(), read(), readBinary(), setMask(), setROCMaskBits(), writeBinary(), and writeXML().
|
private |
Definition at line 53 of file PixelROCMaskBits.h.
Referenced by name(), read(), readBinary(), setROCMaskBits(), writeASCII(), writeBinary(), and writeXML().