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 37 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 45 of file MkBuilder.cc.

References m_cloners, m_finders, and m_fitters.

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

45  {
46  m_cloners.populate(n_thr - m_cloners.size());
47  m_fitters.populate(n_thr - m_fitters.size());
48  m_finders.populate(n_thr - m_finders.size());
49  }
Pool< MkFinder > m_finders
Definition: MkBuilder.cc:43
Pool< CandCloner > m_cloners
Definition: MkBuilder.cc:41
Pool< MkFitter > m_fitters
Definition: MkBuilder.cc:42

Member Data Documentation

◆ m_cloners

Pool<CandCloner> mkfit::ExecutionContext::m_cloners

Definition at line 41 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 42 of file MkBuilder.cc.

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