Skip to content

Commit

Permalink
Backup
Browse files Browse the repository at this point in the history
  • Loading branch information
beomki-yeo committed Dec 12, 2024
1 parent a4eaaae commit 97709af
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10 deletions.
4 changes: 0 additions & 4 deletions core/include/traccc/edm/track_state.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ struct fitting_result {
/// Chi square of fitted track
scalar_type chi2{0};

/// Pvalue
scalar_type pval{0.f};

// The number of holes (The number of sensitive surfaces which do not have a
// measurement for the track pattern)
unsigned int n_holes{0u};
Expand All @@ -45,7 +42,6 @@ struct fitting_result {
void reset_statistics() {
ndf = 0.f;
chi2 = 0.f;
pval = 0.f;
n_holes = 0u;
}
};
Expand Down
6 changes: 3 additions & 3 deletions core/include/traccc/fitting/kalman_filter/kalman_actor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,9 @@ struct kalman_actor : detray::actor {
return;
}

// Change the charge of hypothesized particles when the sign of
// qop is changed (This rarely happens when qop is set with a
// poor seed resolution)
// Change the charge of hypothesized particles when the sign of qop
// is changed (This rarely happens when qop is set with a poor seed
// resolution)
propagation.set_particle(detail::correct_particle_hypothesis(
stepping.particle_hypothesis(),
propagation._stepping.bound_params()));
Expand Down
5 changes: 2 additions & 3 deletions core/include/traccc/fitting/kalman_filter/kalman_fitter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ class kalman_fitter {
propagator.propagate(propagation, fitter_state());

// Run smoothing
smooth(fitter_state, seed_params.covariance());
smooth(fitter_state);

// Update track fitting qualities
update_statistics(fitter_state);
Expand All @@ -212,8 +212,7 @@ class kalman_fitter {
/// track and vertex fitting", R.Frühwirth, NIM A.
///
/// @param fitter_state the state of kalman fitter
TRACCC_HOST_DEVICE void smooth(state& fitter_state,
const bound_covariance& /*cov*/) {
TRACCC_HOST_DEVICE void smooth(state& fitter_state) {

auto& track_states = fitter_state.m_fit_actor_state.m_track_states;

Expand Down

0 comments on commit 97709af

Please sign in to comment.