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  virtual bool getByLabel(
46  std::type_info const&,
47  char const*,
48  char const*,
49  char const*,
50  edm::WrapperHolder&) const = 0;
51 
53 
54  virtual bool atEnd() const = 0;
55 
56  virtual const LuminosityBlockBase& operator++() = 0;
57 
58  virtual const LuminosityBlockBase& toBegin() = 0;
59 
60  virtual Long64_t fileIndex() const { return -1; }
61  virtual Long64_t secondaryFileIndex() const { return -1; }
62 
63  private:
64 
65  virtual edm::BasicHandle getByLabelImpl(std::type_info const&, std::type_info const&, const edm::InputTag&) const;
66  };
67 } // fwlite namespace
68 
69 #endif /*__CINT__ */
70 #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