CMS 3D CMS Logo

EDFilter.h
Go to the documentation of this file.
1 #ifndef FWCore_Framework_one_EDFilter_h
2 #define FWCore_Framework_one_EDFilter_h
3 // -*- C++ -*-
4 //
5 // Package: FWCore/Framework
6 // Class : edm::one::EDFilter
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 EDFilter : public filter::AbilityToImplementor<T>::Type..., public virtual EDFilterBase {
31  public:
34  "Cannot use both WatchRuns and RunCache");
37  "Cannot use both WatchLuminosityBlocks and LuminosityBLockCache");
38  EDFilter() = default;
39  //virtual ~EDFilter();
40 
41  // ---------- const member functions ---------------------
42  bool wantsGlobalRuns() const final { return WantsGlobalRunTransitions<T...>::value; }
44 
46 
48 
49  // ---------- static member functions --------------------
50 
51  // ---------- member functions ---------------------------
52  SerialTaskQueue* globalRunsQueue() final { return globalRunsQueue_.queue(); }
54 
55  private:
56  EDFilter(const EDFilter&) = delete;
57  const EDFilter& operator=(const EDFilter&) = delete;
58 
59  // ---------- member data --------------------------------
63  };
64 
65  } // namespace one
66 } // namespace edm
67 
68 #endif
bool wantsGlobalRuns() const final
Definition: EDFilter.h:42
bool hasAbilityToProduceInLumis() const final
Definition: EDFilter.h:47
bool hasAbilityToProduceInRuns() const final
Definition: EDFilter.h:45
SerialTaskQueue * globalLuminosityBlocksQueue() final
Definition: EDFilter.h:53
SerialTaskQueue * globalRunsQueue() final
Definition: EDFilter.h:52
impl::OptionalSerialTaskQueueHolder< WantsSerialGlobalLuminosityBlockTransitions< T... >::value > globalLuminosityBlocksQueue_
Definition: EDFilter.h:62
bool wantsGlobalLuminosityBlocks() const final
Definition: EDFilter.h:43
const EDFilter & operator=(const EDFilter &)=delete
HLT enums.
impl::OptionalSerialTaskQueueHolder< WantsSerialGlobalRunTransitions< T... >::value > globalRunsQueue_
Definition: EDFilter.h:60
long double T