ATLAS Offline Software
|
#include "JetUncertainties/JetUncertaintiesTool.h"
#include "JetUncertainties/Helpers.h"
#include "../testingMacros/atlasstyle/AtlasStyle.C"
#include "../testingMacros/atlasstyle/AtlasLabels.C"
#include "TString.h"
#include "TCanvas.h"
#include "TH2D.h"
#include "TFile.h"
#include <vector>
#include "CxxUtils/checker_macros.h"
Go to the source code of this file.
Functions | |
double | relativeMetric (const double numerator, const double denominator) |
void | DrawLabels (const TH2D *histo, const double fixedValue1, const double fixedValue2, const JetUncertaintiesTool *uncTool, const JetUncertaintiesTool *uncToolDiff=nullptr, const double mean=0, const double extremum=0, const int extremeX=-1, const int extremeY=-1) |
void | FormatHisto (TH2D *histo) |
void | PlotCorrelationHistos (const TString &outFile, TCanvas *canvas, TFile *outHistFile, const std::vector< JetUncertaintiesTool * > &providers, const std::vector< TH2D * > &corrMats, const double fixedValue1, const double fixedValue2) |
void | MakeCorrelationPlots (const TString &outFile, TCanvas *canvas, TFile *outHistFile, const std::vector< JetUncertaintiesTool * > &providers, const std::vector< std::pair< double, double > > &fixedEta, const std::vector< std::pair< double, double > > &fixedPt) |
int main | ATLAS_NOT_THREAD_SAFE (int argc, char *argv[]) |
Variables | |
ATLAS_NO_CHECK_FILE_THREAD_SAFETY | |
const double | fixedRangeDiff = 0 |
const bool | addExtremumInfo = true |
const bool | addScenarioInfo = false |
const bool | makeGrid = true |
const bool | minRepStyle = false |
const bool | testJER = false |
bool | useRelativeMetric = true |
int | iEPS = 0 |
int main ATLAS_NOT_THREAD_SAFE | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 327 of file MakeCorrelationMatrixPlots.cxx.
void DrawLabels | ( | const TH2D * | histo, |
const double | fixedValue1, | ||
const double | fixedValue2, | ||
const JetUncertaintiesTool * | uncTool, | ||
const JetUncertaintiesTool * | uncToolDiff = nullptr , |
||
const double | mean = 0 , |
||
const double | extremum = 0 , |
||
const int | extremeX = -1 , |
||
const int | extremeY = -1 |
||
) |
Definition at line 45 of file MakeCorrelationMatrixPlots.cxx.
void FormatHisto | ( | TH2D * | histo | ) |
Definition at line 125 of file MakeCorrelationMatrixPlots.cxx.
void MakeCorrelationPlots | ( | const TString & | outFile, |
TCanvas * | canvas, | ||
TFile * | outHistFile, | ||
const std::vector< JetUncertaintiesTool * > & | providers, | ||
const std::vector< std::pair< double, double > > & | fixedEta, | ||
const std::vector< std::pair< double, double > > & | fixedPt | ||
) |
Definition at line 254 of file MakeCorrelationMatrixPlots.cxx.
void PlotCorrelationHistos | ( | const TString & | outFile, |
TCanvas * | canvas, | ||
TFile * | outHistFile, | ||
const std::vector< JetUncertaintiesTool * > & | providers, | ||
const std::vector< TH2D * > & | corrMats, | ||
const double | fixedValue1, | ||
const double | fixedValue2 | ||
) |
Definition at line 136 of file MakeCorrelationMatrixPlots.cxx.
Definition at line 31 of file MakeCorrelationMatrixPlots.cxx.
const bool addExtremumInfo = true |
Definition at line 22 of file MakeCorrelationMatrixPlots.cxx.
const bool addScenarioInfo = false |
Definition at line 23 of file MakeCorrelationMatrixPlots.cxx.
ATLAS_NO_CHECK_FILE_THREAD_SAFETY |
Definition at line 19 of file MakeCorrelationMatrixPlots.cxx.
const double fixedRangeDiff = 0 |
Definition at line 21 of file MakeCorrelationMatrixPlots.cxx.
int iEPS = 0 |
Definition at line 29 of file MakeCorrelationMatrixPlots.cxx.
const bool makeGrid = true |
Definition at line 24 of file MakeCorrelationMatrixPlots.cxx.
const bool minRepStyle = false |
Definition at line 25 of file MakeCorrelationMatrixPlots.cxx.
const bool testJER = false |
Definition at line 26 of file MakeCorrelationMatrixPlots.cxx.
bool useRelativeMetric = true |
Definition at line 28 of file MakeCorrelationMatrixPlots.cxx.