36 #ifndef PLOTSPINTOTALS_HH
37 #define PLOTSPINTOTALS_HH
43 #include "TVirtualPad.h"
49 std::vector<std::pair<string, TVirtualPad*> >
52 const int* colors = 0,
53 const double yAxisRangeMax = 0,
54 const bool drawLegend =
true,
55 const std::string& outFileName =
"spinTotals.root",
56 const std::string& branchName =
"fitResult_v2");
59 std::vector<std::pair<string, TVirtualPad*> >
61 const std::vector<int>& colors,
62 const double yAxisRangeMax = 0,
63 const bool drawLegend =
true,
64 const std::string& outFileName =
"spinTotals.root",
65 const std::string& branchName =
"fitResult_v2")
67 return plotSpinTotals(trees.size(), &(*(trees.begin())), &(*(colors.begin())),
68 yAxisRangeMax, drawLegend, outFileName, branchName);
72 std::vector<std::pair<std::string, TVirtualPad*> >
74 const int color = kBlack,
75 const double yAxisRangeMax = 0,
76 const bool drawLegend =
true,
77 const std::string& outFileName =
"spinTotals.root",
78 const std::string& branchName =
"fitResult_v2")
80 return plotSpinTotals(1, &tree, &color, yAxisRangeMax, drawLegend, outFileName, branchName);
84 #endif // PLOTSPINTOTALS_HH