This class implements.. More...
#include "interface/PixelROCTrimBits.h"
Public Member Functions | |
PixelROCName | name () const |
PixelROCTrimBits () | |
int | read (PixelROCName rocid, std::string in) |
int | read (PixelROCName rocid, std::ifstream &in) |
int | read (PixelROCName rocid, std::istringstream &in) |
int | readBinary (PixelROCName rocid, std::ifstream &in) |
void | setROCTrimBits (PixelROCName rocid, std::string bits) |
void | setTrim (unsigned int col, unsigned int row, unsigned int trim) |
unsigned int | trim (unsigned int col, unsigned int row) const |
void | writeASCII (std::ofstream &out) const |
void | writeBinary (std::ofstream &out) const |
void | writeXML (std::ofstream *out) const |
Private Attributes | |
unsigned char | bits_ [2080] |
PixelROCName | rocid_ |
Friends | |
std::ostream & | operator<< (std::ostream &s, const PixelROCTrimBits &trimbits) |
This class implements..
A longer explanation will be placed here later
Definition at line 23 of file PixelROCTrimBits.h.
PixelROCTrimBits::PixelROCTrimBits | ( | ) |
Definition at line 18 of file PixelROCTrimBits.cc.
|
inline |
Definition at line 46 of file PixelROCTrimBits.h.
References rocid_.
Referenced by config.CFG::__str__(), validation.Sample::digest(), and VIDSelectorBase.VIDSelectorBase::initialize().
int PixelROCTrimBits::read | ( | PixelROCName | rocid, |
std::string | in | ||
) |
Definition at line 30 of file PixelROCTrimBits.cc.
References bits_, mps_fire::i, recoMuon::in, createfilelist::int, and rocid_.
Referenced by edmIntegrityCheck.PublishToFileSystem::get().
int PixelROCTrimBits::read | ( | PixelROCName | rocid, |
std::ifstream & | in | ||
) |
Definition at line 38 of file PixelROCTrimBits.cc.
References bits_, data, mps_fire::i, recoMuon::in, dqmiolumiharvest::j, rocid_, AlCaHLTBitMon_QueryRunRegistry::string, makeGlobalPositionRcd_cfg::tag, and createJobs::tmp.
Referenced by edmIntegrityCheck.PublishToFileSystem::get().
int PixelROCTrimBits::read | ( | PixelROCName | rocid, |
std::istringstream & | in | ||
) |
Definition at line 79 of file PixelROCTrimBits.cc.
References bits_, data, mps_fire::i, recoMuon::in, dqmiolumiharvest::j, rocid_, AlCaHLTBitMon_QueryRunRegistry::string, makeGlobalPositionRcd_cfg::tag, and createJobs::tmp.
Referenced by edmIntegrityCheck.PublishToFileSystem::get().
int PixelROCTrimBits::readBinary | ( | PixelROCName | rocid, |
std::ifstream & | in | ||
) |
Definition at line 108 of file PixelROCTrimBits.cc.
References bits_, recoMuon::in, and rocid_.
void PixelROCTrimBits::setROCTrimBits | ( | PixelROCName | rocid, |
std::string | bits | ||
) |
void PixelROCTrimBits::setTrim | ( | unsigned int | col, |
unsigned int | row, | ||
unsigned int | trim | ||
) |
Definition at line 155 of file PixelROCTrimBits.cc.
References cms::cuda::assert(), bits_, cuy::col, createJobs::tmp, and trim().
unsigned int PixelROCTrimBits::trim | ( | unsigned int | col, |
unsigned int | row | ||
) | const |
Definition at line 148 of file PixelROCTrimBits.cc.
References bits_, cuy::col, and createJobs::tmp.
Referenced by pos::PixelCalibConfiguration::disablePixels(), pos::PixelCalibConfiguration::enablePixels(), setTrim(), and writeASCII().
void PixelROCTrimBits::writeASCII | ( | std::ofstream & | out | ) | const |
Definition at line 128 of file PixelROCTrimBits.cc.
References cuy::col, TauDecayModes::dec, MillePedeFileConverter_cfg::out, rocid_, pos::PixelROCName::rocname(), and trim().
void PixelROCTrimBits::writeBinary | ( | std::ofstream & | out | ) | const |
Definition at line 116 of file PixelROCTrimBits.cc.
References bits_, mps_fire::i, MillePedeFileConverter_cfg::out, rocid_, and pos::PixelROCName::rocname().
void PixelROCTrimBits::writeXML | ( | std::ofstream * | out | ) | const |
Definition at line 189 of file PixelROCTrimBits.cc.
References base64_decode, base64_encode(), bits_, MillePedeFileConverter_cfg::out, rocid_, pos::PixelROCName::rocname(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
friend |
|
private |
Definition at line 49 of file PixelROCTrimBits.h.
Referenced by pos::operator<<(), read(), readBinary(), setROCTrimBits(), setTrim(), trim(), writeBinary(), and writeXML().
|
private |
Definition at line 50 of file PixelROCTrimBits.h.
Referenced by name(), read(), readBinary(), setROCTrimBits(), writeASCII(), writeBinary(), and writeXML().