Analysis Software
Documentation for sPHENIX simulation software
|
#include "ActsExamples/Utilities/Helpers.hpp"
#include <cassert>
#include <TAxis.h>
#include <TEfficiency.h>
#include <TFitResult.h>
#include <TFitResultPtr.h>
#include <TH1.h>
#include <TH2.h>
#include <TProfile.h>
Go to the source code of this file.
Namespaces | |
namespace | ActsExamples |
namespace | ActsExamples::PlotHelpers |
Functions | |
TH1F * | ActsExamples::PlotHelpers::bookHisto (const char *histName, const char *histTitle, const Binning &varBinning) |
book a 1D histogram | |
TH2F * | ActsExamples::PlotHelpers::bookHisto (const char *histName, const char *histTitle, const Binning &varXBinning, const Binning &varYBinning) |
book a 2D histogram | |
void | ActsExamples::PlotHelpers::fillHisto (TH1F *hist, float value, float weight=1.0) |
fill a 1D histogram | |
void | ActsExamples::PlotHelpers::fillHisto (TH2F *hist, float xValue, float yValue, float weight=1.0) |
fill a 2D histogram | |
void | ActsExamples::PlotHelpers::anaHisto (TH1D *inputHist, int j, TH1F *meanHist, TH1F *widthHist) |
extract details, i.e. mean and width of a 1D histogram and fill them into histograms | |
TEfficiency * | ActsExamples::PlotHelpers::bookEff (const char *effName, const char *effTitle, const Binning &varBinning) |
book a 1D efficiency plot | |
TEfficiency * | ActsExamples::PlotHelpers::bookEff (const char *effName, const char *effTitle, const Binning &varXBinning, const Binning &varYBinning) |
book a 2D efficiency plot | |
void | ActsExamples::PlotHelpers::fillEff (TEfficiency *efficiency, float value, bool status) |
fill a 1D efficiency plot | |
void | ActsExamples::PlotHelpers::fillEff (TEfficiency *efficiency, float xValue, float yValue, bool status) |
fill a 2D efficiency plot | |
TProfile * | ActsExamples::PlotHelpers::bookProf (const char *profName, const char *profTitle, const Binning &varXBinning, const Binning &varYBinning) |
book a TProfile plot | |
void | ActsExamples::PlotHelpers::fillProf (TProfile *profile, float xValue, float yValue, float weight=1.0) |
fill a TProfile plot | |