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:
21 
23 
26  }
27 
28 #if !defined(__CINT__) && !defined(__MAKECINT__) && !defined(__REFLEX__)
31 
32 
33  virtual void setConsumes(edm::ConsumesCollector&) = 0;
34 #endif
35 
36  virtual void getEventContent(const edm::EventBase&) = 0;
37 
40 
41  protected:
42 #if !defined(__CINT__) && !defined(__MAKECINT__) && !defined(__REFLEX__)
43  std::unordered_map<std::string,edm::InputTag> contentTags_;
44  std::unordered_map<std::string,edm::EDGetToken> contentTokens_;
45 #else
46  std::map<std::string,edm::InputTag> contentTags_;
47 #endif
48 };
49 
50 #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