Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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
pos
Definition:
Histograms.cc:19
trigger::size_type
uint16_t size_type
Definition:
TriggerTypeDefs.h:21
mergeVDriftHistosByStation.name
string name
Definition:
mergeVDriftHistosByStation.py:77
n
int n
Definition:
DTDataIntegrityTask.cc:32
DDSplit.h
DDSplit
std::pair< std::string, std::string > DDSplit(const std::string &n)
split into (name,namespace), separator = ':'
Definition:
DDSplit.cc:4
Generated for CMSSW Reference Manual by
1.8.5