FWCore
ServiceRegistry
src
InternalContext.cc
Go to the documentation of this file.
1
#include "
FWCore/ServiceRegistry/interface/InternalContext.h
"
2
#include "
FWCore/ServiceRegistry/interface/ModuleCallingContext.h
"
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
edm::InternalContext::eventID
EventID const & eventID() const
Definition:
InternalContext.h:27
edm::ModuleCallingContext
Definition:
ModuleCallingContext.h:32
edm::InternalContext
Definition:
InternalContext.h:23
InternalContext.h
edm::InternalContext::moduleCallingContext
ModuleCallingContext const * moduleCallingContext() const
Definition:
InternalContext.h:28
edm::EventID
Definition:
EventID.h:31
edm
HLT enums.
Definition:
AlignableModifier.h:19
edm::operator<<
std::ostream & operator<<(std::ostream &ost, const HLTGlobalStatus &hlt)
Formatted printout of trigger table.
Definition:
HLTGlobalStatus.h:108
ModuleCallingContext.h
edm::InternalContext::InternalContext
InternalContext(EventID const &eventID, ModuleCallingContext const *)
Definition:
InternalContext.cc:8
Generated for CMSSW Reference Manual by
1.8.14