CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
mkfit::MkJob Class Reference

#include <MkJob.h>

Public Member Functions

const std::vector< bool > * get_mask_for_layer (int layer)
 
int max_max_cands () const
 
int num_regions () const
 
const auto & params () const
 
const auto & params_bks () const
 
const auto & params_cur () const
 
const auto regions_begin () const
 
const auto regions_end () const
 
const auto & steering_params (int i)
 
void switch_to_backward ()
 

Public Attributes

const BeamSpotm_beam_spot
 
const EventOfHitsm_event_of_hits
 
bool m_in_fwd = true
 
const IterationConfigm_iter_config
 
const IterationMaskIfcBasem_iter_mask_ifc = nullptr
 
const TrackerInfom_trk_info
 

Detailed Description

Definition at line 8 of file MkJob.h.

Member Function Documentation

◆ get_mask_for_layer()

const std::vector<bool>* mkfit::MkJob::get_mask_for_layer ( int  layer)
inline

Definition at line 33 of file MkJob.h.

References mkfit::IterationMaskIfcBase::get_mask_for_layer(), and m_iter_mask_ifc.

Referenced by mkfit::MkBuilder::find_tracks_in_layers(), mkfit::MkBuilder::findTracksBestHit(), and mkfit::MkBuilder::findTracksStandard().

33  {
34  return m_iter_mask_ifc ? m_iter_mask_ifc->get_mask_for_layer(layer) : nullptr;
35  }
const IterationMaskIfcBase * m_iter_mask_ifc
Definition: MkJob.h:16
virtual const std::vector< bool > * get_mask_for_layer(int layer) const

◆ max_max_cands()

int mkfit::MkJob::max_max_cands ( ) const
inline

Definition at line 31 of file MkJob.h.

References SiStripPI::max, params(), and params_bks().

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

31 { return std::max(params().maxCandsPerSeed, params_bks().maxCandsPerSeed); }
const auto & params() const
Definition: MkJob.h:27
const auto & params_bks() const
Definition: MkJob.h:28

◆ num_regions()

int mkfit::MkJob::num_regions ( ) const
inline

◆ params()

const auto& mkfit::MkJob::params ( ) const
inline

◆ params_bks()

const auto& mkfit::MkJob::params_bks ( ) const
inline

Definition at line 28 of file MkJob.h.

References mkfit::IterationConfig::m_backward_params, and m_iter_config.

Referenced by max_max_cands(), and params_cur().

const IterationConfig & m_iter_config
Definition: MkJob.h:12
IterationParams m_backward_params

◆ params_cur()

const auto& mkfit::MkJob::params_cur ( ) const
inline

Definition at line 29 of file MkJob.h.

References m_in_fwd, params(), and params_bks().

29 { return m_in_fwd ? params() : params_bks(); }
const auto & params() const
Definition: MkJob.h:27
bool m_in_fwd
Definition: MkJob.h:18
const auto & params_bks() const
Definition: MkJob.h:28

◆ regions_begin()

const auto mkfit::MkJob::regions_begin ( ) const
inline

◆ regions_end()

const auto mkfit::MkJob::regions_end ( ) const
inline

◆ steering_params()

const auto& mkfit::MkJob::steering_params ( int  i)
inline

◆ switch_to_backward()

void mkfit::MkJob::switch_to_backward ( )
inline

Definition at line 19 of file MkJob.h.

References m_in_fwd.

19 { m_in_fwd = false; }
bool m_in_fwd
Definition: MkJob.h:18

Member Data Documentation

◆ m_beam_spot

const BeamSpot& mkfit::MkJob::m_beam_spot

Definition at line 14 of file MkJob.h.

◆ m_event_of_hits

const EventOfHits& mkfit::MkJob::m_event_of_hits

◆ m_in_fwd

bool mkfit::MkJob::m_in_fwd = true

◆ m_iter_config

const IterationConfig& mkfit::MkJob::m_iter_config

◆ m_iter_mask_ifc

const IterationMaskIfcBase* mkfit::MkJob::m_iter_mask_ifc = nullptr

Definition at line 16 of file MkJob.h.

Referenced by get_mask_for_layer().

◆ m_trk_info

const TrackerInfo& mkfit::MkJob::m_trk_info