CMS 3D CMS Logo

InternalContext.cc
Go to the documentation of this file.
3 
4 #include <ostream>
5 
6 namespace edm {
7 
8  InternalContext::InternalContext(EventID const& eventID, ModuleCallingContext const* moduleCallingContext)
9  : eventID_(eventID), moduleCallingContext_(moduleCallingContext) {}
10 
11  std::ostream& operator<<(std::ostream& os, InternalContext const& ic) {
12  os << "InternalContext " << ic.eventID() << "\n";
13  if (ic.moduleCallingContext()) {
14  os << " " << *ic.moduleCallingContext();
15  }
16  return os;
17  }
18 } // namespace edm
EventID const & eventID() const
ModuleCallingContext const * moduleCallingContext() const
HLT enums.
std::ostream & operator<<(std::ostream &ost, const HLTGlobalStatus &hlt)
Formatted printout of trigger table.
InternalContext(EventID const &eventID, ModuleCallingContext const *)