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 20 of file PixelROCTrimBits.h.
PixelROCTrimBits::PixelROCTrimBits | ( | ) |
Definition at line 18 of file PixelROCTrimBits.cc.
|
inline |
Definition at line 45 of file PixelROCTrimBits.h.
References rocid_.
Referenced by cuy.divideElement::__init__(), cuy.plotElement::__init__(), cuy.additionElement::__init__(), cuy.superimposeElement::__init__(), cuy.graphElement::__init__(), config.CFG::__str__(), and Vispa.Views.PropertyView.Property::valueChanged().
int PixelROCTrimBits::read | ( | PixelROCName | rocid, |
std::string | in | ||
) |
Definition at line 41 of file PixelROCTrimBits.cc.
References bits_, i, and rocid_.
Referenced by 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 50 of file PixelROCTrimBits.cc.
References bits_, data, i, j, rocid_, AlCaHLTBitMon_QueryRunRegistry::string, GlobalPosition_Frontier_DevDB_cff::tag, and tmp.
Referenced by Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::goto(), and Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::setFilterBranches().
int PixelROCTrimBits::read | ( | PixelROCName | rocid, |
std::istringstream & | in | ||
) |
Definition at line 98 of file PixelROCTrimBits.cc.
References bits_, data, i, j, rocid_, AlCaHLTBitMon_QueryRunRegistry::string, GlobalPosition_Frontier_DevDB_cff::tag, and tmp.
Referenced by Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::goto(), and Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::setFilterBranches().
int PixelROCTrimBits::readBinary | ( | PixelROCName | rocid, |
std::ifstream & | in | ||
) |
Definition at line 134 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_, gather_cfg::cout, i, and rocid_.
void PixelROCTrimBits::setTrim | ( | unsigned int | col, |
unsigned int | row, | ||
unsigned int | trim | ||
) |
Definition at line 189 of file PixelROCTrimBits.cc.
References assert(), bits_, and tmp.
unsigned int PixelROCTrimBits::trim | ( | unsigned int | col, |
unsigned int | row | ||
) | const |
Definition at line 181 of file PixelROCTrimBits.cc.
Referenced by pos::PixelCalibConfiguration::disablePixels(), pos::PixelCalibConfiguration::enablePixels(), and writeASCII().
void PixelROCTrimBits::writeASCII | ( | std::ofstream & | out | ) | const |
Definition at line 159 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 145 of file PixelROCTrimBits.cc.
References bits_, hitfit::char, i, rocid_, and pos::PixelROCName::rocname().
void PixelROCTrimBits::writeXML | ( | std::ofstream * | out | ) | const |
Definition at line 230 of file PixelROCTrimBits.cc.
References base64_decode, base64_encode(), bits_, rocid_, pos::PixelROCName::rocname(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
friend |
|
private |
Definition at line 49 of file PixelROCTrimBits.h.
Referenced by 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().