CMS 3D CMS Logo

ProcessContext.h
Go to the documentation of this file.
1 #ifndef FWCore_ServiceRegistry_ProcessContext_h
2 #define FWCore_ServiceRegistry_ProcessContext_h
3 
15 //
16 // Original Author: W. David Dagenhart
17 // Created: 7/2/2013
18 
21 
22 #include <iosfwd>
23 #include <string>
24 
25 namespace edm {
26 
28  public:
30 
34  bool isSubProcess() const { return parentProcessContext_ != nullptr; }
35  ProcessContext const& parentProcessContext() const;
36 
39 
40  private:
42 
43  // If this is a SubProcess this points to the parent process,
44  // otherwise it is null.
46  };
47 
48  std::ostream& operator<<(std::ostream&, ProcessContext const&);
49 } // namespace edm
50 #endif
ParameterSetID const & parameterSetID() const
void setParentProcessContext(ProcessContext const *parentProcessContext)
ProcessContext const & parentProcessContext() const
ProcessConfiguration const * processConfiguration() const
ProcessConfiguration const * processConfiguration_
void setProcessConfiguration(ProcessConfiguration const *processConfiguration)
std::string const & processName() const
bool isSubProcess() const
std::string const & processName() const
HLT enums.
std::ostream & operator<<(std::ostream &ost, const HLTGlobalStatus &hlt)
Formatted printout of trigger tbale.
ParameterSetID const & parameterSetID() const
ProcessContext const * parentProcessContext_