Skip to content

Commit 7fab695

Browse files
ceratiosschar
authored andcommitted
[mkFit] Implement vectorized propagate-to-plane and Kalman update on a plane.
1 parent 7d99d30 commit 7fab695

File tree

12 files changed

+1916
-116
lines changed

12 files changed

+1916
-116
lines changed

RecoTracker/MkFit/plugins/MkFitGeometryESProducer.cc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,10 @@ std::unique_ptr<MkFitGeometry> MkFitGeometryESProducer::produce(const TrackerRec
569569
pconf.backward_fit_to_pca = false;
570570
pconf.finding_requires_propagation_to_hit_pos = true;
571571
pconf.finding_inter_layer_pflags = PropagationFlags(PF_use_param_b_field | PF_apply_material);
572-
pconf.finding_intra_layer_pflags = PropagationFlags(PF_none);
572+
if (Config::usePropToPlane)
573+
pconf.finding_intra_layer_pflags = PropagationFlags(PF_use_param_b_field | PF_apply_material);
574+
else
575+
pconf.finding_intra_layer_pflags = PropagationFlags(PF_none);
573576
pconf.backward_fit_pflags = PropagationFlags(PF_use_param_b_field | PF_apply_material);
574577
pconf.forward_fit_pflags = PropagationFlags(PF_use_param_b_field | PF_apply_material);
575578
pconf.seed_fit_pflags = PropagationFlags(PF_none);

RecoTracker/MkFitCore/interface/Config.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ namespace mkfit {
4848
// Config for propagation - could/should enter into PropagationFlags?!
4949
constexpr int Niter = 5;
5050
constexpr bool useTrigApprox = true;
51+
constexpr bool usePropToPlane = false;
52+
constexpr bool usePtMultScat = false;
5153

5254
// Config for Bfield. Note: for now the same for CMS-phase1 and CylCowWLids.
5355
constexpr float Bfield = 3.8112;

RecoTracker/MkFitCore/interface/TrackerInfo.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#include "RecoTracker/MkFitCore/interface/PropagationConfig.h"
66
#include "RecoTracker/MkFitCore/interface/Config.h"
77
#include <string>
8+
#include <unordered_map>
89
#include <vector>
910
#include <unordered_map>
1011

0 commit comments

Comments
 (0)