CMS 3D CMS Logo

LuminosityBlockBase.h
Go to the documentation of this file.
1 #ifndef DataFormats_FWLite_LuminosityBlockBase_h
2 #define DataFormats_FWLite_LuminosityBlockBase_h
3 // -*- C++ -*-
4 //
5 // Package: DataFormats/FWLite
6 // Class : LuminosityBlockBase
7 //
16 //
17 // Original Author: Eric Vaandering
18 // Created: Wed Jan 13 15:01:20 EDT 2007
19 //
20 // system include files
21 #include <string>
22 #include <typeinfo>
23 //
24 // // user include files
26 
27 #include "Rtypes.h"
28 
29 namespace fwlite
30 {
32  {
33  public:
35 
36  ~LuminosityBlockBase() override;
37 
38  virtual bool getByLabel(
39  std::type_info const&,
40  char const*,
41  char const*,
42  char const*,
43  void*) const = 0;
44 
46 
47  virtual bool atEnd() const = 0;
48 
49  virtual const LuminosityBlockBase& operator++() = 0;
50 
51  virtual const LuminosityBlockBase& toBegin() = 0;
52 
53  virtual Long64_t fileIndex() const { return -1; }
54  virtual Long64_t secondaryFileIndex() const { return -1; }
55 
56  private:
57 
58  edm::BasicHandle getByLabelImpl(std::type_info const&, std::type_info const&, const edm::InputTag&) const override;
59  };
60 } // fwlite namespace
61 
62 #endif
edm::BasicHandle getByLabelImpl(std::type_info const &, std::type_info const &, const edm::InputTag &) const override
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
same as above, but using the InputTag class
virtual bool getByLabel(std::type_info const &, char const *, char const *, char const *, void *) const =0
virtual bool atEnd() const =0
virtual const LuminosityBlockBase & toBegin()=0
virtual const LuminosityBlockBase & operator++()=0
virtual Long64_t secondaryFileIndex() const
virtual Long64_t fileIndex() const