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 wantsGlobalRuns() const final { return WantsGlobalRunTransitions<T...>::value; }
45  bool wantsStreamRuns() const final { return WantsStreamRunTransitions<T...>::value; }
47 
48  // ---------- static member functions --------------------
49 
50  // ---------- member functions ---------------------------
51 
52  private:
53  EDAnalyzer(const EDAnalyzer&) = delete;
54 
55  const EDAnalyzer& operator=(const EDAnalyzer&) = delete;
56 
57  // ---------- member data --------------------------------
58  };
59 
60  } // namespace limited
61 } // namespace edm
62 
63 #endif
bool wantsStreamLuminosityBlocks() const final
Definition: EDAnalyzer.h:46
EDAnalyzer(edm::ParameterSet const &iPSet)
Definition: EDAnalyzer.h:34
const EDAnalyzer & operator=(const EDAnalyzer &)=delete
bool wantsGlobalRuns() const final
Definition: EDAnalyzer.h:43
bool wantsStreamRuns() const final
Definition: EDAnalyzer.h:45
HLT enums.
bool wantsGlobalLuminosityBlocks() const final
Definition: EDAnalyzer.h:44
long double T