CMS 3D CMS Logo

Public Member Functions | Static Public Member Functions | Private Member Functions

edm::EmptySource Class Reference

Inheritance diagram for edm::EmptySource:
edm::GeneratedInputSource edm::ConfigurableInputSource edm::InputSource edm::ProductRegistryHelper

List of all members.

Public Member Functions

 EmptySource (ParameterSet const &, InputSourceDescription const &)
 ~EmptySource ()

Static Public Member Functions

static void fillDescriptions (ConfigurationDescriptions &descriptions)

Private Member Functions

virtual bool produce (Event &)

Detailed Description

Definition at line 8 of file EmptySource.cc.


Constructor & Destructor Documentation

edm::EmptySource::EmptySource ( ParameterSet const &  pset,
InputSourceDescription const &  desc 
) [explicit]

Definition at line 17 of file EmptySource.cc.

                                                                           :
    GeneratedInputSource(pset, desc)
  { }
edm::EmptySource::~EmptySource ( )

Definition at line 22 of file EmptySource.cc.

                            {
  }

Member Function Documentation

void edm::EmptySource::fillDescriptions ( ConfigurationDescriptions descriptions) [static]

Reimplemented from edm::InputSource.

Definition at line 31 of file EmptySource.cc.

References edm::ConfigurationDescriptions::add(), edm::ConfigurableInputSource::fillDescription(), and edm::ParameterSetDescription::setComment().

                                                                       {
    ParameterSetDescription desc;
    desc.setComment("Creates runs, lumis and events containing no products.");
    GeneratedInputSource::fillDescription(desc);
    descriptions.add("source", desc);
  }
bool edm::EmptySource::produce ( edm::Event ) [private, virtual]

Implements edm::ConfigurableInputSource.

Definition at line 26 of file EmptySource.cc.

                                 {
    return true;
  }