test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
trigger::size_type
uint16_t size_type
Definition:
TriggerTypeDefs.h:19
mergeVDriftHistosByStation.name
string name
Definition:
mergeVDriftHistosByStation.py:77
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
n
int n
Definition:
DTDataIntegrityTask.cc:30
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