16Int_t
GainMatchEnergy(TH1 *spec1, TH1 *spec2, std::vector<Double_t> &pars,
bool draw = kTRUE, UInt_t target = 1,
17 std::string outfn =
"", Double_t step = 0.95, TCanvas *c1 =
nullptr);
Int_t GainMatchEnergy(TH1 *spec1, TH1 *spec2, std::vector< Double_t > &pars, bool draw, UInt_t target, std::string outfn, Double_t step, TCanvas *c1)