#include <PixelTrimAllPixels.h>
Public Member Functions | |
void | generateConfiguration (PixelFECConfigInterface *pixelFEC, PixelNameTranslation *trans, const PixelMaskBase &pixelMask) const |
PixelROCTrimBits | getTrimBits (int ROCId) const |
PixelROCTrimBits * | getTrimBits (PixelROCName name) |
PixelTrimAllPixels (std::string filename) | |
PixelTrimAllPixels (std::vector< std::vector< std::string > > &tableMat) | |
void | writeASCII (std::string filename) const |
void | writeBinary (std::string filename) const |
void | writeXML (pos::PixelConfigKey key, int version, std::string path) const |
virtual void | writeXML (std::ofstream *out, std::ofstream *out1=NULL, std::ofstream *out2=NULL) const |
virtual void | writeXMLHeader (pos::PixelConfigKey key, int version, std::string path, std::ofstream *out, std::ofstream *out1=NULL, std::ofstream *out2=NULL) const |
virtual void | writeXMLTrailer (std::ofstream *out, std::ofstream *out1=NULL, std::ofstream *out2=NULL) const |
Public Member Functions inherited from pos::PixelTrimBase | |
PixelTrimBase (std::string description, std::string creator, std::string date) | |
void | setOverride (PixelTrimOverrideBase *trimOverride) |
virtual | ~PixelTrimBase () |
Public Member Functions inherited from pos::PixelConfigBase | |
std::string | creator () |
std::string | date () |
std::string | description () |
std::string | getAuthor () const |
std::string | getComment () const |
PixelConfigBase (std::string description, std::string creator, std::string date) | |
void | setAuthor (std::string author) |
void | setComment (std::string comment) |
virtual void | writeXML (std::ofstream *out) const |
virtual void | writeXMLHeader (pos::PixelConfigKey key, int version, std::string path, std::ofstream *out) const |
virtual void | writeXMLTrailer (std::ofstream *out) const |
virtual | ~PixelConfigBase () |
Private Attributes | |
std::vector< std::string > | rocname_ |
std::vector< PixelROCTrimBits > | trimbits_ |
Definition at line 31 of file PixelTrimAllPixels.h.
PixelTrimAllPixels::PixelTrimAllPixels | ( | std::string | filename | ) |
Definition at line 88 of file PixelTrimAllPixels.cc.
References trackerHits::c, i, recoMuon::in, pos::PixelROCTrimBits::read(), pos::PixelROCTrimBits::readBinary(), indexGen::s2, tmp, and trimbits_.
PixelTrimAllPixels::PixelTrimAllPixels | ( | std::vector< std::vector< std::string > > & | tableMat | ) |
EXTENSION_TABLE_NAME: ROC_TRIMS (VIEW: CONF_KEY_ROC_TRIMS_V)
CONFIG_KEY NOT NULL VARCHAR2(80) KEY_TYPE NOT NULL VARCHAR2(80) KEY_ALIAS NOT NULL VARCHAR2(80) VERSION VARCHAR2(40) KIND_OF_COND NOT NULL VARCHAR2(40) ROC_NAME NOT NULL VARCHAR2(200) TRIM_BITS NOT NULL VARCHAR2(4000)
Definition at line 25 of file PixelTrimAllPixels.cc.
References base64_decode, bits, trackerHits::c, dtNoiseDBValidation_cfg::cerr, n, alignCSCRings::r, pos::PixelROCTrimBits::read(), tmp, and trimbits_.
|
virtual |
Implements pos::PixelTrimBase.
Definition at line 220 of file PixelTrimAllPixels.cc.
References pos::PixelNameTranslation::getHdwAddress(), pos::PixelMaskBase::getMaskBits(), pos::PixelHdwAddress::hubaddress(), i, pos::PixelROCMaskBits::mask(), pos::PixelHdwAddress::mfec(), pos::PixelHdwAddress::mfecchannel(), mergeVDriftHistosByStation::name, pos::PixelHdwAddress::portaddress(), pos::PixelHdwAddress::rocid(), pos::PixelFECConfigInterface::roctrimload(), tmp, and trimbits_.
|
virtual |
Implements pos::PixelTrimBase.
Definition at line 202 of file PixelTrimAllPixels.cc.
References trimbits_.
|
virtual |
Implements pos::PixelTrimBase.
Definition at line 208 of file PixelTrimAllPixels.cc.
References i, mergeVDriftHistosByStation::name, and trimbits_.
|
virtual |
Implements pos::PixelTrimBase.
Definition at line 264 of file PixelTrimAllPixels.cc.
References lut2db_cfg::filename, i, python.rootplot.argparse::module, pos::PixelModuleName::modulename(), mergeVDriftHistosByStation::name, dbtoconf::out, and trimbits_.
|
virtual |
Implements pos::PixelTrimBase.
Definition at line 251 of file PixelTrimAllPixels.cc.
References i, dbtoconf::out, and trimbits_.
|
inlinevirtual |
|
virtual |
Reimplemented from pos::PixelTrimBase.
Definition at line 326 of file PixelTrimAllPixels.cc.
|
virtual |
Reimplemented from pos::PixelTrimBase.
Definition at line 280 of file PixelTrimAllPixels.cc.
References gather_cfg::cout, pos::PixelConfigBase::getAuthor(), pos::PixelConfigBase::getComment(), pos::PixelTimeFormatter::getmSecTime(), and pos::PixelTimeFormatter::getTime().
|
virtual |
Reimplemented from pos::PixelTrimBase.
Definition at line 338 of file PixelTrimAllPixels.cc.
References gather_cfg::cout.
|
private |
Definition at line 71 of file PixelTrimAllPixels.h.
|
private |
Definition at line 72 of file PixelTrimAllPixels.h.
Referenced by generateConfiguration(), getTrimBits(), PixelTrimAllPixels(), writeASCII(), writeBinary(), and writeXML().