1 #ifndef RecoTracker_MkFitCore_interface_IterationConfig_h
2 #define RecoTracker_MkFitCore_interface_IterationConfig_h
6 #include "nlohmann/json_fwd.hpp"
38 class IterationConfig;
206 void set_dupl_params(
float sharedFrac,
float drthCentral,
float drthObarrel,
float drthForward) {
237 for (
int i = 0;
i < nreg; ++
i)
316 template <
typename T>
319 template <
typename T>
338 const std::vector<std::string> &
fnames,
nlohmann::json * m_current
IterationParams m_backward_params
SteeringParams & steering_params(int region)
virtual const std::vector< bool > * get_mask_for_layer(int layer) const
std::string get_abs_path() const
void inc_counts(const PatchReport &pr)
void set_seed_cleaning_params(float pt_thr, float dzmax_bh, float drmax_bh, float dzmax_bl, float drmax_bl, float dzmax_eh, float drmax_eh, float dzmax_el, float drmax_el)
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t Func __host__ __device__ V int Func func
std::string dump(int indent=2)
bool m_backward_drop_seed_hits
void inc_counts(int f, int e, int r)
void set_dupl_params(float sharedFrac, float drthCentral, float drthObarrel, float drthForward)
std::vector< int > m_region_order
constexpr std::array< uint8_t, layerIndexSize > layer
void replace(const std::string &path, T val)
void test_Direct(IterationConfig &it_cfg)
void patch_Files(IterationsInfo &its_info, const std::vector< std::string > &fnames, ConfigJsonPatcher::PatchReport *report=nullptr)
virtual ~IterationMaskIfcBase()
bool merge_seed_hits_during_cleaning() const
std::vector< nlohmann::json * > m_json_stack
bool m_requires_dupclean_tight
std::vector< IterationLayerConfig > m_layer_configs
void set_selection_limits(float p1, float p2, float q1, float q2)
const std::vector< bool > * get_mask_for_layer(int layer) const override
void set_qf_params(int minHits, float sharedFrac)
IterationSeedPartition(int size)
std::string exc_hdr(const char *func=nullptr) const
std::vector< int > m_region
std::unique_ptr< IterationConfig > patchLoad_File(const IterationsInfo &its_info, const std::string &fname, ConfigJsonPatcher::PatchReport *report=nullptr)
void cd(const std::string &path)
void set_iteration_index_and_track_algorithm(int idx, int trk_alg)
std::vector< std::string > m_path_stack
void save_Iterations(IterationsInfo &its_info, const std::string &fname_fmt, bool include_iter_info_preamble)
void test_Patcher(IterationConfig &it_cfg)
int m_backward_fit_min_hits
std::vector< float > m_sort_score
void(const TrackerInfo &, const TrackVec &, const EventOfHits &, IterationSeedPartition &) partition_seeds_foo
std::vector< Track > TrackVec
void cloneLayerSteerCore(const IterationConfig &o)
std::unique_ptr< IterationConfig > load_File(const std::string &fname)
IterationConfig & operator[](int i)
void dump(IterationsInfo &its_info)
void set_num_regions_layers(int nreg, int nlay)
std::unique_ptr< nlohmann::json > m_json
void cd_up(const std::string &path="")
IterationLayerConfig & layer(int i)
ConfigJsonPatcher(bool verbose=false)
const IterationConfig & operator[](int i) const
std::function< partition_seeds_foo > m_partition_seeds
std::vector< std::vector< bool > > m_mask_vector
void cd_top(const std::string &path="")
std::vector< IterationConfig > m_iterations
ConfigJson(bool verbose=false)
std::vector< SteeringParams > m_steering_params
bool m_requires_seed_hit_sorting
tuple size
Write out results.
bool m_requires_quality_filter