Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[mkFit] Propagate to plane -- technical changes to support further development #43146

Merged
merged 1 commit into from
Nov 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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