CMS 3D CMS Logo

ThingSource.h
Go to the documentation of this file.
1 #ifndef Integration_ThingSource_h
2 #define Integration_ThingSource_h
3 
12 #include "ThingAlgorithm.h"
15 
16 namespace edmtest {
18  public:
19  // The following is not yet used, but will be the primary
20  // constructor when the parameter set system is available.
21  //
23 
24  ~ThingSource() override;
25 
27  return true;
28  }
29 
30  void produce(edm::Event& e) override;
31 
32  void beginRun(edm::Run& r) override;
33 
34  void beginLuminosityBlock(edm::LuminosityBlock& lb) override;
35 
36  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
37 
38  private:
39  //called internally, not by the framework
40  void endRun(edm::Run& r);
42 
44  };
45 } // namespace edmtest
46 #endif
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: ThingSource.cc:93
~ThingSource() override
Definition: ThingSource.cc:19
void produce(edm::Event &e) override
Definition: ThingSource.cc:22
void endLuminosityBlock(edm::LuminosityBlock &lb)
Definition: ThingSource.cc:51
ThingAlgorithm alg_
Definition: ThingSource.h:43
void endRun(edm::Run &r)
Definition: ThingSource.cc:80
unsigned long long TimeValue_t
Definition: Timestamp.h:21
ThingSource(edm::ParameterSet const &pset, edm::InputSourceDescription const &desc)
Definition: ThingSource.cc:9
void beginRun(edm::Run &r) override
Definition: ThingSource.cc:65
bool setRunAndEventInfo(edm::EventID &, edm::TimeValue_t &, edm::EventAuxiliary::ExperimentType &) override
Definition: ThingSource.h:26
void beginLuminosityBlock(edm::LuminosityBlock &lb) override
Definition: ThingSource.cc:36
Definition: Run.h:45