Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
DQM
TrackerCommon
src
generic.h
Go to the documentation of this file.
1
#ifndef _generic_h
2
#define _generic_h_
3
4
#include <map>
5
#include <string>
6
7
std::string
get_from_multimap
(std::multimap<string, string> &mymap, std::string
key
)
8
{
9
std::multimap<std::string, std::string>::iterator it;
10
it = mymap.find(key);
11
if
(it != mymap.end())
12
{
13
return
(it->second);
14
}
15
return
""
;
16
}
17
18
#endif
get_from_multimap
std::string get_from_multimap(std::multimap< string, string > &mymap, std::string key)
Definition:
generic.h:7
combine.key
list key
Definition:
combine.py:13
Generated for CMSSW Reference Manual by
1.8.5