CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EventEntryInfo.cc
Go to the documentation of this file.
2 #include <ostream>
3 
4 /*----------------------------------------------------------------------
5 
6 ----------------------------------------------------------------------*/
7 
8 namespace edm {
10  branchID_(),
11  productID_(),
12  productStatus_(productstatus::uninitialized()),
13  entryDescriptionID_()
14  {}
15 
17 
18  void
19  EventEntryInfo::write(std::ostream& os) const {
20  os << "branch ID = " << branchID() << '\n';
21  os << "product ID = " << productID() << '\n';
22  os << "product status = " << static_cast<int>(productStatus()) << '\n';
23  os << "entry description ID = " << entryDescriptionID() << '\n';
24  }
25 
26  bool
28  return
29  a.branchID() == b.branchID()
30  && a.productID() == b.productID()
31  && a.productStatus() == b.productStatus()
33  }
34 }
ProductStatus const & productStatus() const
ProductStatus uninitialized()
Definition: ProductStatus.h:30
ProductID const & productID() const
EntryDescriptionID const & entryDescriptionID() const
bool operator==(debugging_allocator< X > const &, debugging_allocator< Y > const &)
BranchID const & branchID() const
double b
Definition: hdecay.h:120
void write(std::ostream &os) const
double a
Definition: hdecay.h:121