Container class for database partition parameters. More...
#include <SiStripPartition.h>
Public Types | |
typedef std::pair< uint32_t, uint32_t > | Versions |
Static Public Attributes | |
static const std::string | defaultPartitionName_ = "DefaultPartition" |
Private Member Functions | |
Versions | versions (const std::vector< uint32_t > &) |
Private Attributes | |
Versions | apvCalibV_ |
Versions | apvLatencyV_ |
Versions | apvTimingV_ |
Versions | cabVersion_ |
Versions | dcuVersion_ |
Versions | fastCablingV_ |
Versions | fecVersion_ |
Versions | fedVersion_ |
Versions | fineDelayV_ |
bool | forceCurrentState_ |
bool | forceVersions_ |
uint32_t | globalAnalysisV_ |
std::string | inputDcuInfoXml_ |
std::vector< std::string > | inputFecXml_ |
std::vector< std::string > | inputFedXml_ |
std::string | inputModuleXml_ |
Versions | maskVersion_ |
Versions | optoScanV_ |
std::string | partitionName_ |
Versions | pedestalsV_ |
Versions | psuVersion_ |
uint32_t | runNumber_ |
Versions | runTableVersion_ |
sistrip::RunType | runType_ |
Versions | vpspScanV_ |
Container class for database partition parameters.
Definition at line 24 of file SiStripPartition.h.
typedef std::pair<uint32_t,uint32_t> SiStripPartition::Versions |
Definition at line 44 of file SiStripPartition.h.
SiStripPartition::SiStripPartition | ( | ) |
Definition at line 17 of file SiStripPartition.cc.
SiStripPartition::SiStripPartition | ( | std::string | partition_name | ) |
Definition at line 49 of file SiStripPartition.cc.
References defaultPartitionName_, and partitionName_.
SiStripPartition::SiStripPartition | ( | const SiStripPartition & | input | ) |
Definition at line 83 of file SiStripPartition.cc.
SiStripPartition::~SiStripPartition | ( | ) |
Definition at line 187 of file SiStripPartition.cc.
References inputFecXml_, and inputFedXml_.
|
inline |
Definition at line 211 of file SiStripPartition.h.
References apvCalibV_.
Referenced by operator=(), and operator==().
|
inline |
Definition at line 213 of file SiStripPartition.h.
References apvLatencyV_.
Referenced by operator=(), and operator==().
|
inline |
Definition at line 208 of file SiStripPartition.h.
References apvTimingV_.
Referenced by SiStripCondObjBuilderFromDb::checkForCompatibility(), operator=(), and operator==().
|
inline |
Definition at line 196 of file SiStripPartition.h.
References cabVersion_.
Referenced by SiStripCondObjBuilderFromDb::checkForCompatibility(), operator=(), and operator==().
|
inline |
Definition at line 199 of file SiStripPartition.h.
References dcuVersion_.
Referenced by operator=(), and operator==().
|
inline |
Definition at line 207 of file SiStripPartition.h.
References fastCablingV_.
Referenced by operator=(), and operator==().
|
inline |
Definition at line 198 of file SiStripPartition.h.
References fecVersion_.
Referenced by SiStripCondObjBuilderFromDb::checkForCompatibility(), operator=(), and operator==().
|
inline |
Definition at line 197 of file SiStripPartition.h.
References fedVersion_.
Referenced by SiStripCondObjBuilderFromDb::checkForCompatibility(), operator=(), and operator==().
|
inline |
Definition at line 214 of file SiStripPartition.h.
References fineDelayV_.
Referenced by operator=(), and operator==().
|
inline |
Definition at line 194 of file SiStripPartition.h.
References forceCurrentState_.
Referenced by operator=(), and operator==().
|
inline |
|
inline |
Definition at line 193 of file SiStripPartition.h.
References forceVersions_.
Referenced by operator=(), and operator==().
|
inline |
|
inline |
Definition at line 205 of file SiStripPartition.h.
References globalAnalysisV_.
Referenced by operator=(), and operator==().
|
inline |
Definition at line 217 of file SiStripPartition.h.
References inputDcuInfoXml_.
Referenced by operator=(), and operator==().
|
inline |
Definition at line 218 of file SiStripPartition.h.
References inputFecXml_.
Referenced by operator=(), and operator==().
|
inline |
Definition at line 219 of file SiStripPartition.h.
References inputFedXml_.
Referenced by operator=(), and operator==().
|
inline |
Definition at line 216 of file SiStripPartition.h.
References inputModuleXml_.
Referenced by operator=(), and operator==().
|
inline |
Definition at line 202 of file SiStripPartition.h.
References maskVersion_.
Referenced by SiStripCondObjBuilderFromDb::checkForCompatibility(), operator=(), and operator==().
bool SiStripPartition::operator!= | ( | const SiStripPartition & | input | ) | const |
SiStripPartition & SiStripPartition::operator= | ( | const SiStripPartition & | input | ) |
Definition at line 115 of file SiStripPartition.cc.
References apvCalibV_, apvCalibVersion(), apvLatencyV_, apvLatencyVersion(), apvTimingV_, apvTimingVersion(), cabVersion(), cabVersion_, dcuVersion(), dcuVersion_, fastCablingV_, fastCablingVersion(), fecVersion(), fecVersion_, fedVersion(), fedVersion_, fineDelayV_, fineDelayVersion(), forceCurrentState(), forceCurrentState_, forceVersions(), forceVersions_, globalAnalysisV_, globalAnalysisVersion(), inputDcuInfoXml(), inputDcuInfoXml_, inputFecXml(), inputFecXml_, inputFedXml(), inputFedXml_, inputModuleXml(), inputModuleXml_, maskVersion(), maskVersion_, optoScanV_, optoScanVersion(), partitionName(), partitionName_, pedestalsV_, pedestalsVersion(), psuVersion(), psuVersion_, runNumber(), runNumber_, runTableVersion(), runTableVersion_, runType(), runType_, vpspScanV_, and vpspScanVersion().
bool SiStripPartition::operator== | ( | const SiStripPartition & | input | ) | const |
Definition at line 149 of file SiStripPartition.cc.
References apvCalibV_, apvCalibVersion(), apvLatencyV_, apvLatencyVersion(), apvTimingV_, apvTimingVersion(), cabVersion(), cabVersion_, dcuVersion(), dcuVersion_, fastCablingV_, fastCablingVersion(), fecVersion(), fecVersion_, fedVersion(), fedVersion_, fineDelayV_, fineDelayVersion(), forceCurrentState(), forceCurrentState_, forceVersions(), forceVersions_, globalAnalysisV_, globalAnalysisVersion(), inputDcuInfoXml(), inputDcuInfoXml_, inputFecXml(), inputFecXml_, inputFedXml(), inputFedXml_, inputModuleXml(), inputModuleXml_, maskVersion(), maskVersion_, optoScanV_, optoScanVersion(), partitionName(), partitionName_, pedestalsV_, pedestalsVersion(), psuVersion(), psuVersion_, runNumber(), runNumber_, runTableVersion(), runTableVersion_, runType(), runType_, vpspScanV_, and vpspScanVersion().
|
inline |
Definition at line 209 of file SiStripPartition.h.
References optoScanV_.
Referenced by operator=(), and operator==().
|
inline |
Definition at line 190 of file SiStripPartition.h.
References partitionName_.
Referenced by SiStripDbParams::addPartition(), SiStripCondObjBuilderFromDb::checkForCompatibility(), operator=(), and operator==().
|
inline |
Definition at line 221 of file SiStripPartition.h.
References mergeVDriftHistosByStation::name, and partitionName_.
|
inline |
Definition at line 212 of file SiStripPartition.h.
References pedestalsV_.
Referenced by operator=(), and operator==().
void SiStripPartition::print | ( | std::stringstream & | ss, |
bool | using_db = false |
||
) | const |
Definition at line 715 of file SiStripPartition.cc.
References sistrip::APV_LATENCY, sistrip::APV_TIMING, apvCalibV_, apvLatencyV_, apvTimingV_, cabVersion_, sistrip::CALIBRATION, dcuVersion_, sistrip::FAST_CABLING, fastCablingV_, fecVersion_, fedVersion_, sistrip::FINE_DELAY_TTC, fineDelayV_, forceCurrentState_, forceVersions_, globalAnalysisV_, inputDcuInfoXml_, inputFecXml_, inputFedXml_, inputModuleXml_, maskVersion_, sistrip::OPTO_SCAN, optoScanV_, partitionName_, sistrip::PEDESTALS, pedestalsV_, sistrip::PHYSICS, psuVersion_, runNumber_, runTableVersion_, SiStripEnumsAndStrings::runType(), runType_, sistrip::UNDEFINED_RUN_TYPE, sistrip::UNKNOWN_RUN_TYPE, sistrip::VPSP_SCAN, and vpspScanV_.
Referenced by operator<<().
void SiStripPartition::pset | ( | const edm::ParameterSet & | pset | ) |
Definition at line 229 of file SiStripPartition.cc.
References apvCalibV_, apvLatencyV_, apvTimingV_, cabVersion_, dcuVersion_, edm::false, fastCablingV_, fecVersion_, fedVersion_, fineDelayV_, forceCurrentState_, forceVersions_, edm::ParameterSet::getUntrackedParameter(), globalAnalysisV_, inputDcuInfoXml_, inputFecXml_, inputFedXml_, inputModuleXml_, maskVersion_, optoScanV_, partitionName_, pedestalsV_, psuVersion_, runNumber_, AlCaHLTBitMon_QueryRunRegistry::string, versions(), and vpspScanV_.
Referenced by SiStripDbParams::pset().
|
inline |
Definition at line 200 of file SiStripPartition.h.
References psuVersion_.
Referenced by operator=(), and operator==().
void SiStripPartition::reset | ( | void | ) |
Definition at line 194 of file SiStripPartition.cc.
References apvCalibV_, apvLatencyV_, apvTimingV_, cabVersion_, dcuVersion_, fastCablingV_, fecVersion_, fedVersion_, fineDelayV_, forceCurrentState_, forceVersions_, globalAnalysisV_, inputDcuInfoXml_, inputFecXml_, inputFedXml_, inputModuleXml_, maskVersion_, optoScanV_, partitionName_, pedestalsV_, psuVersion_, runNumber_, runTableVersion_, runType_, sistrip::UNDEFINED_RUN_TYPE, and vpspScanV_.
|
inline |
Definition at line 191 of file SiStripPartition.h.
References runNumber_.
Referenced by operator=(), and operator==().
|
inline |
Definition at line 222 of file SiStripPartition.h.
References DTTTrigCorrFirst::run, and runNumber_.
|
inline |
Definition at line 206 of file SiStripPartition.h.
References runTableVersion_.
Referenced by operator=(), and operator==().
|
inline |
Definition at line 192 of file SiStripPartition.h.
References runType_.
Referenced by operator=(), and operator==().
void SiStripPartition::update | ( | const SiStripConfigDb * const | db | ) |
Definition at line 267 of file SiStripPartition.cc.
References sistrip::APV_LATENCY, sistrip::APV_TIMING, apvCalibV_, apvLatencyV_, apvTimingV_, cabVersion_, sistrip::CALIBRATION, sistrip::CALIBRATION_DECO, sistrip::DAQ_SCOPE_MODE, dcuVersion_, defaultPartitionName_, SiStripConfigDb::deviceFactory(), sistrip::FAST_CABLING, fastCablingV_, fecVersion_, sistrip::FED_CABLING, sistrip::FED_TIMING, fedVersion_, sistrip::FINE_DELAY_PLL, sistrip::FINE_DELAY_TTC, fineDelayV_, forceCurrentState_, forceVersions_, globalAnalysisV_, SiStripConfigDb::handleException(), LogTrace, maskVersion_, sistrip::mlConfigDb_, sistrip::MULTI_MODE, sistrip::OPTO_SCAN, optoScanV_, partitionName_, sistrip::PEDESTALS, pedestalsV_, sistrip::PHYSICS, psuVersion_, sistrip::QUITE_FAST_CABLING, DTTTrigCorrFirst::run, runNumber_, runTableVersion_, runType_, contentValuesCheck::ss, edmStreamStallGrapher::states, sistrip::UNDEFINED_RUN_TYPE, sistrip::UNKNOWN_RUN_TYPE, sistrip::VPSP_SCAN, and vpspScanV_.
Referenced by progressbar.ProgressBar::__next__(), relval_steps.Matrix::__setitem__(), relval_steps.Steps::__setitem__(), Vispa.Gui.VispaWidget.VispaWidget::autosize(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), progressbar.ProgressBar::finish(), Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), relval_steps.Steps::overwrite(), Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), Vispa.Gui.FindDialog.FindDialog::reset(), Vispa.Gui.PortConnection.PointToPointConnection::select(), Vispa.Gui.VispaWidget.VispaWidget::select(), Vispa.Views.LineDecayView.LineDecayContainer::select(), Vispa.Gui.VispaWidget.VispaWidget::setText(), Vispa.Gui.VispaWidget.VispaWidget::setTitle(), Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().
|
private |
Definition at line 862 of file SiStripPartition.cc.
References input, and sistrip::mlConfigDb_.
Referenced by pset().
|
inline |
Definition at line 210 of file SiStripPartition.h.
References vpspScanV_.
Referenced by operator=(), and operator==().
|
private |
Definition at line 168 of file SiStripPartition.h.
Referenced by apvCalibVersion(), operator=(), operator==(), print(), pset(), reset(), and update().
|
private |
Definition at line 172 of file SiStripPartition.h.
Referenced by apvLatencyVersion(), operator=(), operator==(), print(), pset(), reset(), and update().
|
private |
Definition at line 162 of file SiStripPartition.h.
Referenced by apvTimingVersion(), operator=(), operator==(), print(), pset(), reset(), and update().
|
private |
Definition at line 140 of file SiStripPartition.h.
Referenced by cabVersion(), operator=(), operator==(), print(), pset(), reset(), and update().
|
private |
Definition at line 146 of file SiStripPartition.h.
Referenced by dcuVersion(), operator=(), operator==(), print(), pset(), reset(), and update().
|
static |
Definition at line 42 of file SiStripPartition.h.
Referenced by SiStripDbParams::addPartition(), SiStripConfigDb::getAnalysisDescriptions(), SiStripConfigDb::getDcuDetIds(), SiStripConfigDb::getDeviceDescriptions(), SiStripConfigDb::getFedConnections(), SiStripConfigDb::getFedDescriptions(), SiStripPsuDetIdMap::retrieveDcuDeviceAddresses(), SiStripPartition(), update(), and SiStripConfigDb::usingDatabaseCache().
|
private |
Definition at line 160 of file SiStripPartition.h.
Referenced by fastCablingVersion(), operator=(), operator==(), print(), pset(), reset(), and update().
|
private |
Definition at line 144 of file SiStripPartition.h.
Referenced by fecVersion(), operator=(), operator==(), print(), pset(), reset(), and update().
|
private |
Definition at line 142 of file SiStripPartition.h.
Referenced by fedVersion(), operator=(), operator==(), print(), pset(), reset(), and update().
|
private |
Definition at line 174 of file SiStripPartition.h.
Referenced by fineDelayVersion(), operator=(), operator==(), print(), pset(), reset(), and update().
|
private |
Definition at line 136 of file SiStripPartition.h.
Referenced by forceCurrentState(), operator=(), operator==(), print(), pset(), reset(), and update().
|
private |
Definition at line 134 of file SiStripPartition.h.
Referenced by forceVersions(), operator=(), operator==(), print(), pset(), reset(), and update().
|
private |
Definition at line 156 of file SiStripPartition.h.
Referenced by globalAnalysisVersion(), operator=(), operator==(), print(), pset(), reset(), and update().
|
private |
Definition at line 180 of file SiStripPartition.h.
Referenced by inputDcuInfoXml(), operator=(), operator==(), print(), pset(), and reset().
|
private |
Definition at line 182 of file SiStripPartition.h.
Referenced by inputFecXml(), operator=(), operator==(), print(), pset(), reset(), and ~SiStripPartition().
|
private |
Definition at line 184 of file SiStripPartition.h.
Referenced by inputFedXml(), operator=(), operator==(), print(), pset(), reset(), and ~SiStripPartition().
|
private |
Definition at line 178 of file SiStripPartition.h.
Referenced by inputModuleXml(), operator=(), operator==(), print(), pset(), and reset().
|
private |
Definition at line 151 of file SiStripPartition.h.
Referenced by maskVersion(), operator=(), operator==(), print(), pset(), reset(), and update().
|
private |
Definition at line 164 of file SiStripPartition.h.
Referenced by operator=(), operator==(), optoScanVersion(), print(), pset(), reset(), and update().
|
private |
Definition at line 128 of file SiStripPartition.h.
Referenced by operator=(), operator==(), partitionName(), print(), pset(), reset(), SiStripPartition(), and update().
|
private |
Definition at line 170 of file SiStripPartition.h.
Referenced by operator=(), operator==(), pedestalsVersion(), print(), pset(), reset(), and update().
|
private |
Definition at line 148 of file SiStripPartition.h.
Referenced by operator=(), operator==(), print(), pset(), psuVersion(), reset(), and update().
|
private |
Definition at line 130 of file SiStripPartition.h.
Referenced by operator=(), operator==(), print(), pset(), reset(), runNumber(), and update().
|
private |
Definition at line 158 of file SiStripPartition.h.
Referenced by operator=(), operator==(), print(), reset(), runTableVersion(), and update().
|
private |
Definition at line 132 of file SiStripPartition.h.
Referenced by operator=(), operator==(), print(), reset(), runType(), and update().
|
private |
Definition at line 166 of file SiStripPartition.h.
Referenced by operator=(), operator==(), print(), pset(), reset(), update(), and vpspScanVersion().