CMS 3D CMS Logo

Functions
DDSplit.h File Reference
#include <string>
#include <utility>

Go to the source code of this file.

Functions

std::pair< std::string, std::string > DDSplit (const std::string &n)
 split into (name,namespace), separator = ':' More...
 

Function Documentation

◆ DDSplit()

std::pair<std::string, std::string> DDSplit ( const std::string &  n)

split into (name,namespace), separator = ':'

Definition at line 3 of file DDSplit.cc.

3  {
4  std::string name, ns;
5  std::string::size_type pos = n.find(':');
6  if (pos == std::string::npos) {
7  ns = "";
8  name = n;
9  } else {
10  ns = std::string(n, 0, pos);
11  name = std::string(n, pos + 1, n.size() - 1);
12  }
13  return std::make_pair(name, ns);
14 }

References dqmiodumpmetadata::n, Skims_PA_cff::name, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by algorithm(), DDHGCalTBModuleX::constructBlocks(), DDHCalBarrelAlgo::constructGeneralVolume(), DDHCalEndcapAlgo::constructGeneralVolume(), DDHCalBarrelAlgo::constructInsideDetectors(), HcalBarrelAlgo::constructInsideDetectors(), DDHCalBarrelAlgo::constructInsideLayers(), DDHCalEndcapModuleAlgo::constructInsideModule(), DDHCalEndcapAlgo::constructInsideModule(), HCalEndcapAlgo::constructInsideModule(), DDHCalEndcapModuleAlgo::constructInsideModule0(), DDHCalEndcapAlgo::constructInsideModule0(), HCalEndcapAlgo::constructInsideModule0(), DDHCalBarrelAlgo::constructInsideSector(), DDHCalEndcapAlgo::constructInsideSector(), DDAHcalModuleAlgo::constructLayers(), DDHGCalTBModule::constructLayers(), DDHGCalTBModuleX::constructLayers(), DDHGCalHEFileAlgo::constructLayers(), DDHGCalModule::constructLayers(), DDHGCalModuleAlgo::constructLayers(), DDHGCalEEAlgo::constructLayers(), DDHGCalEEFileAlgo::constructLayers(), DDHGCalHEAlgo::constructLayers(), DDHCalBarrelAlgo::constructMidLayer(), DDHCalEndcapModuleAlgo::constructScintLayer(), DDHCalEndcapAlgo::constructScintLayer(), DDHCalBarrelAlgo::constructSideLayer(), DDName::DDName(), DDTBH4Algo::ddname(), DDEcalAPDAlgo::ddname(), DDEcalBarrelAlgo::ddname(), DDEcalBarrelNewAlgo::ddname(), DDEcalEndcapAlgo::ddname(), DDTECModuleAlgo::doPos(), DDHGCalCell::execute(), DDTOBRodAlgo::execute(), DDTrackerXYZPosAlgo::execute(), DDHGCalWafer8::execute(), DDTrackerZPosAlgo::execute(), DDTIDModulePosAlgo::execute(), DDTrackerAngular::execute(), DDTrackerLinear::execute(), DDTrackerPhiAltAlgo::execute(), DDTrackerPhiAlgo::execute(), DDTIDRingAlgo::execute(), DDHCalLinearXY::execute(), DDTOBAxCableAlgo::execute(), DDTECOptoHybAlgo::execute(), DDTECPhiAltAlgo::execute(), DDTIDAxialCableAlgo::execute(), DDTIDModuleAlgo::execute(), DDTECPhiAlgo::execute(), DDTOBRadCableAlgo::execute(), DDPixFwdDiskAlgo::execute(), DDPixPhase1FwdDiskAlgo::execute(), DDHCalTBZposAlgo::execute(), DDHCalForwardAlgo::execute(), DDBHMAngular::execute(), DDTIBLayerAlgo::execute(), DDPixBarLayerUpgradeAlgo::execute(), DDPixBarLayerAlgo::execute(), DDHCalTBCableAlgo::execute(), DDTECCoolAlgo::execute(), DDHCalFibreBundle::execute(), DDTECModuleAlgo::execute(), DDTrackerRingAlgo::execute(), DDPixFwdBlades::execute(), DDLinear::initialize(), DDAngular::initialize(), DDMTDLinear::initialize(), DDHGCalHEFileAlgo::positionMix(), DDHGCalHEAlgo::positionMix(), DDAHcalModuleAlgo::positionSensitive(), DDHGCalTBModule::positionSensitive(), DDHGCalModule::positionSensitive(), DDHGCalTBModuleX::positionSensitive(), DDHGCalEEFileAlgo::positionSensitive(), DDHGCalModuleAlgo::positionSensitive(), DDHGCalEEAlgo::positionSensitive(), DDHGCalHEFileAlgo::positionSensitive(), and DDHGCalHEAlgo::positionSensitive().

dqmiodumpmetadata.n
n
Definition: dqmiodumpmetadata.py:28
pos
Definition: PixelAliasList.h:18
trigger::size_type
uint16_t size_type
Definition: TriggerTypeDefs.h:18
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17