CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
mkfit::ExecutionContext Struct Reference

Public Member Functions

 ExecutionContext ()=default
 
void populate (int n_thr)
 
 ~ExecutionContext ()=default
 

Public Attributes

Pool< CandClonerm_cloners
 
Pool< MkFinderm_finders
 
Pool< MkFitterm_fitters
 

Detailed Description

Definition at line 34 of file MkBuilder.cc.

Constructor & Destructor Documentation

◆ ExecutionContext()

mkfit::ExecutionContext::ExecutionContext ( )
default

◆ ~ExecutionContext()

mkfit::ExecutionContext::~ExecutionContext ( )
default

Member Function Documentation

◆ populate()

void mkfit::ExecutionContext::populate ( int  n_thr)
inline

Definition at line 42 of file MkBuilder.cc.

References m_cloners, m_finders, and m_fitters.

Referenced by mkfit::MkBuilder::populate(), and mkfit::runFittingTestPlex().

42  {
43  m_cloners.populate(n_thr - m_cloners.size());
44  m_fitters.populate(n_thr - m_fitters.size());
45  m_finders.populate(n_thr - m_finders.size());
46  }
Pool< MkFinder > m_finders
Definition: MkBuilder.cc:40
Pool< CandCloner > m_cloners
Definition: MkBuilder.cc:38
Pool< MkFitter > m_fitters
Definition: MkBuilder.cc:39

Member Data Documentation

◆ m_cloners

Pool<CandCloner> mkfit::ExecutionContext::m_cloners

Definition at line 38 of file MkBuilder.cc.

Referenced by mkfit::MkBuilder::findTracksCloneEngine(), and populate().

◆ m_finders

Pool<MkFinder> mkfit::ExecutionContext::m_finders

◆ m_fitters

Pool<MkFitter> mkfit::ExecutionContext::m_fitters

Definition at line 39 of file MkBuilder.cc.

Referenced by populate(), and mkfit::runFittingTestPlex().