CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 #if !defined(__CINT__) && !defined(__MAKECINT__)
21 // system include files
22 #include <string>
23 #include <typeinfo>
24 //
25 // // user include files
27 
28 #include "Rtypes.h"
29 
30 namespace fwlite
31 {
33  {
34  public:
36 
37  virtual ~LuminosityBlockBase();
38 
39  virtual bool getByLabel(
40  std::type_info const&,
41  char const*,
42  char const*,
43  char const*,
44  void*) const = 0;
45 
47 
48  virtual bool atEnd() const = 0;
49 
50  virtual const LuminosityBlockBase& operator++() = 0;
51 
52  virtual const LuminosityBlockBase& toBegin() = 0;
53 
54  virtual Long64_t fileIndex() const { return -1; }
55  virtual Long64_t secondaryFileIndex() const { return -1; }
56 
57  private:
58 
59  virtual edm::BasicHandle getByLabelImpl(std::type_info const&, std::type_info const&, const edm::InputTag&) const;
60  };
61 } // fwlite namespace
62 
63 #endif /*__CINT__ */
64 #endif
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
same as above, but using the InputTag class
virtual edm::BasicHandle getByLabelImpl(std::type_info const &, std::type_info const &, const edm::InputTag &) const
virtual bool atEnd() const =0
virtual bool getByLabel(std::type_info const &, char const *, char const *, char const *, void *) const =0
virtual const LuminosityBlockBase & toBegin()=0
virtual const LuminosityBlockBase & operator++()=0
virtual Long64_t secondaryFileIndex() const
virtual Long64_t fileIndex() const