3 #include "KVIDGridManager.h"
4 #include "KVIDZAFromZGrid.h"
50 TFile reference_id_maps;
51 bool apply_corrections =
false;
57 const TString& bad_grids_id_map_file);
59 const TString& ref_id_map_file);
64 double min_yield_cutoff = 0.8,
68 double min_yield_cutoff = 0.8,
72 double min_yield_cutoff = 0.8,
76 double min_yield_cutoff = 0.8,
80 double min_yield_cutoff = 0.8,
#define ClassDef(name, id)
Base class for KaliVeda framework.
Handles a stock of identification grids to be used by one or more identification telescopes.
void StartViewer() const
Opens GUI for managing grids.
Modify/refit all multi-gauss fits in all grids in a file.
void CorrectGrids(std::function< KVString(const KVString &)> deduce_ref_grid_name_from_bad_grid_name, const KVNameValueList &mass_fit_parameters, double min_yield_cutoff=0.8, std::function< KVString(const KVString &)> deduce_bad_histo_name=[](const KVString &n){ return n;})
loop over all grids to correct
void CorrectGrid(const TString &bad_grid_name, std::function< KVString(const KVString &)> deduce_ref_grid_name_from_bad_grid_name, const KVNameValueList &mass_fit_parameters, double min_yield_cutoff=0.8, std::function< KVString(const KVString &)> deduce_bad_histo_name=[](const KVString &n){ return n;})
void StartViewerBadGrids()
void RefitAllReferenceGridsToData(const KVNameValueList &mass_fit_params)
void SaveCorrectedGrids(const TString &filename)
void SetApplyCorrections(bool yes=true)
void DrawReferenceFit(const TString &grid_name, Int_t Z) const
void DrawOtherFit(const TString &grid_name, Int_t Z) const
void StartViewerReferenceGrids()
KVIDZAFromZGridBatchMassCorrector(const TString &ref_grids_file, const TString &bad_grids_file, const TString &bad_grids_id_map_file)
void SaveReferenceGrids(const TString &filename)
void CorrectGridToReference(KVIDZAFromZGrid *bad_grid, KVIDZAFromZGrid *ref_grid, const KVNameValueList &mass_fit_parameters, double min_yield_cutoff=0.8, std::function< KVString(const KVString &)> deduce_bad_histo_name=[](const KVString &n){ return n;})
determine & apply corrections for grid
Hybrid charge & mass identification grid.
Handles lists of named parameters with different types, a list of KVNamedParameter objects.
Extension of ROOT TString class which allows backwards compatibility with ROOT v3....