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 
29  public:
30 
32 
36  bool isSubProcess() const { return parentProcessContext_ != nullptr; }
37  ProcessContext const& parentProcessContext() const;
38 
40  void setParentProcessContext(ProcessContext const* parentProcessContext);
41 
42  private:
43 
45 
46  // If this is a SubProcess this points to the parent process,
47  // otherwise it is null.
49  };
50 
51  std::ostream& operator<<(std::ostream&, ProcessContext const&);
52 }
53 #endif
std::string const & processName() const
void setParentProcessContext(ProcessContext const *parentProcessContext)
ProcessContext const & parentProcessContext() const
ProcessConfiguration const * processConfiguration() const
ParameterSetID const & parameterSetID() const
std::string const & processName() const
ParameterSetID const & parameterSetID() const
ProcessConfiguration const * processConfiguration_
void setProcessConfiguration(ProcessConfiguration const *processConfiguration)
HLT enums.
std::ostream & operator<<(std::ostream &ost, const HLTGlobalStatus &hlt)
Formatted printout of trigger tbale.
bool isSubProcess() const
ProcessContext const * parentProcessContext_