CMS 3D CMS Logo

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:
22 
24 
25 #if !defined(__CINT__) && !defined(__MAKECINT__) && !defined(__REFLEX__)
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::InputTag > contentTags_
CutApplicatorWithEventContentBase(const edm::ParameterSet &c)
virtual void getEventContent(const edm::EventBase &)=0
std::unordered_map< std::string, edm::EDGetToken > contentTokens_
virtual void setConsumes(edm::ConsumesCollector &)=0
CutApplicatorWithEventContentBase & operator=(const CutApplicatorWithEventContentBase &)=delete