CMS 3D CMS Logo

PathContext.cc
Go to the documentation of this file.
3 
4 #include <ostream>
5 
6 namespace edm {
7 
9  StreamContext const* streamContext,
10  unsigned int pathID,
11  PathType pathType)
12  : pathName_(pathName), streamContext_(streamContext), pathID_(pathID), pathType_(pathType) {}
13 
14  std::ostream& operator<<(std::ostream& os, PathContext const& pc) {
15  os << "PathContext: pathName = " << pc.pathName() << " pathID = " << pc.pathID();
17  os << " (EndPath)\n";
18  } else {
19  os << "\n";
20  }
21  if (pc.streamContext()) {
22  os << " " << *pc.streamContext();
23  }
24  return os;
25  }
26 } // namespace edm
edm::PathContext::streamContext
StreamContext const * streamContext() const
Definition: PathContext.h:31
edm
HLT enums.
Definition: AlignableModifier.h:19
edm::PathContext::pathType
PathType pathType() const
Definition: PathContext.h:33
edm::operator<<
std::ostream & operator<<(std::ostream &ost, const HLTGlobalStatus &hlt)
Formatted printout of trigger tbale.
Definition: HLTGlobalStatus.h:106
edm::PathContext::pathID
unsigned int pathID() const
Definition: PathContext.h:32
edm::StreamContext
Definition: StreamContext.h:31
hltMonBTagIPClient_cfi.pathName
pathName
Definition: hltMonBTagIPClient_cfi.py:5
edm::PathContext::PathType
PathType
Definition: PathContext.h:26
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::PathContext
Definition: PathContext.h:24
PathContext.h
edm::PathContext::pathName
std::string const & pathName() const
Definition: PathContext.h:30
edm::PathContext::PathContext
PathContext(std::string const &pathName, StreamContext const *streamContext, unsigned int pathID, PathType pathType)
Definition: PathContext.cc:8
edm::PathContext::PathType::kEndPath
StreamContext.h