File indexing completed on 2025-01-18 09:55:42
0001
0002
0003
0004 #pragma once
0005
0006 #include <spdlog/spdlog.h>
0007
0008 namespace eicrecon {
0009
0010 class MergeParticleIDConfig {
0011 public:
0012
0013
0014
0015
0016
0017
0018 enum math_enum { kAddWeights, kMultiplyWeights };
0019 int mergeMode = kAddWeights;
0020
0021
0022
0023
0024
0025 void Print(
0026 std::shared_ptr<spdlog::logger> m_log,
0027 spdlog::level::level_enum lvl=spdlog::level::debug
0028 )
0029 {
0030 m_log->log(lvl, "{:=^60}"," MergeParticleIDConfig Settings ");
0031 auto print_param = [&m_log, &lvl] (auto name, auto val) {
0032 m_log->log(lvl, " {:>20} = {:<}", name, val);
0033 };
0034 print_param("mergeMode",mergeMode);
0035 m_log->log(lvl, "{:=^60}","");
0036 }
0037
0038 };
0039 }