CMS 3D CMS Logo

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

edm::EmptySource Class Reference

Inheritance diagram for edm::EmptySource:
edm::ProducerSourceBase 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 void produce (Event &)
virtual bool setRunAndEventInfo (EventID &id, TimeValue_t &time)

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 18 of file EmptySource.cc.

                                                                           :
    ProducerSourceBase(pset, desc, false)
  { }
edm::EmptySource::~EmptySource ( )

Definition at line 23 of file EmptySource.cc.

                            {
  }

Member Function Documentation

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

Reimplemented from edm::InputSource.

Definition at line 36 of file EmptySource.cc.

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

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

Implements edm::ProducerSourceBase.

Definition at line 32 of file EmptySource.cc.

                                {
  }
bool edm::EmptySource::setRunAndEventInfo ( EventID id,
TimeValue_t time 
) [private, virtual]

Implements edm::ProducerSourceBase.

Definition at line 27 of file EmptySource.cc.

                                                        {
    return true;
  }