CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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

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  }
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  }
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  }
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  }
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  }
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  }
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  }
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  }
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  }
tuple ret
prodAgent to be discontinued
long double T
float cond::impl::s_to_f ( const std::string &  val)
inline

Definition at line 37 of file OMSAccess.h.

37 { return std::stof(val); }
int cond::impl::s_to_i ( const std::string &  val)
inline

Definition at line 43 of file OMSAccess.h.

43 { return std::stoi(val); }
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, and hgcalPerformanceValidation::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
unsigned long cond::impl::s_to_ul ( const std::string &  val)
inline

Definition at line 49 of file OMSAccess.h.

49 { return std::stoul(val); }
template<typename V >
std::string cond::impl::to_string ( const V &  value)
inline

Definition at line 71 of file OMSAccess.h.

Referenced by PI::__attribute__(), hcaldqm::DQTask::_getCalibType(), LEDTask::_process(), reco::formula::ParameterEvaluator::abstractSyntaxTree(), reco::formula::ConstantEvaluator::abstractSyntaxTree(), reco::formula::VariableEvaluator::abstractSyntaxTree(), reco::formula::BinaryOperatorEvaluator< Op >::abstractSyntaxTree(), BeamSpotOnlineObjectsImpl::accessParams(), LHCInfoImpl::accessParams(), LutXml::addLut(), trklet::ProjectionRouter::addOutput(), FWEveView::addToOrthoCamera(), FWEveView::addToPerspectiveCamera(), EcalDeadChannelRecoveryBDTG< EBDetId >::addVariables(), 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(), CalibrationTask::book(), MaterialBudgetCastorHistos::book(), MaterialBudgetHcalHistos::book(), AlignmentMonitorMuonSystemMap1D::book(), Phase1PixelMaps::bookBarrelHistograms(), SiPixelPhase1Analyzer::BookBarrelHistograms(), L1TMP7ZeroSupp::bookCapIdHistograms(), HGVHistoProducerAlgo::bookClusterHistos_CellLevel(), HGVHistoProducerAlgo::bookClusterHistos_ClusterLevel(), HGVHistoProducerAlgo::bookClusterHistos_LCtoCP_association(), GEMEffByGEMCSCSegmentSource::bookEfficiencyChamber(), GEMEfficiencyAnalyzer::bookEfficiencyChamber(), GEMEfficiencyAnalyzer::bookEfficiencyEtaPartition(), L1TMuonDQMOffline::bookEfficiencyHistos(), L1TEGammaOffline::bookElectronHistos(), RPCTnPEfficiencyTask::bookEndcapHistos(), L1TStage2CaloLayer2Offline::bookEnergySumHistos(), Phase1PixelMaps::bookForwardHistograms(), SiPixelPhase1Analyzer::BookForwardHistograms(), ZDCQIE10Task::bookHistograms(), L1TdeStage2EMTF::bookHistograms(), L1TStage2EMTF::bookHistograms(), CSCTnPEfficiencyTask::bookHistograms(), FCDTask::bookHistograms(), L1TStage2uGMT::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(), HGCalDigiValidation::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(), CTPPSDiamondDetId::channelName(), TotemTimingDetId::channelName(), CTPPSDiamondDQMSource::ChannelPlots::ChannelPlots(), DDDividedPolyconeZ::checkParametersValidity(), checkrunlist(), Rivet::HiggsTemplateCrossSections::classifyEvent(), 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(), 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(), DDTrackerAngular::execute(), DDTrackerPhiAlgo::execute(), DDTrackerPhiAltAlgo::execute(), DDAngular::execute(), DDTIDRingAlgo::execute(), DDTECPhiAltAlgo::execute(), DDPixFwdDiskAlgo::execute(), DDTECOptoHybAlgo::execute(), DDTECPhiAlgo::execute(), DDTIDAxialCableAlgo::execute(), DDPixPhase1FwdDiskAlgo::execute(), DDCutTubsFromPoints::execute(), DDPixBarLayerAlgo::execute(), DDHCalForwardAlgo::execute(), DDPixBarLayerUpgradeAlgo::execute(), DDTIBLayerAlgo::execute(), DDHCalFibreBundle::execute(), DDTECModuleAlgo::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(), 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(), BeamSpotOnlineObjectsImpl::getParams(), LHCInfoImpl::getParams(), DeepTauId::getPredictionsV2(), 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(), omtf::RpcLinkMap::init(), TrackBuildingAnalyzer::initHisto(), HGCalTriggerNtupleHGCDigis::initialize(), 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(), HGCalHEFileAlgo::positionMix(), HGCalHEAlgo::positionMix(), HGCalMixLayer::positionMix(), DDHGCalTBModuleX::positionSensitive(), edm::service::StallMonitor::postBeginJob(), 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(), popcon::EcalTPGLinConstHandler::readFromFile(), popcon::EcalTPGPhysicsConstHandler::readFromFile(), popcon::EcalTPGFineGrainEBIdMapHandler::readFromFile(), popcon::EcalTPGLutIdMapHandler::readFromFile(), popcon::EcalTPGBadXTHandler::readFromFile(), popcon::EcalTPGBadTTHandler::readFromFile(), popcon::EcalTPGBadStripHandler::readFromFile(), popcon::EcalTPGFineGrainEBGroupHandler::readFromFile(), popcon::EcalTPGOddWeightIdMapHandler::readFromFile(), popcon::EcalTPGTPModeHandler::readFromFile(), popcon::EcalTPGWeightIdMapHandler::readFromFile(), popcon::EcalTPGSlidingWindowHandler::readFromFile(), popcon::EcalTPGFineGrainTowerEEHandler::readFromFile(), popcon::EcalTPGFineGrainStripEEHandler::readFromFile(), popcon::EcalTPGPedestalsHandler::readFromFile(), popcon::EcalTPGOddWeightGroupHandler::readFromFile(), popcon::EcalTPGWeightGroupHandler::readFromFile(), popcon::EcalTPGSpikeThresholdHandler::readFromFile(), popcon::EcalTPGLutGroupHandler::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(), GEMOfflineDQMBase::setDetLabelsEta(), CondDBESSource::setIntervalFor(), BeamSpotOnlineObjectsImpl::setOneParam(), LHCInfoImpl::setOneParam(), ecaldqm::LedClient::setParams(), ecaldqm::LaserClient::setParams(), ecaldqm::PedestalClient::setParams(), ecaldqm::TestPulseClient::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(), to_string(), TrackCountingTagPlotter::TrackCountingTagPlotter(), trklet::FitTrack::trackFitChisq(), 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(), RunMemTTErrorsDat::writeDB(), RunCrystalErrorsDat::writeDB(), RunMemChErrorsDat::writeDB(), RunPNErrorsDat::writeDB(), RunTTErrorsDat::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  }
std::string to_string(const V &value)
Definition: OMSAccess.h:71
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  }
std::string to_string(const V &value)
Definition: OMSAccess.h:71
template<>
std::string cond::impl::to_string ( const std::string &  value)
inline
template<>
std::string cond::impl::to_string ( const char *  value)
inline
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.

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

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().