10 #include <boost/regex.hpp>
25 std::vector<std::pair<std::shared_ptr<std::string>,
std::string> >& oOptions)
const
29 part = boost::regex_replace(part,boost::regex(
".*?(\\&\\&|\\|\\||\\s)+"),
"");
44 for(
unsigned int i=0;
i<triggerNames->
size(); ++
i)
50 unsigned int part_size = part.size();
51 for(std::vector<std::string>::const_iterator trigger =
m_triggerNames.begin();
53 if(part == trigger->substr(0,part_size) ) {
54 oOptions.push_back(std::make_pair(std::make_shared<std::string>(*trigger),
55 trigger->substr(part_size,trigger->size()-part_size)));
Strings::size_type size() const
Strings const & triggerNames() const
virtual void fillOptions(const char *iBegin, const char *iEnd, std::vector< std::pair< std::shared_ptr< std::string >, std::string > > &oOptions) const
std::vector< std::string > m_triggerNames
const edm::EventBase * getCurrentEvent() const
static FWGUIManager * getGUIManager()
std::string const & triggerName(unsigned int index) const
bool getByLabel(InputTag const &, Handle< T > &) const