#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 EnergyCorrector::c, mps_fire::i, recoMuon::in, pos::PixelROCTrimBits::read(), pos::PixelROCTrimBits::readBinary(), indexGen::s2, AlCaHLTBitMon_QueryRunRegistry::string, 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, EnergyCorrector::c, MessageLogger_cfi::cerr, gen::n, alignCSCRings::r, pos::PixelROCTrimBits::read(), AlCaHLTBitMon_QueryRunRegistry::string, tmp, and trimbits_.
|
virtual |
Implements pos::PixelTrimBase.
Definition at line 220 of file PixelTrimAllPixels.cc.
References cuy::col, pos::PixelNameTranslation::getHdwAddress(), pos::PixelMaskBase::getMaskBits(), pos::PixelHdwAddress::hubaddress(), mps_fire::i, pos::PixelROCMaskBits::mask(), pos::PixelHdwAddress::mfec(), pos::PixelHdwAddress::mfecchannel(), dataset::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_.
Referenced by writeXML().
|
virtual |
Implements pos::PixelTrimBase.
Definition at line 208 of file PixelTrimAllPixels.cc.
References mps_fire::i, dataset::name, and trimbits_.
|
virtual |
Implements pos::PixelTrimBase.
Definition at line 264 of file PixelTrimAllPixels.cc.
References corrVsCorr::filename, mps_fire::i, python.rootplot.argparse::module, pos::PixelModuleName::modulename(), dataset::name, MillePedeFileConverter_cfg::out, AlCaHLTBitMon_QueryRunRegistry::string, and trimbits_.
|
virtual |
Implements pos::PixelTrimBase.
Definition at line 251 of file PixelTrimAllPixels.cc.
References mps_fire::i, MillePedeFileConverter_cfg::out, and trimbits_.
|
inlinevirtual |
Reimplemented from pos::PixelTrimBase.
Definition at line 48 of file PixelTrimAllPixels.h.
References getTrimBits(), crabWrapper::key, dataset::name, NULL, MillePedeFileConverter_cfg::out, callgraph::path, AlCaHLTBitMon_QueryRunRegistry::string, jetIDSelector_cfi::version, writeXMLHeader(), and writeXMLTrailer().
|
virtual |
Reimplemented from pos::PixelTrimBase.
Definition at line 326 of file PixelTrimAllPixels.cc.
References mps_fire::i, AlCaHLTBitMon_QueryRunRegistry::string, and trimbits_.
|
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(), pos::PixelTimeFormatter::getTime(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by writeXML().
|
virtual |
Reimplemented from pos::PixelTrimBase.
Definition at line 338 of file PixelTrimAllPixels.cc.
References gather_cfg::cout, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by writeXML().
|
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().