CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
ModuleCallingContext const * moduleCallingContext() const
EventID const & eventID() const
std::ostream & operator<<(std::ostream &ost, const HLTGlobalStatus &hlt)
Formatted printout of trigger tbale.
InternalContext(EventID const &eventID, ModuleCallingContext const *)