CMS 3D CMS Logo

EDAnalyzer.h
Go to the documentation of this file.
1 #ifndef FWCore_Framework_limited_EDAnalyzer_h
2 #define FWCore_Framework_limited_EDAnalyzer_h
3 // -*- C++ -*-
4 //
5 // Package: FWCore/Framework
6 // Class : edm::limited::EDAnalyzer
7 //
16 //
17 // Original Author: Chris Jones
18 // Created: Thu, 18 Jul 2013 11:51:07 GMT
19 //
20 
21 // system include files
22 
23 // user include files
26 
27 // forward declarations
28 
29 namespace edm {
30  namespace limited {
31  template <typename... T>
32  class EDAnalyzer : public analyzer::AbilityToImplementor<T>::Type..., public virtual EDAnalyzerBase {
33  public:
35  : EDAnalyzerBase(iPSet), analyzer::AbilityToImplementor<T>::Type(iPSet)... {}
36 // We do this only in the case of the intel compiler as this might
37 // end up creating a lot of code bloat due to inline symbols being generated
38 // in each DSO which uses this header.
39 #ifdef __INTEL_COMPILER
40  virtual ~EDAnalyzer() {}
41 #endif
42  // ---------- const member functions ---------------------
43  bool wantsProcessBlocks() const noexcept final { return WantsProcessBlockTransitions<T...>::value; }
45  bool wantsGlobalRuns() const noexcept final { return WantsGlobalRunTransitions<T...>::value; }
46  bool wantsGlobalLuminosityBlocks() const noexcept final {
48  }
49  bool wantsStreamRuns() const noexcept final { return WantsStreamRunTransitions<T...>::value; }
50  bool wantsStreamLuminosityBlocks() const noexcept final {
52  }
53 
54  // ---------- static member functions --------------------
55 
56  // ---------- member functions ---------------------------
57 
58  private:
59  EDAnalyzer(const EDAnalyzer&) = delete;
60 
61  const EDAnalyzer& operator=(const EDAnalyzer&) = delete;
62 
63  // ---------- member data --------------------------------
64  };
65 
66  } // namespace limited
67 } // namespace edm
68 
69 #endif
bool wantsStreamLuminosityBlocks() const noexcept final
Definition: EDAnalyzer.h:50
bool wantsGlobalLuminosityBlocks() const noexcept final
Definition: EDAnalyzer.h:46
bool wantsProcessBlocks() const noexcept final
Definition: EDAnalyzer.h:43
EDAnalyzer(edm::ParameterSet const &iPSet)
Definition: EDAnalyzer.h:34
bool wantsGlobalRuns() const noexcept final
Definition: EDAnalyzer.h:45
const EDAnalyzer & operator=(const EDAnalyzer &)=delete
HLT enums.
bool wantsInputProcessBlocks() const noexcept final
Definition: EDAnalyzer.h:44
bool wantsStreamRuns() const noexcept final
Definition: EDAnalyzer.h:49
long double T