test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
UnaryCutSetter.h
Go to the documentation of this file.
1 #ifndef CommonTools_Utils_UnaryCutSetter_h
2 #define CommonTools_Utils_UnaryCutSetter_h
3 /* \class reco::parser::UnaryCutSetter
4  *
5  * Cut setter
6  *
7  * \author original version: Chris Jones, Cornell,
8  * adapted by Luca Lista, INFN
9  *
10  * \version $Revision: 1.2 $
11  *
12  */
15 
16 namespace reco {
17  namespace parser {
18  template<typename Op>
19  struct UnaryCutSetter {
21  selStack_(selStack) { }
22  void operator()(const char*, const char*) const {
24  }
25  void operator()(const char&) const {
26  const char * c;
27  operator()(c, c);
28  }
30  };
31  }
32  }
33 
34 #endif
UnaryCutSetter(SelectorStack &selStack)
void operator()(const char &) const
std::vector< SelectorPtr > SelectorStack
Definition: SelectorStack.h:18
void operator()(const char *, const char *) const
boost::shared_ptr< SelectorBase > SelectorPtr
Definition: SelectorPtr.h:17