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() override;
12  static void fillDescriptions(ConfigurationDescriptions& descriptions);
13 
14  private:
16  void produce(Event&) override;
17  };
18 
20  : ProducerSourceBase(pset, desc, false) {}
21 
23 
25 
27 
30  desc.setComment("Creates runs, lumis and events containing no products.");
32  descriptions.add("source", desc);
33  }
34 } // namespace edm
35 
36 using edm::EmptySource;
EmptySource(ParameterSet const &, InputSourceDescription const &)
Definition: EmptySource.cc:19
#define DEFINE_FWK_INPUT_SOURCE(type)
void setComment(std::string const &value)
static void fillDescription(ParameterSetDescription &desc)
unsigned long long TimeValue_t
Definition: Timestamp.h:28
void add(std::string const &label, ParameterSetDescription const &psetDescription)
~EmptySource() override
Definition: EmptySource.cc:22
void produce(Event &) override
Definition: EmptySource.cc:26
HLT enums.
bool setRunAndEventInfo(EventID &id, TimeValue_t &time, edm::EventAuxiliary::ExperimentType &) override
Definition: EmptySource.cc:24
static void fillDescriptions(ConfigurationDescriptions &descriptions)
Definition: EmptySource.cc:28