CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CutApplicatorWithEventContentBase.h
Go to the documentation of this file.
1 #ifndef PhysicsTools_SelectorUtils_CutApplicatorWithEventContentBase_h
2 #define PhysicsTools_SelectorUtils_CutApplicatorWithEventContentBase_h
3 
4 //
5 //
6 //
7 
11 
12 #if !defined(__CINT__) && !defined(__MAKECINT__) && !defined(__REFLEX__)
14 #include <unordered_map>
15 #else
16 #include <map>
17 #endif
18 
20  public:
23  }
24 
25 #if !defined(__CINT__) && !defined(__MAKECINT__) && !defined(__REFLEX__)
28 
29 
30  virtual void setConsumes(edm::ConsumesCollector&) = 0;
31 #endif
32 
33  virtual void getEventContent(const edm::EventBase&) = 0;
34 
37 
38  protected:
39 #if !defined(__CINT__) && !defined(__MAKECINT__) && !defined(__REFLEX__)
40  std::unordered_map<std::string,edm::InputTag> contentTags_;
41  std::unordered_map<std::string,edm::EDGetToken> contentTokens_;
42 #else
43  std::map<std::string,edm::InputTag> contentTags_;
44 #endif
45 };
46 
47 #endif
std::unordered_map< std::string, edm::EDGetToken > contentTokens_
CutApplicatorWithEventContentBase(const edm::ParameterSet &c)
std::unordered_map< std::string, edm::InputTag > contentTags_
virtual void getEventContent(const edm::EventBase &)=0
virtual void setConsumes(edm::ConsumesCollector &)=0
CutApplicatorWithEventContentBase & operator=(const CutApplicatorWithEventContentBase &)=delete