1 #ifndef InputTagDistributor_H
2 #define InputTagDistributor_H
17 for (std::vector< std::string >::iterator
i=inpuTags.begin();
i!=inpuTags.end();++
i)
21 std::map<std::string, edm::InputTag>::iterator findMe =
inputTags_.find(s);
23 return findMe->second;
25 std::stringstream known;
27 known<<findMe->first<<
" ---> "<<findMe->second<<
"\n";
28 edm::LogError(
"InputTagDistributor")<<
" cannot distribute InputTag: "<<s<<
"\n knonw mapping is:\n"<<known.str();
51 std::cerr<<user<<
" InputTagDistributor user already defined."<<std::endl;
77 if (!SetInputTagDistributorUniqueInstance_){
78 std::cerr<<
" SetInputTagDistributorUniqueInstance_ is not valid."<<std::endl;
81 else{
return (*SetInputTagDistributorUniqueInstance_);}
86 if (multipleInstance_.size()==0)
91 std::map<std::string, InputTagDistributor*>::iterator inverseMap=multipleInstance_.begin();
92 std::map<std::string, InputTagDistributor*>::iterator inverseMap_end=multipleInstance_.end();
93 for (;inverseMap!=inverseMap_end;++inverseMap)
if (inverseMap->second==&which)
break;
95 <<
"\n"<<pset.
dump()<<
"\n"
96 <<
"looking for: "<<src
97 <<
" by user: "<< inverseMap->first
101 std::string iTC;iTC+=
'S';
T getParameter(std::string const &) const
Entry const & retrieve(char const *) const
std::string const & moduleLabel() const
void watchPreModule(PreModule::slot_type const &iSlot)
std::vector< std::string > getParameterNamesForType(bool trackiness=true) const
TypeCode typeCode(const Type &t)