CMS 3D CMS Logo

NotCombiner.h
Go to the documentation of this file.
1 #ifndef CommonTools_Utils_NotCombiner_h
2 #define CommonTools_Utils_NotCombiner_h
3 /* \class reco::parser::NotCombiner
4  *
5  * logical NOT combiner
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  struct NotCombiner : public SelectorBase {
20  arg_( arg ) {}
21  bool operator()( const edm::ObjectWithDict& o ) const override {
22  return ! (*arg_)( o );
23  }
24  private:
26  };
27  }
28 }
29 
30 #endif
NotCombiner(SelectorPtr arg)
Definition: NotCombiner.h:19
A arg
Definition: Factorize.h:38
boost::shared_ptr< SelectorBase > SelectorPtr
Definition: SelectorPtr.h:17
bool operator()(const edm::ObjectWithDict &o) const override
return true if the object is selected
Definition: NotCombiner.h:21
fixed size matrix