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 36 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 44 of file MkBuilder.cc.

References m_cloners, m_finders, and m_fitters.

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

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

Member Data Documentation

◆ m_cloners

Pool<CandCloner> mkfit::ExecutionContext::m_cloners

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

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