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 
10 
11 #if !defined(__CINT__) && !defined(__MAKECINT__) && !defined(__REFLEX__)
13 #include <unordered_map>
14 #else
15 #include <map>
16 #endif
17 
19  public:
22  }
23 
24 #if !defined(__CINT__) && !defined(__MAKECINT__) && !defined(__REFLEX__)
27 
28 
29  virtual void setConsumes(edm::ConsumesCollector&) = 0;
30 #endif
31 
32  virtual void getEventContent(const edm::EventBase&) = 0;
33 
36 
37  protected:
38 #if !defined(__CINT__) && !defined(__MAKECINT__) && !defined(__REFLEX__)
39  std::unordered_map<std::string,edm::InputTag> contentTags_;
40  std::unordered_map<std::string,edm::EDGetToken> contentTokens_;
41 #else
42  std::map<std::string,edm::InputTag> contentTags_;
43 #endif
44 };
45 
46 #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