CMS 3D CMS Logo

EDProducer.h
Go to the documentation of this file.
1 #ifndef FWCore_Framework_one_EDProducer_h
2 #define FWCore_Framework_one_EDProducer_h
3 // -*- C++ -*-
4 //
5 // Package: FWCore/Framework
6 // Class : edm::one::EDProducer
7 //
16 //
17 // Original Author: Chris Jones
18 // Created: Thu, 09 May 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 EDProducer : public virtual EDProducerBase, public producer::AbilityToImplementor<T>::Type... {
31  public:
34  "Cannot use both WatchRuns and RunCache");
37  "Cannot use both WatchLuminosityBlocks and LuminosityBLockCache");
38 
39  EDProducer() = default;
40  EDProducer(const EDProducer&) = delete;
41  const EDProducer& operator=(const EDProducer&) = delete;
42 
43 #ifdef __INTEL_COMPILER
44  virtual ~EDProducer() = default;
45 #endif
46  //
47 
48  // ---------- const member functions ---------------------
53 
56  }
59  }
60 
63 
66 
67  SerialTaskQueue* globalRunsQueue() final { return globalRunsQueue_.queue(); }
69 
70  // ---------- static member functions --------------------
71 
72  // ---------- member functions ---------------------------
73 
74  private:
75  // ---------- member data --------------------------------
79  };
80 
81  } // namespace one
82 } // namespace edm
83 
84 #endif
bool wantsProcessBlocks() const final
Definition: EDProducer.h:49
const EDProducer & operator=(const EDProducer &)=delete
bool hasAbilityToProduceInEndLumis() const final
Definition: EDProducer.h:65
bool hasAbilityToProduceInBeginProcessBlocks() const final
Definition: EDProducer.h:54
bool hasAbilityToProduceInEndRuns() const final
Definition: EDProducer.h:62
bool hasAbilityToProduceInEndProcessBlocks() const final
Definition: EDProducer.h:57
impl::OptionalSerialTaskQueueHolder< WantsSerialGlobalRunTransitions< T... >::value > globalRunsQueue_
Definition: EDProducer.h:76
bool hasAbilityToProduceInBeginLumis() const final
Definition: EDProducer.h:64
bool wantsGlobalLuminosityBlocks() const final
Definition: EDProducer.h:52
bool hasAbilityToProduceInBeginRuns() const final
Definition: EDProducer.h:61
impl::OptionalSerialTaskQueueHolder< WantsSerialGlobalLuminosityBlockTransitions< T... >::value > globalLuminosityBlocksQueue_
Definition: EDProducer.h:78
bool wantsInputProcessBlocks() const final
Definition: EDProducer.h:50
SerialTaskQueue * globalLuminosityBlocksQueue() final
Definition: EDProducer.h:68
SerialTaskQueue * globalRunsQueue() final
Definition: EDProducer.h:67
HLT enums.
bool wantsGlobalRuns() const final
Definition: EDProducer.h:51
long double T