3 #ifndef ALIGNMENT_OFFLINEVALIDATION_JETHTPLOTCONFIGURATION_H 4 #define ALIGNMENT_OFFLINEVALIDATION_JETHTPLOTCONFIGURATION_H 7 #define BOOST_BIND_GLOBAL_PLACEHOLDERS // This suppresses some warning message. It is annoying so just not seeing it makes me happy. 8 #include "boost/property_tree/ptree.hpp" 9 #include "boost/property_tree/json_parser.hpp" 10 #include "boost/algorithm/string/replace.hpp" 152 "drawDzErrorVsPtWide",
153 "drawDxyErrorVsPtWide"};
163 "ZoomPtWideProfileDz",
164 "ZoomPtWideProfileDxy"};
290 kBlue, kRed, kGreen + 2, kMagenta, kBlack, kCyan, kViolet + 3, kOrange, kPink - 7, kSpring + 3, kAzure - 7};
double fProfileLegendShiftColumnY[kMaxLegendColumns]
std::string fJsonLumiPerIovFile
double fTrendLegendShiftTotalX
std::vector< std::string > trendTagText() const
std::string fJsonNameHistogram[knHistogramTypes]
bool drawProfile(const int iProfile) const
std::string fJsonNameMarginLeft
double profileLegendShiftColumnY(const int iColumn) const
double trendMarginTop() const
void autoExpandEnvironmentVariables(std::string &text) const
std::vector< double > trendTagPositionX() const
std::string fJsonNameTrend[knHistogramTypes]
std::vector< bool > fCopyErrorColor
std::string fJsonNameLegendTextForAllRuns
std::string fJsonNameTrendZoom[knHistogramTypes]
bool normalizeQAplots() const
std::string fLumiPerIovFile
double trendLabelSizeY() const
int yearLineColor() const
std::string fJsonNameMarginBottom
std::string fJsonNameLabelOffsetX
std::vector< std::string > inputFiles() const
double trendMarginBottom() const
std::string fJsonNameLegendShiftTotalX
std::string fJsonNameProfileZoom[knProfileTypes]
std::vector< int > fMarkerColor
std::string fJsonUseLuminosityForTrends
std::string expandEnvironmentVariables(const std::string &input) const
std::vector< int > runsForLines() const
std::vector< int > fRunsForLines
std::string fJsonNameTagTextSize
std::string fJsonNameTitleSizeX
double trendZoomLow(const int iTrend) const
static const int kMaxLegendColumns
double trendTitleOffsetY() const
std::string fJsonNameTagInfo
double fProfileLegendShiftTotalX
double fTrendTitleOffsetX
bool makeIovListForSlides() const
double fProfileLegendShiftTotalY
std::string fJsonNameMarginRight
double fTrendMarginBottom
bool drawTrendTag() const
double fProfileZoomLow[knProfileTypes]
bool skipRunsWithNoData() const
bool fMakeIovListForSlides
bool copyErrorColor(const int iFile) const
int markerStyle(const int iFile) const
std::string fJsonCategoryNameHistogram
std::string fJsonNameLegendShiftColumnX
int trendCanvasHeight() const
double profileLegendTextSize() const
double fProfileLegendTextSize
const char * iovListForSlides() const
double trendTitleOffsetX() const
std::string fJsonNameDrawTag
bool fDrawReferenceProfile
std::string fJsonNameCanvasWidth
std::vector< double > fWidePtBinBorders
std::string fLegendTextForAllRuns
static std::string const input
double trendZoomHigh(const int iTrend) const
double trendLabelSizeX() const
double fProfileLegendShiftColumnX[kMaxLegendColumns]
std::string fJsonSkipRunsWithNoData
bool useLuminosityForTrends() const
std::string fJsonCategoryNameProfile
std::string fJsonNameTagTextFont
std::string fJsonNameLegendTextFont
bool drawYearLines() const
double fTrendLabelOffsetX
std::string fJsonNameLabelSizeX
std::vector< int > fMarkerSize
std::string fJsonNameTitleSizeY
bool fUseLuminosityForTrends
int trendCanvasWidth() const
virtual ~JetHtPlotConfiguration()
std::string fJsonYearLineWidth
std::string fJsonNameReferenceProfile
double fTrendZoomLow[knTrendTypes]
double fProfileZoomHigh[knProfileTypes]
std::vector< double > fTrendTagPositionX
double trendTagTextSize() const
bool drawCentralEtaSummaryProfile() const
int trendLegendTextFont() const
bool drawTrend(const int iTrend) const
std::string fJsonYearLineStyle
std::string legendComment(const int iComment) const
std::string fJsonNameProfile[knProfileTypes]
int trendTagTextFont() const
bool fDrawProfile[knProfileTypes]
std::string fJsonNameMarginTop
std::vector< std::string > fTrendTagText
int yearLineStyle() const
std::string fJsonNameCanvasHeight
std::vector< int > fMarkerStyle
bool drawHistogram(const int iHistogram) const
int markerColor(const int iFile) const
std::string fJsonDrawYearLines
const char * lumiPerIovFile() const
std::string fIovListForSlides
std::string fJsonRunsForLines
bool fDrawCentralEtaSummaryProfile
void printConfiguration() const
std::string fJsonDrawPlotsForEachIOV
double fTrendTitleOffsetY
double fTrendLegendTextSize
int profileLegendTextFont() const
int markerSize(const int iFile) const
bool fDrawTrend[knTrendTypes]
std::string fJsonNameLegendShiftColumnY
std::string fJsonNameLabelOffsetY
double fTrendLegendShiftTotalY
std::string fJsonLegendComment
bool fDrawHistogram[knHistogramTypes]
int nIovInOnePlot() const
double fTrendZoomHigh[knTrendTypes]
std::string fJsonNIovInOnePlot
std::string fJsonYearLineColor
bool fDrawPlotsForEachIOV
double trendLegendShiftTotalY() const
std::string fJsonSaveComment
std::string fJsonIovListMode
std::string fJsonNameCentralEtaSummaryProfile
std::vector< std::string > fLegendComments
double profileLegendShiftColumnX(const int iColumn) const
double trendTitleSizeX() const
std::string fJsonNameLabelSizeY
std::string fJsonCategoryNameProfileZoom
std::string legendTextForAllRuns() const
std::string fJsonNameTitleOffsetY
double trendLabelOffsetY() const
std::string fJsonMakeIovListForSlides
bool drawReferenceProfile() const
const char * iovListMode() const
std::vector< double > fTrendTagPositionY
std::string fJsonNameLegendTextSize
std::string fJsonWidePtBinBorders
std::string fJsonIovListForSlides
double profileLegendShiftTotalY() const
bool drawPlotsForEachIOV() const
std::string fJsonCategoryNameTrendZoom
int yearLineWidth() const
double trendMarginRight() const
std::string fJsonNameTitleOffsetX
double trendLegendTextSize() const
std::string fJsonInputFileName
double profileLegendShiftTotalX() const
double profileZoomHigh(const int iProfile) const
int fProfileLegendTextFont
double trendMarginLeft() const
std::string fJsonNormalizeQAplots
const char * saveComment() const
JetHtPlotConfiguration & operator=(const JetHtPlotConfiguration &obj)
double trendLabelOffsetX() const
std::string fJsonTrackQAname
double fTrendLabelOffsetY
double trendTitleSizeY() const
std::string fJsonNameLegendShiftTotalY
std::vector< double > widePtBinBorders() const
std::vector< std::string > fInputFileNames
void readJsonFile(const std::string fileName)
std::vector< double > trendTagPositionY() const
double trendLegendShiftTotalX() const
double profileZoomLow(const int iProfile) const
std::string fJsonCategoryNameTrend
std::string inputFile(const int iFile) const