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 97709af commit 572ec78
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 19 deletions.
4 changes: 0 additions & 4 deletions core/include/traccc/fitting/kalman_filter/kalman_fitter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -288,10 +288,6 @@ class kalman_fitter {
// Subtract the NDoF with the degree of freedom of the bound track (=5)
fit_res.ndf = fit_res.ndf - 5.f;

// P-value
// fit_res.pval = chisquared_cdf_c<scalar_type>(fit_res.chi2,
// fit_res.ndf);

// The number of holes
fit_res.n_holes = fitter_state.m_fit_actor_state.n_holes;
}
Expand Down
15 changes: 0 additions & 15 deletions performance/src/utils/event_data.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -314,28 +314,13 @@ track_candidate_container_types::host event_data::generate_truth_candidates(
for (auto const& [ptc, measurements] : m_ptc_to_meas_map) {

const auto& param = m_meas_to_param_map.at(measurements[0]);

/*
std::cout << std::endl;
const auto& param_last = m_meas_to_param_map.at(measurements.back());
std::cout << "First qop: " << -1.f / getter::norm(param.second)
<< " Last qop: " << -1.f / getter::norm(param_last.second)
<< std::endl;
std::cout << std::endl;
*/

const free_track_parameters free_param(param.first, 0.f, param.second,
ptc.charge);

auto seed_params =
sg(measurements[0].surface_link, free_param,
detail::particle_from_pdg_number<scalar>(ptc.particle_type));

/*
std::cout << "Smeared qop: " << seed_params.qop() << std::endl;
std::cout << std::endl;
*/

// Candidate objects
vecmem::vector<track_candidate> candidates;
candidates.reserve(measurements.size());
Expand Down

0 comments on commit 572ec78

Please sign in to comment.