Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-08-05 22:47:52

0001 #ifndef CommonTools_Utils_SelectorBase_h
0002 #define CommonTools_Utils_SelectorBase_h
0003 /** \class SelectorBase
0004  *
0005  * Base class for all object selector 
0006  *
0007  * \author Luca Lista, INFN
0008  *
0009  * \version $Revision: 1.2 $
0010  *
0011  */
0012 
0013 namespace edm {
0014   class ObjectWithDict;
0015 }
0016 
0017 namespace reco {
0018   namespace parser {
0019     class SelectorBase {
0020     public:
0021       /// destructor
0022       virtual ~SelectorBase() {}
0023       /// return true if the object is selected
0024       virtual bool operator()(const edm::ObjectWithDict& c) const = 0;
0025     };
0026   }  // namespace parser
0027 }  // namespace reco
0028 
0029 #endif