8#ifndef CENTRALITY_BORDERSFINDER2D_H
9#define CENTRALITY_BORDERSFINDER2D_H
11#include "BordersFinder.hpp"
26 void SetHisto2D(TH2F&& histo2d) { histo2d_ = histo2d; }
27 TH2F&& GetHisto2D() {
return std::move(histo2d_); }
30 std::unique_ptr<TH1F>
Convert();
31 void Fit2D(
const TString& func);
32 std::array<double, 2>
FindNorm(
const std::vector<double>& par,
double x);
33 double FindIntegral(
const std::array<double, 2>& norm1,
const std::array<double, 2>& norm2);
34 void SaveBorders2D(
const std::string& filename,
const std::string& getter_name);
43 static double polN(
const std::vector<double>& par,
double x) {
46 for (
const auto ipar : par) {
Class to determine centrality for 2D case. Inherited from Centrality::BordersFinder.
Definition BordersFinder2D.hpp:21
double FindIntegral(const std::array< double, 2 > &norm1, const std::array< double, 2 > &norm2)
Definition BordersFinder2D.cpp:75
std::array< double, 2 > FindNorm(const std::vector< double > &par, double x)
Definition BordersFinder2D.cpp:143
static double polN(const std::vector< double > &par, double x)
Definition BordersFinder2D.hpp:43
std::unique_ptr< TH1F > Convert()
Definition BordersFinder2D.cpp:40
Class to determine centrality.
Definition BordersFinder.hpp:15