CMS 3D CMS Logo

EmptySource.cc
Go to the documentation of this file.
6 
7 namespace edm {
8  class EmptySource : public ProducerSourceBase {
9  public:
10  explicit EmptySource(ParameterSet const&, InputSourceDescription const&);
11  ~EmptySource();
12  static void fillDescriptions(ConfigurationDescriptions& descriptions);
13  private:
15  virtual void produce(Event &) override;
16  };
17 
19  InputSourceDescription const& desc) :
20  ProducerSourceBase(pset, desc, false)
21  { }
22 
24  }
25 
26  bool
28  return true;
29  }
30 
31  void
33  }
34 
35  void
38  desc.setComment("Creates runs, lumis and events containing no products.");
40  descriptions.add("source", desc);
41  }
42 }
43 
44 using edm::EmptySource;
EmptySource(ParameterSet const &, InputSourceDescription const &)
Definition: EmptySource.cc:18
void setComment(std::string const &value)
#define DEFINE_FWK_INPUT_SOURCE(type)
static void fillDescription(ParameterSetDescription &desc)
unsigned long long TimeValue_t
Definition: Timestamp.h:28
void add(std::string const &label, ParameterSetDescription const &psetDescription)
virtual void produce(Event &) override
Definition: EmptySource.cc:32
HLT enums.
virtual bool setRunAndEventInfo(EventID &id, TimeValue_t &time, edm::EventAuxiliary::ExperimentType &) override
Definition: EmptySource.cc:27
static void fillDescriptions(ConfigurationDescriptions &descriptions)
Definition: EmptySource.cc:36