src
DetectorDescription
Core
src
DDSplit.cc
Go to the documentation of this file.
1
#include "
DetectorDescription/Core/interface/DDSplit.h
"
2
3
std::pair<std::string, std::string>
DDSplit
(
const
std::string
&
n
) {
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
}
trigger::size_type
uint16_t size_type
Definition:
TriggerTypeDefs.h:18
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
mergeVDriftHistosByStation.name
name
Definition:
mergeVDriftHistosByStation.py:78
pos
Definition:
PixelCalibBase.h:13
DDSplit
std::pair< std::string, std::string > DDSplit(const std::string &n)
split into (name,namespace), separator = ':'
Definition:
DDSplit.cc:3
create_idmaps.n
n
Definition:
create_idmaps.py:21
DDSplit.h
Generated for CMSSW Reference Manual by
1.8.14