CMS 3D CMS Logo

Functions | Variables
cond::impl Namespace Reference

Functions

template<typename T >
T from_string (const std::string &attributeValue)
 
template<>
std::string from_string (const std::string &attributeValue)
 
template<>
float from_string (const std::string &attributeValue)
 
template<>
int from_string (const std::string &attributeValue)
 
template<>
unsigned short from_string (const std::string &attributeValue)
 
template<>
LHCInfo::FillType from_string (const std::string &attributeValue)
 
template<>
unsigned long long from_string (const std::string &attributeValue)
 
template<>
LHCInfo::ParticleType from_string (const std::string &attributeValue)
 
template<>
LHCInfoPerFill::FillType from_string (const std::string &attributeValue)
 
template<>
boost::posix_time::ptime from_string (const std::string &attributeValue)
 
template<>
LHCInfoPerFill::ParticleType from_string (const std::string &attributeValue)
 
template<typename T , T fun>
T from_string_impl (const std::string &attributeValue, T zero)
 
float s_to_f (const std::string &val)
 
int s_to_i (const std::string &val)
 
boost::posix_time::ptime s_to_time (const std::string &val)
 
unsigned long s_to_ul (const std::string &val)
 
unsigned long long s_to_ull (const std::string &val)
 
template<typename V >
std::string to_string (const V &value)
 
template<typename V >
std::string to_string (const V *value)
 
template<>
std::string to_string (const std::string &value)
 
template<>
std::string to_string (const char *value)
 
template<>
std::string to_string (const boost::posix_time::ptime &value)
 

Variables

static constexpr const char *const OMS_TIME_FMT = "%Y-%m-%dT%H:%M:%SZ"
 

Function Documentation

◆ from_string() [1/11]

template<typename T >
T cond::impl::from_string ( const std::string &  attributeValue)
inline

Definition at line 28 of file OMSAccess.h.

28  {
29  throw std::invalid_argument("");
30  }

◆ from_string() [2/11]

template<>
std::string cond::impl::from_string ( const std::string &  attributeValue)
inline

Definition at line 33 of file OMSAccess.h.

References AlCaHLTBitMon_QueryRunRegistry::string.

33  {
34  return std::string(attributeValue);
35  }

◆ from_string() [3/11]

template<>
float cond::impl::from_string ( const std::string &  attributeValue)
inline

Definition at line 39 of file OMSAccess.h.

39  {
40  return from_string_impl<float, &s_to_f>(attributeValue, 0.);
41  }

◆ from_string() [4/11]

template<>
int cond::impl::from_string ( const std::string &  attributeValue)
inline

Definition at line 45 of file OMSAccess.h.

45  {
46  return from_string_impl<int, &s_to_i>(attributeValue, 0);
47  }

◆ from_string() [5/11]

template<>
unsigned short cond::impl::from_string ( const std::string &  attributeValue)
inline

Definition at line 51 of file OMSAccess.h.

51  {
52  unsigned long int_val = from_string_impl<unsigned long, &s_to_ul>(attributeValue, 0);
53  return (unsigned short)int_val;
54  }

◆ from_string() [6/11]

template<>
LHCInfo::FillType cond::impl::from_string ( const std::string &  attributeValue)

Definition at line 52 of file LHCInfoPopConSourceHandler.cc.

References LHCInfo::UNKNOWN.

52  {
53  return from_string_impl<LHCInfo::FillType, &fillTypeFromString>(attributeValue, LHCInfo::UNKNOWN);
54  }

◆ from_string() [7/11]

template<>
unsigned long long cond::impl::from_string ( const std::string &  attributeValue)
inline

Definition at line 57 of file OMSAccess.h.

57  {
58  unsigned long long int_val = from_string_impl<unsigned long long, &s_to_ull>(attributeValue, 0);
59  return int_val;
60  }

◆ from_string() [8/11]

template<>
LHCInfo::ParticleType cond::impl::from_string ( const std::string &  attributeValue)

Definition at line 57 of file LHCInfoPopConSourceHandler.cc.

References LHCInfo::NONE.

57  {
58  return from_string_impl<LHCInfo::ParticleType, &particleTypeFromString>(attributeValue, LHCInfo::NONE);
59  }

◆ from_string() [9/11]

template<>
LHCInfoPerFill::FillType cond::impl::from_string ( const std::string &  attributeValue)

Definition at line 68 of file LHCInfoPerFillPopConAnalyzer.cc.

References LHCInfoPerFill::UNKNOWN.

68  {
69  return from_string_impl<LHCInfoPerFill::FillType, &theLHCInfoPerFillPopConImpl::fillTypeFromString>(
70  attributeValue, LHCInfoPerFill::UNKNOWN);
71  }

◆ from_string() [10/11]

template<>
boost::posix_time::ptime cond::impl::from_string ( const std::string &  attributeValue)
inline

Definition at line 72 of file OMSAccess.h.

72  {
73  return from_string_impl<boost::posix_time::ptime, &s_to_time>(attributeValue, boost::posix_time::ptime());
74  }

◆ from_string() [11/11]

template<>
LHCInfoPerFill::ParticleType cond::impl::from_string ( const std::string &  attributeValue)

Definition at line 74 of file LHCInfoPerFillPopConAnalyzer.cc.

References LHCInfoPerFill::NONE.

74  {
75  return from_string_impl<LHCInfoPerFill::ParticleType, &theLHCInfoPerFillPopConImpl::particleTypeFromString>(
76  attributeValue, LHCInfoPerFill::NONE);
77  }

◆ from_string_impl()

template<typename T , T fun>
T cond::impl::from_string_impl ( const std::string &  attributeValue,
T  zero 
)
inline

Definition at line 19 of file OMSAccess.h.

References runTheMatrix::ret, and SiPixelPI::zero.

19  {
20  T ret = zero;
21  if (not attributeValue.empty() && attributeValue != "null") {
22  ret = fun(attributeValue);
23  }
24  return ret;
25  }
ret
prodAgent to be discontinued
long double T

◆ s_to_f()

float cond::impl::s_to_f ( const std::string &  val)
inline

Definition at line 37 of file OMSAccess.h.

References heppy_batch::val.

37 { return std::stof(val); }

◆ s_to_i()

int cond::impl::s_to_i ( const std::string &  val)
inline

Definition at line 43 of file OMSAccess.h.

References heppy_batch::val.

43 { return std::stoi(val); }

◆ s_to_time()

boost::posix_time::ptime cond::impl::s_to_time ( const std::string &  val)
inline

Definition at line 62 of file OMSAccess.h.

References OMS_TIME_FMT, contentValuesCheck::ss, protons_cff::time, and heppy_batch::val.

62  {
63  boost::posix_time::time_input_facet* facet = new boost::posix_time::time_input_facet(OMS_TIME_FMT);
64  std::stringstream ss;
65  ss.imbue(std::locale(std::locale(), facet));
66  ss << val;
67  boost::posix_time::ptime time;
68  ss >> time;
69  return time;
70  }
static constexpr const char *const OMS_TIME_FMT
Definition: OMSAccess.h:16

◆ s_to_ul()

unsigned long cond::impl::s_to_ul ( const std::string &  val)
inline

Definition at line 49 of file OMSAccess.h.

References heppy_batch::val.

49 { return std::stoul(val); }

◆ s_to_ull()

unsigned long long cond::impl::s_to_ull ( const std::string &  val)
inline

Definition at line 55 of file OMSAccess.h.

References heppy_batch::val.

55 { return std::stoull(val); }

◆ to_string() [1/5]

template<typename V >
std::string cond::impl::to_string ( const V &  value)
inline

Definition at line 77 of file OMSAccess.h.

References to_string().

Referenced by PI::__attribute__(), hcaldqm::DQTask::_getCalibType(), LEDTask::_process(), reco::formula::ConstantEvaluator::abstractSyntaxTree(), reco::formula::ParameterEvaluator::abstractSyntaxTree(), reco::formula::VariableEvaluator::abstractSyntaxTree(), reco::formula::BinaryOperatorEvaluator< Op >::abstractSyntaxTree(), BeamSpotOnlineObjectsImpl::accessParams(), LHCInfoVectorizedFields::accessParams(), LHCInfoImpl::accessParams(), l1t::demo::BoardDataWriter::addEvent(), LutXml::addLut(), trklet::ProjectionRouter::addOutput(), FWEveView::addToOrthoCamera(), FWEveView::addToPerspectiveCamera(), algorithm(), cms::cuda::allocate_device(), cms::cuda::allocate_host(), DDEcalEndcapAlgo::alvName(), OffsetAnalyzerDQM::analyze(), SiStripDetVOffTkMapPlotter::analyze(), DTTnPEfficiencyTask::analyze(), TrackingRecoMaterialAnalyser::analyze(), RPCTnPEfficiencyTask::analyze(), SiPixelQualityProbabilitiesTestWriter::analyze(), SiPixelFEDChannelContainerWriteFromASCII::analyze(), BTagAndProbe::analyze(), SiPixelFEDChannelContainerFromQualityConverter::analyze(), FastSiPixelFEDChannelContainerFromQuality::analyze(), PixelLumiDQM::analyze(), L1GtTrigReport::analyze(), L1TTauOffline::analyze(), L1TBPTX::analyze(), cms::alpakatools::detail::as_bytes(), EERecHitGPU::assert_error_message_(), HEBRecHitGPU::assert_error_message_(), HEFRecHitGPU::assert_error_message_(), MaterialBudgetHcalAnalysis::beginJob(), L1TBPTX::beginLuminosityBlock(), DTNoiseComputation::beginRun(), ExternalLHEProducer::beginRunProduce(), l1t::demo::BoardDataReader::BoardDataReader(), l1t::demo::BoardDataWriter::BoardDataWriter(), CalibrationTask::book(), MaterialBudgetCastorHistos::book(), MaterialBudgetHcalHistos::book(), AlignmentMonitorMuonSystemMap1D::book(), Phase1PixelMaps::bookBarrelHistograms(), SiPixelPhase1Analyzer::BookBarrelHistograms(), L1TMP7ZeroSupp::bookCapIdHistograms(), GEMDQMEfficiencySourceBase::bookChamber(), GEMDQMEfficiencySourceBase::bookChamberEtaPartition(), HGVHistoProducerAlgo::bookClusterHistos_CellLevel(), HGVHistoProducerAlgo::bookClusterHistos_ClusterLevel(), HGVHistoProducerAlgo::bookClusterHistos_LCtoCP_association(), L1TMuonDQMOffline::bookEfficiencyHistos(), L1TEGammaOffline::bookElectronHistos(), RPCTnPEfficiencyTask::bookEndcapHistos(), L1TStage2CaloLayer2Offline::bookEnergySumHistos(), TotemT2DQMSource::bookErrorFlagsHistogram(), Phase1PixelMaps::bookForwardHistograms(), SiPixelPhase1Analyzer::BookForwardHistograms(), ZDCQIE10Task::bookHistograms(), L1TdeStage2EMTF::bookHistograms(), L1TStage2EMTF::bookHistograms(), CSCTnPEfficiencyTask::bookHistograms(), FCDTask::bookHistograms(), L1TStage2uGMT::bookHistograms(), L1TStage2uGMTInputBxDistributions::bookHistograms(), L1TMP7ZeroSupp::bookHistograms(), GEMTnPEfficiencyTask::bookHistograms(), L1TPUM::bookHistograms(), L1TdeStage2CaloLayer1::bookHistograms(), TauValidation::bookHistograms(), DTOccupancyEfficiency::bookHistograms(), BxTiming::bookHistograms(), L1TObjectsTiming::bookHistograms(), TICLPFValidation::bookHistograms(), ECALpedestalPCLworker::bookHistograms(), CTPPSPixelDQMSource::bookHistograms(), L1TStage2uGTTiming::bookHistograms(), HGCalShowerSeparation::bookHistograms(), TopMonitor::bookHistograms(), TriggerBxVsOrbitMonitor::bookHistograms(), HGCalValidator::bookHistograms(), HGCalDigiValidation::bookHistograms(), HGCalRecHitValidation::bookHistograms(), OuterTrackerMonitorTTCluster::bookHistograms(), OuterTrackerMonitorTTStub::bookHistograms(), CaloParticleValidation::bookHistograms(), TICLTrackstersEdgesValidation::bookHistograms(), L1TGT::bookHistograms(), L1TStage2BMTF::bookHistograms(), HGCalSimHitValidation::bookHistograms(), L1ExtraDQM::L1ExtraMonElement< CollectionType >::bookhistograms(), L1TBPTX::bookHistograms(), DTVDriftSegmentCalibration::bookHistos(), DTTTrigOffsetCalibration::bookHistos(), DTResidualCalibration::bookHistos(), DTDataIntegrityTask::bookHistos(), DTDataIntegrityTask::bookHistosROS(), DTDataIntegrityTask::bookHistosuROS(), L1TStage2CaloLayer2Offline::bookJetHistos(), MTVHistoProducerAlgoForTracker::bookMVAHistos(), L1TEGammaOffline::bookPhotonHistos(), HGVHistoProducerAlgo::bookSimClusterAssociationHistos(), HGVHistoProducerAlgo::bookSimClusterHistos(), L1TTauOffline::bookTauHistos(), LheWeightValidation::bookTemplates(), HGVHistoProducerAlgo::bookTracksterHistos(), DTTnPEfficiencyTask::bookWheelHistos(), RPCTnPEfficiencyTask::bookWheelHistos(), HcalParametersFromDD::build(), MuonOffsetFromDD::build(), GEMGeometryBuilderFromCondDB::build(), TrackerParametersFromDD::build(), ME0GeometryParsFromDD::buildEtaPartition(), GEMGeometryParsFromDD::buildEtaPartition(), ME0GeometryBuilder::buildEtaPartition(), GEMGeometryBuilder::buildEtaPartition(), GEMGeometryBuilder::buildRegions(), PPSDiamondSampicTimingCalibrationPCLHarvester::calibJson(), CSCDetId::chamberName(), TotemT2DetId::channelName(), CTPPSDiamondDetId::channelName(), TotemTimingDetId::channelName(), CTPPSDiamondDQMSource::ChannelPlots::ChannelPlots(), DDDividedPolyconeZ::checkParametersValidity(), Rivet::HiggsTemplateCrossSections::classifyEvent(), SiPhase2BadStripConfigurableFakeESSource::clusterizeBadChannels(), SiPhase2BadStripChannelBuilder::clusterizeBadChannels(), HIPAlignmentAlgorithm::collector(), EffPurFromHistos2D::compute(), ROCmService::computeCapability(), CUDAService::computeCapability(), DDHGCalTBModuleX::constructBlocks(), DDHGCalGeom::constructLayers(), DDAHcalModuleAlgo::constructLayers(), DDHGCalTBModule::constructLayers(), DDHGCalTBModuleX::constructLayers(), DDHGCalModule::constructLayers(), DDHGCalModuleAlgo::constructLayers(), DDHGCalEEAlgo::constructLayers(), DDHGCalHEAlgo::constructLayers(), DDHGCalHEFileAlgo::constructLayers(), DDHGCalEEFileAlgo::constructLayers(), DDHGCalMixLayer::constructLayers(), DDHGCalSiliconModule::constructLayers(), DDHGCalMixRotatedLayer::constructLayers(), DDHGCalSiliconRotatedModule::constructLayers(), HGCalEEAlgo::ConstructLayers(), ConvertingESProducerWithDependenciesT< CombinedRecord< DepsRecords... >, Target, Dependencies... >::ConvertingESProducerWithDependenciesT(), ecaldqm::createMESet(), DDHGCalNoTaperEndcap::createQuarter(), CSCMuonPortCard::CSCMuonPortCard(), PPSAssociationCuts::CutsPerArm::CutsPerArm(), magneticfield::DD4hep_VolumeBasedMagneticFieldESProducerFromDB::DD4hep_VolumeBasedMagneticFieldESProducerFromDB(), decodeVersion(), SiStripBadComponentsDQMServiceReader::detIdToString(), HcalObjRepresent::HcalDataContainer< Items, Item >::Divide(), HLTGenValSource::dqmBeginRun(), Phase2ITRecHitHarvester::dqmEndJob(), SiStripPopConNoisesHandlerFromDQM::dqmEndJob(), SiStripPopConPedestalsHandlerFromDQM::dqmEndJob(), OffsetDQMPostProcessor::dqmEndJob(), ECALpedestalPCLHarvester::dqmEndJob(), SiPixelLorentzAnglePCLHarvesterMCS::dqmEndJob(), DTDataIntegrityTest::dqmEndLuminosityBlock(), DQMHarvestingMetadata::dqmEndRun(), SiPixelPI::dress_occup_plot(), PixelROCMapHelper::dress_plot(), DTBlockedROChannelsTest::DTLinkBinsMap::DTLinkBinsMap(), DDEcalEndcapAlgo::EECreateSC(), DDEcalEndcapAlgo::EEPositionCRs(), EgammaHLTPixelMatchVarProducer::EgammaHLTPixelMatchVarProducer(), edm::VecArray< std::pair< int, int >, 9 >::emplace_back(), DTNoiseComputation::endJob(), PrimaryVertexValidation::endJob(), SplitVertexResolution::endJob(), GeneralPurposeTrackAnalyzer::endJob(), L1TBPTX::endLuminosityBlock(), SiStripLorentzAngleCalibration::endOfJob(), SiPixelLorentzAngleCalibration::endOfJob(), ExternalLHEProducer::endRun(), DDEcalEndcapAlgo::envName(), TSGForOIDNN::evaluateClassifier(), DDTBH4Algo::execute(), trklet::TripletEngine::execute(), DDTIDModulePosAlgo::execute(), DDAngular::execute(), DDTrackerAngular::execute(), DDTrackerPhiAlgo::execute(), DDTrackerPhiAltAlgo::execute(), DDTIDRingAlgo::execute(), DDPixFwdDiskAlgo::execute(), DDTECOptoHybAlgo::execute(), DDTECPhiAlgo::execute(), DDTECPhiAltAlgo::execute(), DDTIDAxialCableAlgo::execute(), DDPixPhase1FwdDiskAlgo::execute(), DDCutTubsFromPoints::execute(), DDTIBLayerAlgo::execute(), DDHCalForwardAlgo::execute(), DDPixBarLayerUpgradeAlgo::execute(), DDPixBarLayerAlgo::execute(), DDHCalFibreBundle::execute(), DDTECModuleAlgo::execute(), DDPixFwdBladesNew::execute(), DDEcalBarrelNewAlgo::execute(), DDEcalBarrelAlgo::execute(), DDEcalEndcapAlgo::execute(), DDTrackerIrregularRingAlgo::execute(), DDTrackerRingAlgo::execute(), DDPixFwdBlades::execute(), HistogramManager::executeExtend(), ExternalLHEProducer::executeScript(), RunDCSHVDat::fetchHistoricalData(), RunDCSMagnetDat::fetchLastData(), RunDCSLVDat::fetchLastData(), RunDCSHVDat::fetchLastData(), TableOutputBranches::fill(), CalibrationScanTask::fill(), CalibrationTask::fill(), LumiOutputBranches::fill(), templateHelper::SiPixelTitles_Display< PayloadType, StoreType, TransientType >::fill(), AlignPCLThresholdPlotHelper::AlignPCLThresholds_DisplayBase< PayloadType >::fill(), templateHelper::SiPixelHeaderTable< PayloadType, StoreType, TransientType >::fill(), AlignPCLThresholdPlotHelper::AlignPCLThresholds_CompareBase< PayloadType, nIOVs, ntags >::fill(), BeamSpotPI::DisplayParameters< PayloadType >::fill(), gainCalibHelper::SiPixelGainCalibrationValues< myType, PayloadType >::fill(), gainCalibHelper::SiPixelGainCalibrationValuesPerRegion< isBarrel, myType, PayloadType >::fill(), templateHelper::SiPixelFullPixelIDMap< PayloadType, StoreType, TransientType >::fill(), BeamSpotPI::DisplayParametersDiff< PayloadType, nIOVs, ntags >::fill(), gainCalibHelper::SiPixelGainCalibrationValuesComparisonPerRegion< isBarrel, myType, nIOVs, ntags, PayloadType >::fill(), cond::payloadInspector::RunHistoryPlot< PayloadType, std::pair< double, double > >::fill(), cond::payloadInspector::TimeHistoryPlot< PayloadType, std::pair< double, double > >::fill(), gainCalibHelper::SiPixelGainCalibrationCorrelations< PayloadType >::fill(), gainCalibHelper::SiPixelGainCalibrationValuesByPart< myType, PayloadType >::fill(), gainCalibHelper::SiPixelGainCalibrationValueComparisonBase< myType, PayloadType >::fill(), gainCalibHelper::SiPixelGainCalibDiffAndRatioBase< myType, nIOVs, ntags, PayloadType >::fill(), gainCalibHelper::SiPixelGainCalibrationMap< myType, PayloadType, myDetType >::fill(), gainCalibHelper::SiPixelGainCalibrationByRegionComparisonBase< myType, PayloadType, nIOVs, ntags >::fill(), HGVHistoProducerAlgo::fill_generic_cluster_histos(), SiPixelPhase1Analyzer::FillBarrelBinsRemap(), HcalObjRepresent::HcalDataContainer< Items, Item >::FillCanv(), SiStripCondObjectRepresent::SiStripDataContainer< Item, type >::fillCorrelationByPartition(), L1TMP7ZeroSupp::fillDescriptions(), ConvertingESProducerWithDependenciesT< CombinedRecord< DepsRecords... >, Target, Dependencies... >::fillDescriptions(), tadqm::TrackAnalyzer::fillHistosForState(), trklet::TrackDerTable::fillTable(), RunDCSMagnetDat::fillTheMap(), RunDCSLVDat::fillTheMap(), RunDCSHVDat::fillTheMap(), RunDCSHVDat::fillTheMapByTime(), SiPixelPhase1Summary::fillTrendPlots(), HcalObjRepresent::HcalDataContainer< Items, Item >::fillValConts(), cond::OMSServiceQuery::filter(), TrackCountingTagPlotter::finalize(), IPTagPlotter< Container, Base >::finalize(), TrackProbabilityTagPlotter::finalize(), cms::alpakatools::CachingAllocator< TDev, TQueue >::findBin(), BeamMonitor::FitAndFill(), GeometryInterface::formatValue(), gen::BaseHadronizer::generateLHE(), DDXMLElement::get(), RunDCSLVDat::getBarrelRset(), RunDCSHVDat::getBarrelRset(), DTNoiseCalibration::getChamberName(), DTNoiseComputation::getChamberName(), DTNoiseCalibration::getChannelName(), DDXMLElement::getDDName(), RunDCSHVDat::getEndcapAnodeRset(), RunDCSHVDat::getEndcapDynodeRset(), RunDCSLVDat::getEndcapRset(), dtCalibration::DTVDriftSegment::getHistoName(), dtCalibration::DTTTrigT0SegCorrection::getHistoName(), dtCalibration::DTTTrigResidualCorrection::getHistoName(), DTT0CalibrationRMS::getHistoName(), LMFLmrSubIOV::getIOVIDsLaterThan(), DTNoiseCalibration::getLayerName(), DTNoiseComputation::getLayerName(), SiStripLorentzAngleCalibration::getLorentzAnglesInput(), SiPixelLorentzAngleCalibration::getLorentzAnglesInput(), RunDCSMagnetDat::getMagnetRset(), MuonAssociatorByHitsHelper::getMatchedIds(), TrackingUtility::getMEValue(), SiStripUtility::getMEValue(), BeamSpotOnlineObjectsImpl::getOneParam(), LHCInfoVectorizedFields::getOneParam(), LHCInfoImpl::getOneParam(), AlignPCLThresholdsHGImpl::getParam(), BeamSpotOnlineObjectsImpl::getParams(), LHCInfoVectorizedFields::getParams(), LHCInfoImpl::getParams(), DeepTauId::getPredictionsV2(), SiStripDB2Tree::getRecordInfo(), DTNoiseCalibration::getSuperLayerName(), DTNoiseComputation::getSuperLayerName(), DTTTrigWriter::getTBoxName(), PrintGeomInfoAction::getTouch(), cond::persistency::KeyList::getUsingIndex(), RawPCCProducer::globalEndLuminosityBlockProduce(), L1TStage2CaloLayer1::globalEndRunSummary(), LA_Filler_Fitter::granularity(), cond::persistency::IOV::SINCE_GROUP::group(), HGCalEEFileAlgo::HGCalEEFileAlgo(), HGCalHEAlgo::HGCalHEAlgo(), HGCalHEFileAlgo::HGCalHEFileAlgo(), HGCalMixLayer::HGCalMixLayer(), HGCalMixRotatedLayer::HGCalMixRotatedLayer(), HGCalSiliconModule::HGCalSiliconModule(), HGCalSiliconRotatedModule::HGCalSiliconRotatedModule(), omtf::RpcLinkMap::init(), TrackBuildingAnalyzer::initHisto(), HIPAlignmentAlgorithm::initialize(), trklet::TrackletLUT::initPhiCorrTable(), DDEcalEndcapAlgo::intName(), IPTagPlotter< Container, Base >::IPTagPlotter(), trklet::VarBase::itos(), JsonOutputProducer::key_int(), L1TGlobalPrescalesVetosESProducer::L1TGlobalPrescalesVetosESProducer(), L1TGlobalPrescalesVetosFractESProducer::L1TGlobalPrescalesVetosFractESProducer(), L1TMP7ZeroSupp::L1TMP7ZeroSupp(), ecaldqm::LaserWriter::LaserWriter(), LA_Filler_Fitter::layerLabel(), CSCDetId::layerName(), ecaldqm::LedWriter::LedWriter(), L1MuBMTQualPatternLut::load(), cond::persistency::RunInfoProxy::load(), PPSDirectSimulationData::loadEffeciencyHistogramsPerPlane(), cond::persistency::KeyList::loadFromDB(), evf::EvFDaqDirector::lumisectionDiscarded(), main(), ExternalLHEProducer::makeArgs(), DDDividedConsRho::makeDDLogicalPart(), DDDividedTubsRho::makeDDLogicalPart(), DDDividedPolyhedraRho::makeDDLogicalPart(), DDDividedPolyconeRho::makeDDLogicalPart(), DDDividedConsZ::makeDDLogicalPart(), DDDividedPolyhedraZ::makeDDLogicalPart(), DDDividedPolyconeZ::makeDDLogicalPart(), DDDividedTrdZ::makeDDLogicalPart(), DDDividedTubsPhi::makeDDRotation(), DDDividedConsPhi::makeDDRotation(), DDDividedPolyconePhi::makeDDRotation(), DDDividedPolyhedraPhi::makeDDRotation(), GeometryComparisonPlotter::MakePlots(), StubsSimHitsMatcher::match(), LA_Filler_Fitter::moduleLabel(), APVGain::monHnames(), CSCTFConfigOnlineProd::newObject(), fastsim::NuclearInteraction::NuclearInteraction(), NuclearInteractionSimulator::NuclearInteractionSimulator(), cms::cuda::nvmlCheck_(), trklet::MemoryBase::openFile(), operator<<(), SiStripTrackerMapCreator::paintTkMapFromAlarm(), ecaldqm::PedestalWriter::PedestalWriter(), TotemT2DetId::planeName(), CTPPSDiamondDetId::planeName(), TotemTimingDetId::planeName(), PlotAlignmentValidation::plotDMRHistogram(), DDHGCalHEFileAlgo::positionMix(), DDHGCalHEAlgo::positionMix(), DDHGCalMixLayer::positionMix(), DDHGCalMixRotatedLayer::positionMix(), HGCalHEFileAlgo::positionMix(), HGCalHEAlgo::positionMix(), HGCalMixLayer::positionMix(), HGCalMixRotatedLayer::positionMix(), DDHGCalTBModuleX::positionSensitive(), edm::service::StallMonitor::postBeginJob(), edm::service::CPU::postEndJob(), edm::service::SimpleMemoryCheck::postEndJob(), CTPPSDiamondDQMSource::PotPlots::PotPlots(), TritonService::preBeginJob(), DBoxMetadataHelper::DBMetaDataPlotDisplay::prepareLine(), PrimaryVertexValidation::PrimaryVertexValidation(), magneticfield::printUniqueNames(), EcalFenixTcp::process_part1(), EcalFenixStrip::process_part1(), EcalFenixTcp::process_part2_barrel(), EcalFenixStrip::process_part2_barrel(), EcalFenixStrip::process_part2_endcap(), HiFJRhoFlowModulationProducer::produce(), TrackingRecHitProducer::produce(), edm::VecArray< std::pair< int, int >, 9 >::push_back(), SiPixelTemplate2D::pushfile(), SiPixelTemplate::pushfile(), PixelData::putInto(), l1t::demo::readAPxFile(), popcon::EcalTPGFineGrainEBIdMapHandler::readFromFile(), popcon::EcalTPGPhysicsConstHandler::readFromFile(), popcon::EcalTPGLutIdMapHandler::readFromFile(), popcon::EcalTPGLinConstHandler::readFromFile(), popcon::EcalTPGBadXTHandler::readFromFile(), popcon::EcalTPGBadStripHandler::readFromFile(), popcon::EcalTPGBadTTHandler::readFromFile(), popcon::EcalTPGFineGrainEBGroupHandler::readFromFile(), popcon::EcalTPGOddWeightIdMapHandler::readFromFile(), popcon::EcalTPGTPModeHandler::readFromFile(), popcon::EcalTPGWeightIdMapHandler::readFromFile(), popcon::EcalTPGFineGrainTowerEEHandler::readFromFile(), popcon::EcalTPGSlidingWindowHandler::readFromFile(), popcon::EcalTPGFineGrainStripEEHandler::readFromFile(), popcon::EcalTPGPedestalsHandler::readFromFile(), popcon::EcalTPGWeightGroupHandler::readFromFile(), popcon::EcalTPGSpikeThresholdHandler::readFromFile(), popcon::EcalTPGLutGroupHandler::readFromFile(), popcon::EcalTPGOddWeightGroupHandler::readFromFile(), BeamSpotDipServer::readRcd(), l1t::stage2::GMTSetup::registerProducts(), l1t::stage2::CaloLayer1Setup::registerProducts(), l1t::stage2::GTSetup::registerProducts(), mkfit::ConfigJsonPatcher::replace(), XrdAdaptor::RequestManager::reportSiteChange(), reco::PFCandidate::rescaleMomentum(), dqmservices::DQMFileIterator::reset(), PlotAlignmentValidation::residual_by_moduleID(), edm::VecArray< std::pair< int, int >, 9 >::resize(), LegacyIOHelper::save(), SiPixelPhase1Analyzer::SaveDetectorVertices(), TriggerObjectTableProducer::SelectedObject::SelectedObject(), boost::serialization::serialize(), PFJetDQMPostProcessor::seta(), CondDBESSource::setIntervalFor(), BeamSpotOnlineObjectsImpl::setOneParam(), LHCInfoVectorizedFields::setOneParam(), LHCInfoImpl::setOneParam(), AlignPCLThresholdsHGImpl::setParam(), ecaldqm::LaserClient::setParams(), ecaldqm::LedClient::setParams(), ecaldqm::PedestalClient::setParams(), ecaldqm::TestPulseClient::setParams(), ecaldqm::CalibrationSummaryClient::setParams(), ecaldqm::PedestalTask::setParams(), ecaldqm::TestPulseTask::setParams(), ecaldqm::LedTask::setParams(), ecaldqm::LaserTask::setParams(), LHCInfoVectorizedFields::setParams(), BeamSpotOnlineObjectsImpl::setParams(), LHCInfoImpl::setParams(), PFJetDQMPostProcessor::spt(), SiPixelStatusHarvester::substructure(), HcalObjRepresent::HcalDataContainer< Items, Item >::Subtract(), edmtest::SwitchProducerProvenanceAnalyzer::testProduct(), ecaldqm::TestPulseWriter::TestPulseWriter(), TrackCountingTagPlotter::TrackCountingTagPlotter(), trklet::FitTrack::trackFitChisq(), TrackingNtuple::TrackingNtuple(), trklet::Tracklet::trackletparstr(), TrackProbabilityTagPlotter::TrackProbabilityTagPlotter(), trends(), TritonCpuShmResource< IO >::TritonCpuShmResource(), testinter::StreamCache::unique_name(), externalgen::StreamCache::unique_name(), edm::shared_memory::ControllerChannel::uniqueName(), PatternGenerator::upadatePdfs(), dqmservices::DQMFileIterator::update_state(), L1TdeStage2CaloLayer1::updateMismatch(), l1tVertexFinder::VertexNTupler::VertexNTupler(), trklet::Tracklet::vmstrlayer(), magneticfield::VolumeBasedMagneticFieldESProducerFromDB::VolumeBasedMagneticFieldESProducerFromDB(), DDEcalBarrelAlgo::web(), DDEcalBarrelNewAlgo::web(), l1t::demo::write(), RunCrystalErrorsDat::writeDB(), RunMemChErrorsDat::writeDB(), RunMemTTErrorsDat::writeDB(), RunTTErrorsDat::writeDB(), RunPNErrorsDat::writeDB(), cond::service::PoolDBOutputService::writeMany(), cond::service::PoolDBOutputService::writeOneIOV(), PPSAlignmentHarvester::xAlignment(), PPSAlignmentHarvester::xAlignmentRelative(), PPSAlignmentHarvester::yAlignment(), l1t::stage2::CaloLayer1Collections::~CaloLayer1Collections(), l1t::stage2::GMTCollections::~GMTCollections(), and l1t::stage2::GTCollections::~GTCollections().

77  {
78  return std::to_string(value);
79  }
Definition: value.py:1
std::string to_string(const boost::posix_time::ptime &value)
Definition: OMSAccess.h:93

◆ to_string() [2/5]

template<typename V >
std::string cond::impl::to_string ( const V *  value)
inline

Definition at line 81 of file OMSAccess.h.

References to_string().

81  {
82  return std::to_string(*value);
83  }
Definition: value.py:1
std::string to_string(const boost::posix_time::ptime &value)
Definition: OMSAccess.h:93

◆ to_string() [3/5]

template<>
std::string cond::impl::to_string ( const std::string &  value)
inline

Definition at line 85 of file OMSAccess.h.

References AlCaHLTBitMon_QueryRunRegistry::string.

◆ to_string() [4/5]

template<>
std::string cond::impl::to_string ( const char *  value)
inline

Definition at line 89 of file OMSAccess.h.

References AlCaHLTBitMon_QueryRunRegistry::string.

◆ to_string() [5/5]

template<>
std::string cond::impl::to_string ( const boost::posix_time::ptime &  value)
inline

Definition at line 93 of file OMSAccess.h.

References OMS_TIME_FMT, cms::cuda::stream, and relativeConstraints::value.

Referenced by to_string().

93  {
94  boost::posix_time::time_facet* facet = new boost::posix_time::time_facet();
95  facet->format(OMS_TIME_FMT);
96  std::stringstream stream;
97  stream.imbue(std::locale(std::locale::classic(), facet));
98  stream << value;
99  return stream.str();
100  }
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t stream
static constexpr const char *const OMS_TIME_FMT
Definition: OMSAccess.h:16

Variable Documentation

◆ OMS_TIME_FMT

constexpr const char* const cond::impl::OMS_TIME_FMT = "%Y-%m-%dT%H:%M:%SZ"
static

Definition at line 16 of file OMSAccess.h.

Referenced by s_to_time(), and to_string().