Container class for database partition parameters. More...
#include <SiStripPartition.h>
Public Types | |
typedef std::pair< uint32_t, uint32_t > | Versions |
Static Public Attributes | |
static std::string | defaultPartitionName_ = "DefaultPartition" |
Private Member Functions | |
Versions | versions (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 25 of file SiStripPartition.h.
typedef std::pair<uint32_t,uint32_t> SiStripPartition::Versions |
Definition at line 45 of file SiStripPartition.h.
SiStripPartition::SiStripPartition | ( | ) |
Definition at line 18 of file SiStripPartition.cc.
SiStripPartition::SiStripPartition | ( | std::string | partition_name | ) |
Definition at line 50 of file SiStripPartition.cc.
References defaultPartitionName_, and partitionName_.
SiStripPartition::SiStripPartition | ( | const SiStripPartition & | input | ) |
Definition at line 84 of file SiStripPartition.cc.
SiStripPartition::~SiStripPartition | ( | ) |
Definition at line 188 of file SiStripPartition.cc.
References inputFecXml_, and inputFedXml_.
|
inline |
Definition at line 212 of file SiStripPartition.h.
References apvCalibV_.
Referenced by operator=(), and operator==().
|
inline |
Definition at line 214 of file SiStripPartition.h.
References apvLatencyV_.
Referenced by operator=(), and operator==().
|
inline |
Definition at line 209 of file SiStripPartition.h.
References apvTimingV_.
Referenced by SiStripCondObjBuilderFromDb::checkForCompatibility(), operator=(), and operator==().
|
inline |
Definition at line 197 of file SiStripPartition.h.
References cabVersion_.
Referenced by SiStripCondObjBuilderFromDb::checkForCompatibility(), operator=(), and operator==().
|
inline |
Definition at line 200 of file SiStripPartition.h.
References dcuVersion_.
Referenced by operator=(), and operator==().
|
inline |
Definition at line 208 of file SiStripPartition.h.
References fastCablingV_.
Referenced by operator=(), and operator==().
|
inline |
Definition at line 199 of file SiStripPartition.h.
References fecVersion_.
Referenced by SiStripCondObjBuilderFromDb::checkForCompatibility(), operator=(), and operator==().
|
inline |
Definition at line 198 of file SiStripPartition.h.
References fedVersion_.
Referenced by SiStripCondObjBuilderFromDb::checkForCompatibility(), operator=(), and operator==().
|
inline |
Definition at line 215 of file SiStripPartition.h.
References fineDelayV_.
Referenced by operator=(), and operator==().
|
inline |
Definition at line 195 of file SiStripPartition.h.
References forceCurrentState_.
Referenced by operator=(), and operator==().
|
inline |
|
inline |
Definition at line 194 of file SiStripPartition.h.
References forceVersions_.
Referenced by operator=(), and operator==().
|
inline |
|
inline |
Definition at line 206 of file SiStripPartition.h.
References globalAnalysisV_.
Referenced by operator=(), and operator==().
|
inline |
Definition at line 218 of file SiStripPartition.h.
References inputDcuInfoXml_.
Referenced by operator=(), and operator==().
|
inline |
Definition at line 219 of file SiStripPartition.h.
References inputFecXml_.
Referenced by operator=(), and operator==().
|
inline |
Definition at line 220 of file SiStripPartition.h.
References inputFedXml_.
Referenced by operator=(), and operator==().
|
inline |
Definition at line 217 of file SiStripPartition.h.
References inputModuleXml_.
Referenced by operator=(), and operator==().
|
inline |
Definition at line 203 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 116 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 150 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 210 of file SiStripPartition.h.
References optoScanV_.
Referenced by operator=(), and operator==().
|
inline |
Definition at line 191 of file SiStripPartition.h.
References partitionName_.
Referenced by SiStripDbParams::addPartition(), SiStripCondObjBuilderFromDb::checkForCompatibility(), operator=(), and operator==().
|
inline |
Definition at line 222 of file SiStripPartition.h.
References mergeVDriftHistosByStation::name, and partitionName_.
|
inline |
Definition at line 213 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 716 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 230 of file SiStripPartition.cc.
References apvCalibV_, apvLatencyV_, apvTimingV_, cabVersion_, dcuVersion_, funct::false, fastCablingV_, fecVersion_, fedVersion_, fineDelayV_, forceCurrentState_, forceVersions_, edm::ParameterSet::getUntrackedParameter(), globalAnalysisV_, inputDcuInfoXml_, inputFecXml_, inputFedXml_, inputModuleXml_, maskVersion_, optoScanV_, partitionName_, pedestalsV_, psuVersion_, runNumber_, versions(), and vpspScanV_.
Referenced by SiStripDbParams::pset().
|
inline |
Definition at line 201 of file SiStripPartition.h.
References psuVersion_.
Referenced by operator=(), and operator==().
void SiStripPartition::reset | ( | void | ) |
Definition at line 195 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 192 of file SiStripPartition.h.
References runNumber_.
Referenced by operator=(), and operator==().
|
inline |
Definition at line 223 of file SiStripPartition.h.
References DTTTrigCorrFirst::run, and runNumber_.
|
inline |
Definition at line 207 of file SiStripPartition.h.
References runTableVersion_.
Referenced by operator=(), and operator==().
|
inline |
Definition at line 193 of file SiStripPartition.h.
References runType_.
Referenced by operator=(), and operator==().
void SiStripPartition::update | ( | const SiStripConfigDb * const | db | ) |
Definition at line 268 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_, 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 863 of file SiStripPartition.cc.
References sistrip::mlConfigDb_.
Referenced by pset().
|
inline |
Definition at line 211 of file SiStripPartition.h.
References vpspScanV_.
Referenced by operator=(), and operator==().
|
private |
Definition at line 169 of file SiStripPartition.h.
Referenced by apvCalibVersion(), operator=(), operator==(), print(), pset(), reset(), and update().
|
private |
Definition at line 173 of file SiStripPartition.h.
Referenced by apvLatencyVersion(), operator=(), operator==(), print(), pset(), reset(), and update().
|
private |
Definition at line 163 of file SiStripPartition.h.
Referenced by apvTimingVersion(), operator=(), operator==(), print(), pset(), reset(), and update().
|
private |
Definition at line 141 of file SiStripPartition.h.
Referenced by cabVersion(), operator=(), operator==(), print(), pset(), reset(), and update().
|
private |
Definition at line 147 of file SiStripPartition.h.
Referenced by dcuVersion(), operator=(), operator==(), print(), pset(), reset(), and update().
|
static |
Definition at line 43 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 161 of file SiStripPartition.h.
Referenced by fastCablingVersion(), operator=(), operator==(), print(), pset(), reset(), and update().
|
private |
Definition at line 145 of file SiStripPartition.h.
Referenced by fecVersion(), operator=(), operator==(), print(), pset(), reset(), and update().
|
private |
Definition at line 143 of file SiStripPartition.h.
Referenced by fedVersion(), operator=(), operator==(), print(), pset(), reset(), and update().
|
private |
Definition at line 175 of file SiStripPartition.h.
Referenced by fineDelayVersion(), operator=(), operator==(), print(), pset(), reset(), and update().
|
private |
Definition at line 137 of file SiStripPartition.h.
Referenced by forceCurrentState(), operator=(), operator==(), print(), pset(), reset(), and update().
|
private |
Definition at line 135 of file SiStripPartition.h.
Referenced by forceVersions(), operator=(), operator==(), print(), pset(), reset(), and update().
|
private |
Definition at line 157 of file SiStripPartition.h.
Referenced by globalAnalysisVersion(), operator=(), operator==(), print(), pset(), reset(), and update().
|
private |
Definition at line 181 of file SiStripPartition.h.
Referenced by inputDcuInfoXml(), operator=(), operator==(), print(), pset(), and reset().
|
private |
Definition at line 183 of file SiStripPartition.h.
Referenced by inputFecXml(), operator=(), operator==(), print(), pset(), reset(), and ~SiStripPartition().
|
private |
Definition at line 185 of file SiStripPartition.h.
Referenced by inputFedXml(), operator=(), operator==(), print(), pset(), reset(), and ~SiStripPartition().
|
private |
Definition at line 179 of file SiStripPartition.h.
Referenced by inputModuleXml(), operator=(), operator==(), print(), pset(), and reset().
|
private |
Definition at line 152 of file SiStripPartition.h.
Referenced by maskVersion(), operator=(), operator==(), print(), pset(), reset(), and update().
|
private |
Definition at line 165 of file SiStripPartition.h.
Referenced by operator=(), operator==(), optoScanVersion(), print(), pset(), reset(), and update().
|
private |
Definition at line 129 of file SiStripPartition.h.
Referenced by operator=(), operator==(), partitionName(), print(), pset(), reset(), SiStripPartition(), and update().
|
private |
Definition at line 171 of file SiStripPartition.h.
Referenced by operator=(), operator==(), pedestalsVersion(), print(), pset(), reset(), and update().
|
private |
Definition at line 149 of file SiStripPartition.h.
Referenced by operator=(), operator==(), print(), pset(), psuVersion(), reset(), and update().
|
private |
Definition at line 131 of file SiStripPartition.h.
Referenced by operator=(), operator==(), print(), pset(), reset(), runNumber(), and update().
|
private |
Definition at line 159 of file SiStripPartition.h.
Referenced by operator=(), operator==(), print(), reset(), runTableVersion(), and update().
|
private |
Definition at line 133 of file SiStripPartition.h.
Referenced by operator=(), operator==(), print(), reset(), runType(), and update().
|
private |
Definition at line 167 of file SiStripPartition.h.
Referenced by operator=(), operator==(), print(), pset(), reset(), update(), and vpspScanVersion().