CMS 3D CMS Logo

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

Public Member Functions

void clear ()
 
 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

◆ clear()

void mkfit::ExecutionContext::clear ( void  )
inline

Definition at line 48 of file MkBuilder.cc.

References m_cloners, m_finders, and m_fitters.

Referenced by mkfit::MkBuilder::clear().

48  {
49  m_cloners.clear();
50  m_fitters.clear();
51  m_finders.clear();
52  }
Pool< MkFinder > m_finders
Definition: MkBuilder.cc:40
Pool< CandCloner > m_cloners
Definition: MkBuilder.cc:38
Pool< MkFitter > m_fitters
Definition: MkBuilder.cc:39

◆ 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 clear(), 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 clear(), populate(), and mkfit::runFittingTestPlex().