1 #ifndef Alignment_CommonAlignment_AlignSetup_h
2 #define Alignment_CommonAlignment_AlignSetup_h
28 typedef typename std::map<std::string, Type>
Container;
44 void dump(
void )
const;
54 return theStore[
name];
60 typename Container::iterator
o = theStore.find(name);
62 if (theStore.end() ==
o) {
63 std::ostringstream knownKeys;
64 for (
typename Container::const_iterator it = theStore.begin(); it != theStore.end(); ++it) {
65 knownKeys << (it != theStore.begin() ?
", " :
"") << it->first;
68 <<
"Cannot find an object of name " << name <<
" in AlignSetup, know only "
69 << knownKeys.str() <<
".";
78 edm::LogInfo(
"AlignSetup") <<
"Printing out AlignSetup: ";
79 for (
typename Container::const_iterator it = theStore.begin();
80 it != theStore.end(); ++it ) {
Type & find(const std::string &name="")
Type & get(const std::string &name="")
void dump(void) const
Print the name of all stored data.
std::map< std::string, Type > Container