CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RawInputSource.h
Go to the documentation of this file.
1 #ifndef FWCore_Sources_RawInputSource_h
2 #define FWCore_Sources_RawInputSource_h
3 
4 /*----------------------------------------------------------------------
5 ----------------------------------------------------------------------*/
6 
7 #include <memory>
8 #include <utility>
9 
13 
14 namespace edm {
15  class ParameterSet;
16  class Timestamp;
17  class RawInputSource : public InputSource {
18  public:
19  explicit RawInputSource(ParameterSet const& pset, InputSourceDescription const& desc);
20  virtual ~RawInputSource();
22 
23  protected:
24  void makeEvent(EventPrincipal& eventPrincipal, EventAuxiliary const& eventAuxiliary);
25  virtual bool checkNextEvent() = 0;
26  virtual void read(EventPrincipal& eventPrincipal) = 0;
28 
29  private:
30  virtual void readEvent_(EventPrincipal& eventPrincipal) override;
31  virtual std::shared_ptr<LuminosityBlockAuxiliary> readLuminosityBlockAuxiliary_() override;
32  virtual std::shared_ptr<RunAuxiliary> readRunAuxiliary_() override;
33  virtual void reset_();
34  virtual void rewind_() override;
35  virtual ItemType getNextItemType() override;
36  virtual void preForkReleaseResources() override;
37  virtual void closeFile_() override final;
38  virtual void genuineCloseFile() { }
39 
42  };
43 }
44 #endif
virtual void genuineCloseFile()
virtual void readEvent_(EventPrincipal &eventPrincipal) override
virtual std::shared_ptr< LuminosityBlockAuxiliary > readLuminosityBlockAuxiliary_() override
void setInputFileTransitionsEachEvent()
RawInputSource(ParameterSet const &pset, InputSourceDescription const &desc)
virtual bool checkNextEvent()=0
virtual void preForkReleaseResources() override
bool inputFileTransitionsEachEvent_
virtual void read(EventPrincipal &eventPrincipal)=0
virtual std::shared_ptr< RunAuxiliary > readRunAuxiliary_() override
virtual void closeFile_() overridefinal
virtual void rewind_() override
virtual ItemType getNextItemType() override
tuple description
Definition: idDealer.py:66
virtual void reset_()
void makeEvent(EventPrincipal &eventPrincipal, EventAuxiliary const &eventAuxiliary)
static void fillDescription(ParameterSetDescription &description)