test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
cutParser.h
Go to the documentation of this file.
1 #ifndef CommonTools_Utils_cutParset_h
2 #define CommonTools_Utils_cutParset_h
6 #include <string>
7 
8 namespace reco {
9  namespace parser {
10  bool cutParser(const edm::TypeWithDict &t, const std::string & cut, SelectorPtr & sel, bool lazy) ;
11 
12  template<typename T>
13  inline bool cutParser(const std::string & cut, SelectorPtr & sel, bool lazy=false) {
14  return reco::parser::cutParser(edm::TypeWithDict(typeid(T)), cut, sel, lazy);
15  }
16  }
17 }
18 
19 #endif
bool cutParser(const edm::TypeWithDict &t, const std::string &cut, SelectorPtr &sel, bool lazy)
Definition: cutParser.cc:7
boost::shared_ptr< SelectorBase > SelectorPtr
Definition: SelectorPtr.h:17
long double T