CMS 3D CMS Logo

EDAnalyzer.h
Go to the documentation of this file.
1 #ifndef FWCore_Framework_one_EDAnalyzer_h
2 #define FWCore_Framework_one_EDAnalyzer_h
3 // -*- C++ -*-
4 //
5 // Package: FWCore/Framework
6 // Class : edm::one::EDAnalyzer
7 //
16 //
17 // Original Author: Chris Jones
18 // Created: Thu, 01 Aug 2013 19:53:55 GMT
19 //
20 
21 // system include files
22 
23 // user include files
25 
26 // forward declarations
27 namespace edm {
28  namespace one {
29  template <typename... T>
30  class EDAnalyzer : public virtual EDAnalyzerBase, public analyzer::AbilityToImplementor<T>::Type... {
31  public:
34  "Cannot use both WatchRuns and RunCache");
37  "Cannot use both WatchLuminosityBlocks and LuminosityBLockCache");
38 
39  EDAnalyzer() = default;
40  EDAnalyzer(const EDAnalyzer&) = delete;
41  const EDAnalyzer& operator=(const EDAnalyzer&) = delete;
42 
43 #ifdef __INTEL_COMPILER
44  virtual ~EDAnalyzer() = default;
45 #endif
46 
47  // ---------- const member functions ---------------------
48  bool wantsProcessBlocks() const noexcept final { return WantsProcessBlockTransitions<T...>::value; }
50  bool wantsGlobalRuns() const noexcept final { return WantsGlobalRunTransitions<T...>::value; }
51  bool wantsGlobalLuminosityBlocks() const noexcept final {
53  }
54 
55  // ---------- static member functions --------------------
56 
57  // ---------- member functions ---------------------------
58  SerialTaskQueue* globalRunsQueue() final { return globalRunsQueue_.queue(); }
60 
61  private:
62  // ---------- member data --------------------------------
66  };
67 
68  } // namespace one
69 } // namespace edm
70 
71 #endif
bool wantsGlobalRuns() const noexcept final
Definition: EDAnalyzer.h:50
impl::OptionalSerialTaskQueueHolder< WantsSerialGlobalLuminosityBlockTransitions< T... >::value > globalLuminosityBlocksQueue_
Definition: EDAnalyzer.h:65
SerialTaskQueue * globalRunsQueue() final
Definition: EDAnalyzer.h:58
impl::OptionalSerialTaskQueueHolder< WantsSerialGlobalRunTransitions< T... >::value > globalRunsQueue_
Definition: EDAnalyzer.h:63
const EDAnalyzer & operator=(const EDAnalyzer &)=delete
bool wantsInputProcessBlocks() const noexcept final
Definition: EDAnalyzer.h:49
bool wantsProcessBlocks() const noexcept final
Definition: EDAnalyzer.h:48
bool wantsGlobalLuminosityBlocks() const noexcept final
Definition: EDAnalyzer.h:51
HLT enums.
SerialTaskQueue * globalLuminosityBlocksQueue() final
Definition: EDAnalyzer.h:59
long double T