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
CutApplicatorWithEventContentBase::~CutApplicatorWithEventContentBase
~CutApplicatorWithEventContentBase() override
Destructor.
Definition: CutApplicatorWithEventContentBase.h:35
CutApplicatorWithEventContentBase::contentTags_
std::unordered_map< std::string, edm::InputTag > contentTags_
Definition: CutApplicatorWithEventContentBase.h:35
CutApplicatorWithEventContentBase::CutApplicatorWithEventContentBase
CutApplicatorWithEventContentBase(const edm::ParameterSet &c)
Definition: CutApplicatorWithEventContentBase.h:23
ProductID.h
CutApplicatorWithEventContentBase::setConsumes
virtual void setConsumes(edm::ConsumesCollector &)=0
CutApplicatorWithEventContentBase::getEventContent
virtual void getEventContent(const edm::EventBase &)=0
edm::ParameterSet
Definition: ParameterSet.h:47
CutApplicatorWithEventContentBase::CutApplicatorWithEventContentBase
CutApplicatorWithEventContentBase()
Definition: CutApplicatorWithEventContentBase.h:21
ValueMap.h
CutApplicatorBase
Definition: CutApplicatorBase.h:45
CutApplicatorWithEventContentBase::operator=
CutApplicatorWithEventContentBase & operator=(const CutApplicatorWithEventContentBase &)=delete
CutApplicatorWithEventContentBase::contentTokens_
std::unordered_map< std::string, edm::EDGetToken > contentTokens_
Definition: CutApplicatorWithEventContentBase.h:40
edm::EventBase
Definition: EventBase.h:46
ConsumesCollector.h
CutApplicatorBase.h
c
auto & c
Definition: CAHitNtupletGeneratorKernelsImpl.h:56
edm::ConsumesCollector
Definition: ConsumesCollector.h:45
CutApplicatorWithEventContentBase
Definition: CutApplicatorWithEventContentBase.h:19