CMS 3D CMS Logo

Functions
mkfit::ConfigWrapper Namespace Reference

Functions

void initializeForCMSSW ()
 

Detailed Description

The purpose of this namespace is to hide the header of Config.h from CMSSW. This header contain uses of the build-time configuration macros, that should remain as internal details of MkFit package.

Function Documentation

◆ initializeForCMSSW()

void mkfit::ConfigWrapper::initializeForCMSSW ( )

Definition at line 7 of file ConfigWrapper.cc.

References mkfit::PropagationConfig::backward_fit_pflags, mkfit::PropagationConfig::backward_fit_to_pca, mkfit::PropagationConfig::finding_inter_layer_pflags, mkfit::PropagationConfig::finding_intra_layer_pflags, mkfit::PropagationConfig::finding_requires_propagation_to_hit_pos, mkfit::PropagationConfig::forward_fit_pflags, mkfit::PropagationConfig::pca_prop_pflags, mkfit::PF_apply_material, mkfit::PF_none, mkfit::PF_use_param_b_field, mkfit::PropagationConfig::seed_fit_pflags, and mkfit::PropagationConfig::set_as_default().

7  {
8  PropagationConfig pconf;
9  pconf.backward_fit_to_pca = false;
10  pconf.finding_requires_propagation_to_hit_pos = true;
11  pconf.finding_inter_layer_pflags = PropagationFlags(PF_use_param_b_field | PF_apply_material);
12  pconf.finding_intra_layer_pflags = PropagationFlags(PF_none);
13  pconf.backward_fit_pflags = PropagationFlags(PF_use_param_b_field | PF_apply_material);
14  pconf.forward_fit_pflags = PropagationFlags(PF_use_param_b_field | PF_apply_material);
15  pconf.seed_fit_pflags = PropagationFlags(PF_none);
16  pconf.pca_prop_pflags = PropagationFlags(PF_none);
17  pconf.set_as_default();
18  }