Main Page
Namespaces
Classes
Package Documentation
DetectorDescription
Core
src
DDSplit.cc
Go to the documentation of this file.
1
2
#include "
DetectorDescription/Core/interface/DDSplit.h
"
3
4
std::pair<std::string,std::string>
DDSplit
(
const
std::string
&
n
)
5
{
6
std::string
name
,ns;
7
std::string::size_type
pos
= n.find(
':'
);
8
if
(pos==std::string::npos) {
9
ns =
""
;
10
name =
n
;
11
}
12
else
{
13
ns =
std::string
(n,0,pos);
14
name =
std::string
(n,pos+1,n.size()-1);
15
}
16
return
std::make_pair(name,ns);
17
}
18
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
trigger::size_type
uint16_t size_type
Definition:
TriggerTypeDefs.h:19
DDSplit
std::pair< std::string, std::string > DDSplit(const std::string &n)
split into (name,namespace), separator = ':'
Definition:
DDSplit.cc:4
pos
Definition:
PixelAliasList.h:14
gen::n
int n
Definition:
Cascade2Hadronizer.cc:79
DDSplit.h
dataset.name
name
Definition:
dataset.py:45
Generated for CMSSW Reference Manual by
1.8.11