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 24 of file PixelROCTrimBits.h.
PixelROCTrimBits::PixelROCTrimBits | ( | ) |
Definition at line 18 of file PixelROCTrimBits.cc.
|
inline |
Definition at line 49 of file PixelROCTrimBits.h.
References rocid_.
Referenced by config.CFG::__str__(), validation.Sample::digest(), VIDSelectorBase.VIDSelectorBase::initialize(), and Vispa.Views.PropertyView.Property::valueChanged().
int PixelROCTrimBits::read | ( | PixelROCName | rocid, |
std::string | in | ||
) |
Definition at line 35 of file PixelROCTrimBits.cc.
References bits_, mps_fire::i, createfilelist::int, and rocid_.
Referenced by edmIntegrityCheck.PublishToFileSystem::get(), Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::goto(), pos::PixelTrimAllPixels::PixelTrimAllPixels(), and Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::setFilterBranches().
int PixelROCTrimBits::read | ( | PixelROCName | rocid, |
std::ifstream & | in | ||
) |
Definition at line 44 of file PixelROCTrimBits.cc.
References bits_, data, mps_fire::i, rocid_, AlCaHLTBitMon_QueryRunRegistry::string, GlobalPosition_Frontier_DevDB_cff::tag, and tmp.
Referenced by edmIntegrityCheck.PublishToFileSystem::get(), Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::goto(), and Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::setFilterBranches().
int PixelROCTrimBits::read | ( | PixelROCName | rocid, |
std::istringstream & | in | ||
) |
Definition at line 92 of file PixelROCTrimBits.cc.
References bits_, data, mps_fire::i, rocid_, AlCaHLTBitMon_QueryRunRegistry::string, GlobalPosition_Frontier_DevDB_cff::tag, and tmp.
Referenced by edmIntegrityCheck.PublishToFileSystem::get(), Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::goto(), and Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::setFilterBranches().
int PixelROCTrimBits::readBinary | ( | PixelROCName | rocid, |
std::ifstream & | in | ||
) |
Definition at line 128 of file PixelROCTrimBits.cc.
Referenced by pos::PixelTrimAllPixels::PixelTrimAllPixels().
void PixelROCTrimBits::setROCTrimBits | ( | PixelROCName | rocid, |
std::string | bits | ||
) |
Definition at line 22 of file PixelROCTrimBits.cc.
References bits_, mps_fire::i, and rocid_.
void PixelROCTrimBits::setTrim | ( | unsigned int | col, |
unsigned int | row, | ||
unsigned int | trim | ||
) |
Definition at line 183 of file PixelROCTrimBits.cc.
References bits_, RecoTauDiscriminantConfiguration::mask, and tmp.
unsigned int PixelROCTrimBits::trim | ( | unsigned int | col, |
unsigned int | row | ||
) | const |
Definition at line 175 of file PixelROCTrimBits.cc.
Referenced by pos::PixelCalibConfiguration::disablePixels(), pos::PixelCalibConfiguration::enablePixels(), and writeASCII().
void PixelROCTrimBits::writeASCII | ( | std::ofstream & | out | ) | const |
Definition at line 153 of file PixelROCTrimBits.cc.
References cuy::col, TauDecayModes::dec, rocid_, pos::PixelROCName::rocname(), and trim().
void PixelROCTrimBits::writeBinary | ( | std::ofstream & | out | ) | const |
Definition at line 139 of file PixelROCTrimBits.cc.
References bits_, mps_fire::i, rocid_, and pos::PixelROCName::rocname().
void PixelROCTrimBits::writeXML | ( | std::ofstream * | out | ) | const |
Definition at line 224 of file PixelROCTrimBits.cc.
References base64_decode, base64_encode(), bits_, rocid_, pos::PixelROCName::rocname(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
friend |
|
private |
Definition at line 53 of file PixelROCTrimBits.h.
Referenced by pos::operator<<(), read(), readBinary(), setROCTrimBits(), setTrim(), trim(), writeBinary(), and writeXML().
|
private |
Definition at line 54 of file PixelROCTrimBits.h.
Referenced by name(), read(), readBinary(), setROCTrimBits(), writeASCII(), writeBinary(), and writeXML().