Skip to content

Commit

Permalink
Merge pull request #43146 from trackreco/prop-to-plane-pr
Browse files Browse the repository at this point in the history
[mkFit] Propagate to plane -- technical changes to support further development
  • Loading branch information
cmsbuild authored Nov 18, 2023
2 parents 3a5f97d + 7fab695 commit 9e9d289
Show file tree
Hide file tree
Showing 12 changed files with 1,916 additions and 116 deletions.
5 changes: 4 additions & 1 deletion RecoTracker/MkFit/plugins/MkFitGeometryESProducer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,10 @@ std::unique_ptr<MkFitGeometry> MkFitGeometryESProducer::produce(const TrackerRec
pconf.backward_fit_to_pca = false;
pconf.finding_requires_propagation_to_hit_pos = true;
pconf.finding_inter_layer_pflags = PropagationFlags(PF_use_param_b_field | PF_apply_material);
pconf.finding_intra_layer_pflags = PropagationFlags(PF_none);
if (Config::usePropToPlane)
pconf.finding_intra_layer_pflags = PropagationFlags(PF_use_param_b_field | PF_apply_material);
else
pconf.finding_intra_layer_pflags = PropagationFlags(PF_none);
pconf.backward_fit_pflags = PropagationFlags(PF_use_param_b_field | PF_apply_material);
pconf.forward_fit_pflags = PropagationFlags(PF_use_param_b_field | PF_apply_material);
pconf.seed_fit_pflags = PropagationFlags(PF_none);
Expand Down
2 changes: 2 additions & 0 deletions RecoTracker/MkFitCore/interface/Config.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ namespace mkfit {
// Config for propagation - could/should enter into PropagationFlags?!
constexpr int Niter = 5;
constexpr bool useTrigApprox = true;
constexpr bool usePropToPlane = false;
constexpr bool usePtMultScat = false;

// Config for Bfield. Note: for now the same for CMS-phase1 and CylCowWLids.
constexpr float Bfield = 3.8112;
Expand Down
1 change: 1 addition & 0 deletions RecoTracker/MkFitCore/interface/TrackerInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#include "RecoTracker/MkFitCore/interface/PropagationConfig.h"
#include "RecoTracker/MkFitCore/interface/Config.h"
#include <string>
#include <unordered_map>
#include <vector>
#include <unordered_map>

Expand Down
Loading

0 comments on commit 9e9d289

Please sign in to comment.