CMS 3D CMS Logo

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

#include <IterationConfig.h>

Public Types

using partition_seeds_foo = void(const TrackerInfo &, const TrackVec &, const EventOfHits &, IterationSeedPartition &)
 

Public Member Functions

void cloneLayerSteerCore (const IterationConfig &o)
 
 IterationConfig ()
 
IterationLayerConfiglayer (int i)
 
bool merge_seed_hits_during_cleaning () const
 
void set_dupclean_flag ()
 
void set_dupl_params (float sharedFrac, float drthCentral, float drthObarrel, float drthForward)
 
void set_iteration_index_and_track_algorithm (int idx, int trk_alg)
 
void set_num_regions_layers (int nreg, int nlay)
 
void set_qf_flags ()
 
void set_qf_params (int minHits, float sharedFrac)
 
void set_seed_cleaning_params (float pt_thr, float dzmax_bh, float drmax_bh, float dzmax_bl, float drmax_bl, float dzmax_eh, float drmax_eh, float dzmax_el, float drmax_el)
 
SteeringParamssteering_params (int region)
 

Public Attributes

bool m_backward_drop_seed_hits = false
 
int m_backward_fit_min_hits = -1
 
IterationParams m_backward_params
 
bool m_backward_search = false
 
int m_iteration_index = -1
 
std::vector< IterationLayerConfigm_layer_configs
 
int m_n_regions = -1
 
IterationParams m_params
 
std::function< partition_seeds_foom_partition_seeds
 
std::vector< int > m_region_order
 
bool m_requires_dupclean_tight = false
 
bool m_requires_quality_filter = false
 
bool m_requires_seed_hit_sorting = false
 
std::vector< SteeringParamsm_steering_params
 
int m_track_algorithm = -1
 

Detailed Description

Definition at line 141 of file IterationConfig.h.

Member Typedef Documentation

◆ partition_seeds_foo

Definition at line 146 of file IterationConfig.h.

Constructor & Destructor Documentation

◆ IterationConfig()

mkfit::IterationConfig::IterationConfig ( )
inline

Definition at line 173 of file IterationConfig.h.

173 {}

Member Function Documentation

◆ cloneLayerSteerCore()

void mkfit::IterationConfig::cloneLayerSteerCore ( const IterationConfig o)
inline

Definition at line 184 of file IterationConfig.h.

References m_layer_configs, m_n_regions, m_partition_seeds, m_region_order, m_steering_params, and EcalTangentSkim_cfg::o.

184  {
185  // Clone common settings for an iteration.
186  // m_iteration_index, m_track_algorithm, cleaning and bkw-search flags,
187  // and IterationParams are not copied.
188 
189  m_n_regions = o.m_n_regions;
190  m_region_order = o.m_region_order;
191  m_steering_params = o.m_steering_params;
192  m_layer_configs = o.m_layer_configs;
193 
194  m_partition_seeds = o.m_partition_seeds;
195  }
std::vector< int > m_region_order
std::vector< IterationLayerConfig > m_layer_configs
std::function< partition_seeds_foo > m_partition_seeds
std::vector< SteeringParams > m_steering_params

◆ layer()

IterationLayerConfig& mkfit::IterationConfig::layer ( int  i)
inline

Definition at line 177 of file IterationConfig.h.

References mps_fire::i, and m_layer_configs.

Referenced by geometryXMLparser.DTAlignable::index(), and geometryXMLparser.CSCAlignable::index().

177 { return m_layer_configs[i]; }
std::vector< IterationLayerConfig > m_layer_configs

◆ merge_seed_hits_during_cleaning()

bool mkfit::IterationConfig::merge_seed_hits_during_cleaning ( ) const
inline

◆ set_dupclean_flag()

void mkfit::IterationConfig::set_dupclean_flag ( )
inline

Definition at line 212 of file IterationConfig.h.

References m_requires_dupclean_tight.

◆ set_dupl_params()

void mkfit::IterationConfig::set_dupl_params ( float  sharedFrac,
float  drthCentral,
float  drthObarrel,
float  drthForward 
)
inline

◆ set_iteration_index_and_track_algorithm()

void mkfit::IterationConfig::set_iteration_index_and_track_algorithm ( int  idx,
int  trk_alg 
)
inline

◆ set_num_regions_layers()

void mkfit::IterationConfig::set_num_regions_layers ( int  nreg,
int  nlay 
)
inline

Definition at line 241 of file IterationConfig.h.

References mps_fire::i, m_layer_configs, m_n_regions, m_region_order, and m_steering_params.

241  {
242  m_n_regions = nreg;
243  m_region_order.resize(nreg);
244  m_steering_params.resize(nreg);
245  for (int i = 0; i < nreg; ++i)
246  m_steering_params[i].m_region = i;
247  m_layer_configs.resize(nlay);
248  }
std::vector< int > m_region_order
std::vector< IterationLayerConfig > m_layer_configs
std::vector< SteeringParams > m_steering_params

◆ set_qf_flags()

void mkfit::IterationConfig::set_qf_flags ( )
inline

Definition at line 202 of file IterationConfig.h.

References m_requires_quality_filter, and m_requires_seed_hit_sorting.

202  {
205  }

◆ set_qf_params()

void mkfit::IterationConfig::set_qf_params ( int  minHits,
float  sharedFrac 
)
inline

◆ set_seed_cleaning_params()

void mkfit::IterationConfig::set_seed_cleaning_params ( float  pt_thr,
float  dzmax_bh,
float  drmax_bh,
float  dzmax_bl,
float  drmax_bl,
float  dzmax_eh,
float  drmax_eh,
float  dzmax_el,
float  drmax_el 
)
inline

Definition at line 221 of file IterationConfig.h.

References mkfit::IterationParams::c_drmax_bh, mkfit::IterationParams::c_drmax_bl, mkfit::IterationParams::c_drmax_eh, mkfit::IterationParams::c_drmax_el, mkfit::IterationParams::c_dzmax_bh, mkfit::IterationParams::c_dzmax_bl, mkfit::IterationParams::c_dzmax_eh, mkfit::IterationParams::c_dzmax_el, mkfit::IterationParams::c_ptthr_hpt, and m_params.

229  {
230  m_params.c_ptthr_hpt = pt_thr;
231  m_params.c_drmax_bh = drmax_bh;
232  m_params.c_dzmax_bh = dzmax_bh;
233  m_params.c_drmax_eh = drmax_eh;
234  m_params.c_dzmax_eh = dzmax_eh;
235  m_params.c_drmax_bl = drmax_bl;
236  m_params.c_dzmax_bl = dzmax_bl;
237  m_params.c_drmax_el = drmax_el;
238  m_params.c_dzmax_el = dzmax_el;
239  }
IterationParams m_params

◆ steering_params()

SteeringParams& mkfit::IterationConfig::steering_params ( int  region)
inline

Definition at line 178 of file IterationConfig.h.

References m_steering_params, and HLT_2022v14_cff::region.

178 { return m_steering_params[region]; }
std::vector< SteeringParams > m_steering_params

Member Data Documentation

◆ m_backward_drop_seed_hits

bool mkfit::IterationConfig::m_backward_drop_seed_hits = false

◆ m_backward_fit_min_hits

int mkfit::IterationConfig::m_backward_fit_min_hits = -1

Definition at line 158 of file IterationConfig.h.

Referenced by mkfit::run_OneIteration(), and mkfit::runBtpCe_MultiIter().

◆ m_backward_params

IterationParams mkfit::IterationConfig::m_backward_params

◆ m_backward_search

bool mkfit::IterationConfig::m_backward_search = false

◆ m_iteration_index

int mkfit::IterationConfig::m_iteration_index = -1

◆ m_layer_configs

std::vector<IterationLayerConfig> mkfit::IterationConfig::m_layer_configs

◆ m_n_regions

int mkfit::IterationConfig::m_n_regions = -1

◆ m_params

IterationParams mkfit::IterationConfig::m_params

◆ m_partition_seeds

std::function<partition_seeds_foo> mkfit::IterationConfig::m_partition_seeds

Definition at line 169 of file IterationConfig.h.

Referenced by cloneLayerSteerCore(), and mkfit::MkBuilder::import_seeds().

◆ m_region_order

std::vector<int> mkfit::IterationConfig::m_region_order

◆ m_requires_dupclean_tight

bool mkfit::IterationConfig::m_requires_dupclean_tight = false

◆ m_requires_quality_filter

bool mkfit::IterationConfig::m_requires_quality_filter = false

◆ m_requires_seed_hit_sorting

bool mkfit::IterationConfig::m_requires_seed_hit_sorting = false

◆ m_steering_params

std::vector<SteeringParams> mkfit::IterationConfig::m_steering_params

◆ m_track_algorithm

int mkfit::IterationConfig::m_track_algorithm = -1