CMS 3D CMS Logo

EmptySource.cc
Go to the documentation of this file.
7 
8 namespace edm {
9  class EmptySource : public IDGeneratorSourceBase<InputSource> {
10  public:
11  explicit EmptySource(ParameterSet const&, InputSourceDescription const&);
12  ~EmptySource() override;
13  static void fillDescriptions(ConfigurationDescriptions& descriptions);
14 
15  private:
17  void readEvent_(edm::EventPrincipal&) override;
18  };
19 
22 
24 
26 
28  doReadEvent(e, [](auto const&) {});
29  }
30 
33  desc.setComment("Creates runs, lumis and events containing no products.");
35  descriptions.add("source", desc);
36  }
37 } // namespace edm
38 
39 using edm::EmptySource;
ConfigurationDescriptions.h
funct::false
false
Definition: Factorize.h:29
edm
HLT enums.
Definition: AlignableModifier.h:19
edm::EmptySource::~EmptySource
~EmptySource() override
Definition: EmptySource.cc:23
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
edm::EmptySource
Definition: EmptySource.cc:9
edm::InputSourceDescription
Definition: InputSourceDescription.h:20
protons_cff.time
time
Definition: protons_cff.py:39
edm::IDGeneratorSourceBase
Definition: IDGeneratorSourceBase.h:24
edm::EmptySource::EmptySource
EmptySource(ParameterSet const &, InputSourceDescription const &)
Definition: EmptySource.cc:20
edm::EventPrincipal
Definition: EventPrincipal.h:46
edm::ConfigurationDescriptions::add
void add(std::string const &label, ParameterSetDescription const &psetDescription)
Definition: ConfigurationDescriptions.cc:57
edm::IDGeneratorSourceBase< InputSource >::doReadEvent
void doReadEvent(EventPrincipal &eventPrincipal, F &&f)
Definition: IDGeneratorSourceBase.h:45
DEFINE_FWK_INPUT_SOURCE
#define DEFINE_FWK_INPUT_SOURCE(type)
Definition: InputSourceMacros.h:8
edm::EmptySource::setRunAndEventInfo
bool setRunAndEventInfo(EventID &id, TimeValue_t &time, edm::EventAuxiliary::ExperimentType &) override
Definition: EmptySource.cc:25
edm::EmptySource::readEvent_
void readEvent_(edm::EventPrincipal &) override
Definition: EmptySource.cc:27
ParameterSetDescription.h
edm::ConfigurationDescriptions
Definition: ConfigurationDescriptions.h:28
edm::ParameterSet
Definition: ParameterSet.h:47
edm::EmptySource::fillDescriptions
static void fillDescriptions(ConfigurationDescriptions &descriptions)
Definition: EmptySource.cc:31
InputSourceMacros.h
submitPVResolutionJobs.desc
string desc
Definition: submitPVResolutionJobs.py:251
Frameworkfwd.h
InputSource.h
edm::EventAuxiliary::ExperimentType
ExperimentType
Definition: EventAuxiliary.h:18
IDGeneratorSourceBase.h
edm::InputSource
Definition: InputSource.h:76
edm::EventID
Definition: EventID.h:31
edm::IDGeneratorSourceBase::fillDescription
static void fillDescription(ParameterSetDescription &desc)
Definition: IDGeneratorSourceBase.cc:263
edm::TimeValue_t
unsigned long long TimeValue_t
Definition: Timestamp.h:28
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37