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,
32  public:
35  "Cannot use both WatchRuns and RunCache");
38  "Cannot use both WatchLuminosityBlocks and LuminosityBLockCache");
39 
40  EDProducer() = default;
41 #ifdef __INTEL_COMPILER
42  virtual ~EDProducer() = default;
43 #endif
44  //
45 
46  // ---------- const member functions ---------------------
47  bool wantsGlobalRuns() const final {
49  }
50  bool wantsGlobalLuminosityBlocks() const final {
52  }
53 
54  bool hasAbilityToProduceInRuns() const final {
56  }
57 
58  bool hasAbilityToProduceInLumis() const final {
60  }
61 
62  SerialTaskQueue* globalRunsQueue() final { return globalRunsQueue_.queue();}
64 
65  // ---------- static member functions --------------------
66 
67  // ---------- member functions ---------------------------
68 
69  private:
70  EDProducer(const EDProducer&) = delete;
71  const EDProducer& operator=(const EDProducer&) = delete;
72 
73  // ---------- member data --------------------------------
76  };
77 
78  }
79 }
80 
81 
82 #endif
const EDProducer & operator=(const EDProducer &)=delete
impl::OptionalSerialTaskQueueHolder< WantsSerialGlobalRunTransitions< T... >::value > globalRunsQueue_
Definition: EDProducer.h:74
bool wantsGlobalRuns() const final
Definition: EDProducer.h:47
bool wantsGlobalLuminosityBlocks() const final
Definition: EDProducer.h:50
impl::OptionalSerialTaskQueueHolder< WantsSerialGlobalLuminosityBlockTransitions< T... >::value > globalLuminosityBlocksQueue_
Definition: EDProducer.h:75
bool hasAbilityToProduceInLumis() const final
Definition: EDProducer.h:58
SerialTaskQueue * globalLuminosityBlocksQueue() final
Definition: EDProducer.h:63
SerialTaskQueue * globalRunsQueue() final
Definition: EDProducer.h:62
HLT enums.
long double T
bool hasAbilityToProduceInRuns() const final
Definition: EDProducer.h:54