#ifndef ROOTPLOTTER_H #define ROOTPLOTTER_H #include #include #include #include "Nucleus.h" #include "Target.h" #include #include #include class RootPlotter { public: RootPlotter(); ~RootPlotter(); void Run(const std::string& inputname, const std::string& outputname); private: void FillData(const Mask::Nucleus& nuc, int i); void Correlations(const std::vector& event); void MyFill(const std::string& name, const std::string& title, int bins, float min, float max, double val); void MyFill(const std::string& name, const std::string& title, int binsx, float minx, float maxx, int binsy, float miny, float maxy, double valx, double valy); void MyFill(const std::string& name, const std::string& title, double valx, double valy, int color); //TGraph std::unordered_map> m_map; static constexpr double s_rad2deg = 180.0/M_PI; Mask::Target m_target; }; #endif