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<>
LHCInfo::ParticleType from_string (const std::string &attributeValue)
 
template<>
boost::posix_time::ptime 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)
 
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/8]

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/8]

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/8]

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/8]

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/8]

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/8]

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/8]

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() [8/8]

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

Definition at line 66 of file OMSAccess.h.

66  {
67  return from_string_impl<boost::posix_time::ptime, &s_to_time>(attributeValue, boost::posix_time::ptime());
68  }

◆ 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 56 of file OMSAccess.h.

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

56  {
57  boost::posix_time::time_input_facet* facet = new boost::posix_time::time_input_facet(OMS_TIME_FMT);
58  std::stringstream ss;
59  ss.imbue(std::locale(std::locale(), facet));
60  ss << val;
61  boost::posix_time::ptime time;
62  ss >> time;
63  return time;
64  }
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); }

◆ to_string() [1/5]

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

Definition at line 71 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(), 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(), SiPixelFEDChannelContainerFromQualityConverter::analyze(), PixelLumiDQM::analyze(), FastSiPixelFEDChannelContainerFromQuality::analyze(), L1GtTrigReport::analyze(), L1TTauOffline::analyze(), L1TBPTX::analyze(), 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(), Phase1PixelMaps::bookForwardHistograms(), SiPixelPhase1Analyzer::BookForwardHistograms(), ZDCQIE10Task::bookHistograms(), L1TdeStage2EMTF::bookHistograms(), L1TStage2EMTF::bookHistograms(), CSCTnPEfficiencyTask::bookHistograms(), FCDTask::bookHistograms(), L1TStage2uGMT::bookHistograms(), L1TStage2uGMTInputBxDistributions::bookHistograms(), L1TMP7ZeroSupp::bookHistograms(), L1TPUM::bookHistograms(), L1TdeStage2CaloLayer1::bookHistograms(), TauValidation::bookHistograms(), DTOccupancyEfficiency::bookHistograms(), BxTiming::bookHistograms(), L1TObjectsTiming::bookHistograms(), TICLPFValidation::bookHistograms(), ECALpedestalPCLworker::bookHistograms(), L1TStage2uGTTiming::bookHistograms(), TopMonitor::bookHistograms(), TriggerBxVsOrbitMonitor::bookHistograms(), HGCalShowerSeparation::bookHistograms(), HGCalValidator::bookHistograms(), HGCalRecHitValidation::bookHistograms(), OuterTrackerMonitorTTCluster::bookHistograms(), OuterTrackerMonitorTTStub::bookHistograms(), CaloParticleValidation::bookHistograms(), HGCalDigiValidation::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(), CTPPSDiamondDetId::channelName(), TotemTimingDetId::channelName(), CTPPSDiamondDQMSource::ChannelPlots::ChannelPlots(), DDDividedPolyconeZ::checkParametersValidity(), checkrunlist(), Rivet::HiggsTemplateCrossSections::classifyEvent(), SiPhase2BadStripConfigurableFakeESSource::clusterizeBadChannels(), SiPhase2BadStripChannelBuilder::clusterizeBadChannels(), HIPAlignmentAlgorithm::collector(), EffPurFromHistos2D::compute(), 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(), Phase2ITRecHitHarvester::dqmEndJob(), SiStripPopConNoisesHandlerFromDQM::dqmEndJob(), SiStripPopConPedestalsHandlerFromDQM::dqmEndJob(), OffsetDQMPostProcessor::dqmEndJob(), ECALpedestalPCLHarvester::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(), DDPixBarLayerUpgradeAlgo::execute(), DDHCalForwardAlgo::execute(), DDTIBLayerAlgo::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(), CalibrationScanTask::fill(), CalibrationTask::fill(), templateHelper::SiPixelTitles_Display< PayloadType, StoreType, TransientType >::fill(), templateHelper::SiPixelHeaderTable< PayloadType, StoreType, TransientType >::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(), 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(), DTT0CalibrationRMS::getHistoName(), dtCalibration::DTTTrigResidualCorrection::getHistoName(), LMFLmrSubIOV::getIOVIDsLaterThan(), DTNoiseCalibration::getLayerName(), DTNoiseComputation::getLayerName(), SiStripLorentzAngleCalibration::getLorentzAnglesInput(), SiPixelLorentzAngleCalibration::getLorentzAnglesInput(), RunDCSMagnetDat::getMagnetRset(), MuonAssociatorByHitsHelper::getMatchedIds(), TrackingUtility::getMEValue(), SiStripUtility::getMEValue(), BeamSpotOnlineObjectsImpl::getOneParam(), LHCInfoImpl::getOneParam(), AlignPCLThresholdsHGImpl::getParam(), BeamSpotOnlineObjectsImpl::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(), 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(), L1TkMuCorrDynamicWindows::L1TkMuCorrDynamicWindows(), L1TkMuMantra::L1TkMuMantra(), 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(), ExternalLHEProducer::makeArgs(), DDDividedConsRho::makeDDLogicalPart(), DDDividedTubsRho::makeDDLogicalPart(), DDDividedPolyconeRho::makeDDLogicalPart(), DDDividedPolyhedraRho::makeDDLogicalPart(), DDDividedConsZ::makeDDLogicalPart(), DDDividedPolyconeZ::makeDDLogicalPart(), DDDividedPolyhedraZ::makeDDLogicalPart(), DDDividedTrdZ::makeDDLogicalPart(), DDDividedConsPhi::makeDDRotation(), DDDividedTubsPhi::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(), CTPPSDiamondDetId::planeName(), TotemTimingDetId::planeName(), DDHGCalHEAlgo::positionMix(), DDHGCalHEFileAlgo::positionMix(), DDHGCalMixLayer::positionMix(), DDHGCalMixRotatedLayer::positionMix(), HGCalHEFileAlgo::positionMix(), HGCalHEAlgo::positionMix(), HGCalMixLayer::positionMix(), DDHGCalTBModuleX::positionSensitive(), edm::service::StallMonitor::postBeginJob(), 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(), L1TrackerEtMissEmulatorProducer::produce(), TrackingRecHitProducer::produce(), edm::VecArray< std::pair< int, int >, 9 >::push_back(), SiPixelTemplate2D::pushfile(), SiPixelTemplate::pushfile(), PixelData::putInto(), l1t::demo::readAPxFile(), popcon::EcalTPGLutIdMapHandler::readFromFile(), popcon::EcalTPGPhysicsConstHandler::readFromFile(), popcon::EcalTPGLinConstHandler::readFromFile(), popcon::EcalTPGFineGrainEBIdMapHandler::readFromFile(), popcon::EcalTPGBadXTHandler::readFromFile(), popcon::EcalTPGBadTTHandler::readFromFile(), popcon::EcalTPGFineGrainEBGroupHandler::readFromFile(), popcon::EcalTPGBadStripHandler::readFromFile(), popcon::EcalTPGWeightIdMapHandler::readFromFile(), popcon::EcalTPGTPModeHandler::readFromFile(), popcon::EcalTPGOddWeightIdMapHandler::readFromFile(), popcon::EcalTPGFineGrainTowerEEHandler::readFromFile(), popcon::EcalTPGSlidingWindowHandler::readFromFile(), popcon::EcalTPGPedestalsHandler::readFromFile(), popcon::EcalTPGFineGrainStripEEHandler::readFromFile(), popcon::EcalTPGOddWeightGroupHandler::readFromFile(), popcon::EcalTPGSpikeThresholdHandler::readFromFile(), popcon::EcalTPGLutGroupHandler::readFromFile(), popcon::EcalTPGWeightGroupHandler::readFromFile(), BeamSpotDipServer::readRcd(), l1t::stage2::GMTSetup::registerProducts(), l1t::stage2::CaloLayer1Setup::registerProducts(), l1t::stage2::GTSetup::registerProducts(), mkfit::ConfigJsonPatcher::replace(), dqmservices::DQMFileIterator::reset(), edm::VecArray< std::pair< int, int >, 9 >::resize(), LegacyIOHelper::save(), SiPixelPhase1Analyzer::SaveDetectorVertices(), boost::serialization::serialize(), PFJetDQMPostProcessor::seta(), CondDBESSource::setIntervalFor(), BeamSpotOnlineObjectsImpl::setOneParam(), LHCInfoImpl::setOneParam(), AlignPCLThresholdsHGImpl::setParam(), ecaldqm::LedClient::setParams(), ecaldqm::LaserClient::setParams(), ecaldqm::TestPulseClient::setParams(), ecaldqm::PedestalClient::setParams(), ecaldqm::CalibrationSummaryClient::setParams(), ecaldqm::PedestalTask::setParams(), ecaldqm::TestPulseTask::setParams(), ecaldqm::LedTask::setParams(), ecaldqm::LaserTask::setParams(), BeamSpotOnlineObjectsImpl::setParams(), LHCInfoImpl::setParams(), PFJetDQMPostProcessor::spt(), SiPixelStatusHarvester::substructure(), HcalObjRepresent::HcalDataContainer< Items, Item >::Subtract(), ecaldqm::TestPulseWriter::TestPulseWriter(), TrackCountingTagPlotter::TrackCountingTagPlotter(), trklet::FitTrack::trackFitChisq(), TrackingNtuple::TrackingNtuple(), trklet::Tracklet::trackletparstr(), TrackProbabilityTagPlotter::TrackProbabilityTagPlotter(), TritonCpuShmResource< IO >::TritonCpuShmResource(), 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(), RunTTErrorsDat::writeDB(), RunMemChErrorsDat::writeDB(), RunMemTTErrorsDat::writeDB(), RunPNErrorsDat::writeDB(), cond::service::PoolDBOutputService::writeMany(), cond::service::PoolDBOutputService::writeOneIOV(), l1tpf_impl::COEFile::writeTracksToFile(), PPSAlignmentHarvester::xAlignment(), PPSAlignmentHarvester::xAlignmentRelative(), PPSAlignmentHarvester::yAlignment(), l1t::stage2::CaloLayer1Collections::~CaloLayer1Collections(), l1t::stage2::GMTCollections::~GMTCollections(), and l1t::stage2::GTCollections::~GTCollections().

71  {
72  return std::to_string(value);
73  }
Definition: value.py:1
std::string to_string(const boost::posix_time::ptime &value)
Definition: OMSAccess.h:87

◆ to_string() [2/5]

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

Definition at line 75 of file OMSAccess.h.

References to_string().

75  {
76  return std::to_string(*value);
77  }
Definition: value.py:1
std::string to_string(const boost::posix_time::ptime &value)
Definition: OMSAccess.h:87

◆ to_string() [3/5]

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

Definition at line 79 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 83 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 87 of file OMSAccess.h.

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

Referenced by to_string().

87  {
88  boost::posix_time::time_facet* facet = new boost::posix_time::time_facet();
89  facet->format(OMS_TIME_FMT);
90  std::stringstream stream;
91  stream.imbue(std::locale(std::locale::classic(), facet));
92  stream << value;
93  return stream.str();
94  }
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().