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
edm::ProcessContext::parentProcessContext
ProcessContext const & parentProcessContext() const
Definition: ProcessContext.cc:10
edm::ProcessContext::isSubProcess
bool isSubProcess() const
Definition: ProcessContext.h:34
edm::ProcessContext::processConfiguration_
ProcessConfiguration const * processConfiguration_
Definition: ProcessContext.h:41
edm
HLT enums.
Definition: AlignableModifier.h:19
edm::ProcessContext
Definition: ProcessContext.h:27
edm::ProcessContext::parentProcessContext_
ProcessContext const * parentProcessContext_
Definition: ProcessContext.h:45
edm::operator<<
std::ostream & operator<<(std::ostream &ost, const HLTGlobalStatus &hlt)
Formatted printout of trigger tbale.
Definition: HLTGlobalStatus.h:106
edm::ProcessContext::setProcessConfiguration
void setProcessConfiguration(ProcessConfiguration const *processConfiguration)
Definition: ProcessContext.cc:19
ProcessConfiguration.h
edm::Hash< ParameterSetType >
edm::ProcessContext::parameterSetID
ParameterSetID const & parameterSetID() const
Definition: ProcessContext.h:32
edm::ProcessConfiguration::processName
std::string const & processName() const
Definition: ProcessConfiguration.h:24
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ProcessConfiguration::parameterSetID
ParameterSetID const & parameterSetID() const
Definition: ProcessConfiguration.cc:31
edm::ProcessContext::setParentProcessContext
void setParentProcessContext(ProcessContext const *parentProcessContext)
Definition: ProcessContext.cc:23
edm::ProcessContext::processName
std::string const & processName() const
Definition: ProcessContext.h:31
edm::ProcessContext::ProcessContext
ProcessContext()
Definition: ProcessContext.cc:8
ParameterSetID.h
edm::ProcessContext::processConfiguration
ProcessConfiguration const * processConfiguration() const
Definition: ProcessContext.h:33
edm::ProcessConfiguration
Definition: ProcessConfiguration.h:14