11 #include <boost/regex.hpp>
26 std::vector<std::pair<boost::shared_ptr<std::string>, std::string> >& oOptions)
const
29 std::string
part(iBegin,iEnd);
30 part = boost::regex_replace(part,boost::regex(
".*?(\\&\\&|\\|\\||\\s)+"),
"");
45 for(
unsigned int i=0;
i<triggerNames->
size(); ++
i)
51 unsigned int part_size = part.size();
52 for(std::vector<std::string>::const_iterator trigger =
m_triggerNames.begin();
54 if(part == trigger->substr(0,part_size) ) {
55 oOptions.push_back(std::make_pair(boost::shared_ptr<std::string>(
new std::string(*trigger)),
56 trigger->substr(part_size,trigger->size()-part_size)));
virtual void fillOptions(const char *iBegin, const char *iEnd, std::vector< std::pair< boost::shared_ptr< std::string >, std::string > > &oOptions) const
Strings::size_type size() const
Strings const & triggerNames() 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