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 143 of file PixelROCMaskBits.cc.
References bits_, cuy::col, and createJobs::tmp.
Referenced by pos::PixelCalibConfiguration::enablePixels(), pos::PixelTrimCommon::generateConfiguration(), pos::PixelTrimAllPixels::generateConfiguration(), setMask(), and writeASCII().
|
inline |
Definition at line 45 of file PixelROCMaskBits.h.
References rocid_.
Referenced by config.CFG::__str__(), validation.Sample::digest(), and VIDSelectorBase.VIDSelectorBase::initialize().
int PixelROCMaskBits::read | ( | const PixelROCName & | rocid, |
std::string | in | ||
) |
Definition at line 36 of file PixelROCMaskBits.cc.
References bits_, mps_fire::i, recoMuon::in, createfilelist::int, and rocid_.
Referenced by edmIntegrityCheck.PublishToFileSystem::get().
int PixelROCMaskBits::read | ( | const PixelROCName & | rocid, |
std::ifstream & | in | ||
) |
Definition at line 45 of file PixelROCMaskBits.cc.
References bits_, data, mps_fire::i, recoMuon::in, dqmiolumiharvest::j, rocid_, AlCaHLTBitMon_QueryRunRegistry::string, and makeGlobalPositionRcd_cfg::tag.
Referenced by edmIntegrityCheck.PublishToFileSystem::get().
int PixelROCMaskBits::read | ( | const PixelROCName & | rocid, |
std::istringstream & | in | ||
) |
Definition at line 82 of file PixelROCMaskBits.cc.
References bits_, data, mps_fire::i, recoMuon::in, dqmiolumiharvest::j, rocid_, AlCaHLTBitMon_QueryRunRegistry::string, and makeGlobalPositionRcd_cfg::tag.
Referenced by edmIntegrityCheck.PublishToFileSystem::get().
int PixelROCMaskBits::readBinary | ( | const PixelROCName & | rocid, |
std::ifstream & | in | ||
) |
Definition at line 108 of file PixelROCMaskBits.cc.
References bits_, recoMuon::in, and rocid_.
void PixelROCMaskBits::setMask | ( | unsigned int | col, |
unsigned int | row, | ||
unsigned int | mask | ||
) |
Definition at line 155 of file PixelROCMaskBits.cc.
References cms::cuda::assert(), triggerObjects_cff::bit, bits_, cuy::col, and mask().
void PixelROCMaskBits::setROCMaskBits | ( | PixelROCName & | rocid, |
std::string | bits | ||
) |
Definition at line 21 of file PixelROCMaskBits.cc.
References ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::pixelStatus::bits, bits_, mps_fire::i, rocid_, and AlCaHLTBitMon_QueryRunRegistry::string.
void PixelROCMaskBits::writeASCII | ( | std::ofstream & | out | ) | const |
Definition at line 127 of file PixelROCMaskBits.cc.
References cuy::col, mask(), MillePedeFileConverter_cfg::out, rocid_, and pos::PixelROCName::rocname().
void PixelROCMaskBits::writeBinary | ( | std::ofstream & | out | ) | const |
Definition at line 117 of file PixelROCMaskBits.cc.
References bits_, mps_fire::i, MillePedeFileConverter_cfg::out, rocid_, and pos::PixelROCName::rocname().
void PixelROCMaskBits::writeXML | ( | std::ofstream * | out | ) | const |
Definition at line 189 of file PixelROCMaskBits.cc.
References base64_encode(), bits_, MillePedeFileConverter_cfg::out, rocid_, pos::PixelROCName::rocname(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
friend |
|
private |
Definition at line 51 of file PixelROCMaskBits.h.
Referenced by mask(), read(), readBinary(), setMask(), setROCMaskBits(), writeBinary(), and writeXML().
|
private |
Definition at line 50 of file PixelROCMaskBits.h.
Referenced by name(), read(), readBinary(), setROCMaskBits(), writeASCII(), writeBinary(), and writeXML().