Bool_t plotIntFlowRP = kTRUE; // integrated flow of RPs
Bool_t plotDiffFlowPtRP = kTRUE; // differential flow v(pt) for RPs
Bool_t plotDiffFlowEtaRP = kTRUE; // differential flow v(eta) for RPs
-// Results relative to MC |(v{MC}-v{method})/v{MC}|:
-Bool_t plotReferenceFlowRelativeToMC = kTRUE; // plot |(v{MC}-v{method})/v{MC}| for reference flow
-Bool_t plotIntFlowRelativeToMCPOI = kTRUE; // plot |(v{MC}-v{method})/v{MC}| for integrated flow of POIs
-Bool_t plotDiffFlowPtRelativeToMCPOI = kTRUE; // plot |(v{MC}-v{method})/v{MC}| as a function of pt for POIs
-Bool_t plotDiffFlowEtaRelativeToMCPOI = kTRUE; // plot |(v{MC}-v{method})/v{MC}| as a function of eta for POIs
-Bool_t plotIntFlowRelativeToMCRP = kTRUE; // plot |(v{MC}-v{method})/v{MC}| for integrated flow of RPs
-Bool_t plotDiffFlowPtRelativeToMCRP = kTRUE; // plot |(v{MC}-v{method})/v{MC}| as a function of pt for RPs
-Bool_t plotDiffFlowEtaRelativeToMCRP = kTRUE; // plot |(v{MC}-v{method})/v{MC}| as a function of eta for RPs
+// Results relative to MC:
+Bool_t plotReferenceFlowRelativeToMC = kTRUE; // plot (v{MC}-v{method})/v{MC} for reference flow
+Bool_t plotIntFlowRelativeToMCPOI = kTRUE; // plot (v{MC}-v{method})/v{MC} for integrated flow of POIs
+Bool_t plotDiffFlowPtRelativeToMCPOI = kTRUE; // plot (v{MC}-v{method})/v{MC} as a function of pt for POIs
+Bool_t plotDiffFlowEtaRelativeToMCPOI = kTRUE; // plot (v{MC}-v{method})/v{MC} as a function of eta for POIs
+Bool_t plotIntFlowRelativeToMCRP = kTRUE; // plot (v{MC}-v{method})/v{MC} for integrated flow of RPs
+Bool_t plotDiffFlowPtRelativeToMCRP = kTRUE; // plot (v{MC}-v{method})/v{MC} as a function of pt for RPs
+Bool_t plotDiffFlowEtaRelativeToMCRP = kTRUE; // plot (v{MC}-v{method})/v{MC} as a function of eta for RPs
// Set here if the legends will be shown on the plots:
Bool_t showLegend = kTRUE;
Bool_t showLegendDiffFlow = kTRUE;
+// Set here if both the error mesh and markers will be shown for specified method in the plots for differential flow:
+Bool_t showBothErrorMeshAndMarkers = kFALSE;
// Some quick settings:
Bool_t showOnlyReferenceFlow = kFALSE;
Bool_t showResultsRelativeToMC = kTRUE;
const Int_t nMethods = 10;
TString method[nMethods] = {"MCEP","SP","2,GFC","2,QC","4,GFC","4,QC","6,GFC","8,GFC","LYZ2SUM","LYZ2PROD"};
Int_t methodMarkerStyle[nMethods] = {20,3,21,21,20,20,25,24,22,22}; // see available marker styles in TAttMarker
- Int_t methodMarkerColor[nMethods] = {kRed,kViolet-6,kAzure-7,kOrange-7,kAzure+3,kOrange+3,kAzure-7,kAzure+3,kYellow+3,kGreen+3};
+ Int_t methodMarkerColor[nMethods] = {kBlue,kViolet-6,kAzure-7,kOrange-7,kAzure+3,kOrange+3,kAzure-7,kAzure+3,kYellow+3,kGreen+3};
// Settings for error mesh:
TString methodUsedToMakeErrorMesh = "MCEP";
Int_t meshStyle = 1001;
const Int_t nMethods = 10;
TString method[nMethods] = {"MCEP","SP","2,GFC","2,QC","4,GFC","4,QC","6,GFC","8,GFC","LYZ2SUM","LYZ2PROD"};
Int_t methodMarkerStyle[nMethods] = {20,3,21,21,20,20,25,24,22,22}; // see available marker styles in TAttMarker
- Int_t methodMarkerColor[nMethods] = {kRed,kViolet-6,kAzure-7,kOrange-7,kAzure+3,kOrange+3,kAzure-7,kAzure+3,kYellow+3,kGreen+3};
+ Int_t methodMarkerColor[nMethods] = {kBlue,kViolet-6,kAzure-7,kOrange-7,kAzure+3,kOrange+3,kAzure-7,kAzure+3,kYellow+3,kGreen+3};
// Settings for error mesh:
TString methodUsedToMakeErrorMesh = "MCEP";
Int_t meshStyle = 1001;
void PlotReferenceFlowRelativeToMC()
{
- // Make a plot |(v{MC}-v{method})/v{MC}| for reference flow.
+ // Make a plot (v{MC}-v{method})/v{MC} for reference flow.
// Settings for methods:
const Int_t nMethods = 12;
void PlotIntFlowRelativeToMCPOI()
{
- // Make a plot |(v{MC}-v{method})/v{MC}| for integrated flow of POIs.
+ // Make a plot (v{MC}-v{method})/v{MC} for integrated flow of POIs.
// Settings for methods:
const Int_t nMethods = 9;
void PlotIntFlowRelativeToMCRP()
{
- // Make a plot |(v{MC}-v{method})/v{MC}| for integrated flow of RPs.
+ // Make a plot (v{MC}-v{method})/v{MC} for integrated flow of RPs.
// Settings for methods:
const Int_t nMethods = 9;
void PlotDiffFlowPtRelativeToMCPOI()
{
- // Make a plot |(v{MC}-v{method})/v{MC}| for differential flow of POIs vs pt.
+ // Make a plot (v{MC}-v{method})/v{MC} for differential flow of POIs vs pt.
// Settings for methods:
const Int_t nMethods = 9;
void PlotDiffFlowEtaRelativeToMCPOI()
{
- // Make a plot |(v{MC}-v{method})/v{MC}| for differential flow of POIs vs eta.
+ // Make a plot (v{MC}-v{method})/v{MC} for differential flow of POIs vs eta.
// Settings for methods:
const Int_t nMethods = 9;
void PlotDiffFlowPtRelativeToMCRP()
{
- // Make a plot |(v{MC}-v{method})/v{MC}| for differential flow of RPs vs pt.
+ // Make a plot (v{MC}-v{method})/v{MC} for differential flow of RPs vs pt.
// Settings for methods:
const Int_t nMethods = 9;
void PlotDiffFlowEtaRelativeToMCRP()
{
- // Make a plot |(v{MC}-v{method})/v{MC}| for differential flow of RPs vs eta.
+ // Make a plot (v{MC}-v{method})/v{MC} for differential flow of RPs vs eta.
// Settings for methods:
const Int_t nMethods = 9;
// Results of methods:
for(Int_t b=0;b<nMethods;b++)
{
- if(method[b]==methodUsedToMakeErrorMesh) continue;
+ if(method[b]==methodUsedToMakeErrorMesh && !showBothErrorMeshAndMarkers) continue;
TH1D *hist = GetResultHistogram(method[b].Data(),rpPoi.Data(),ptEta.Data());
if(hist)
{
void PlotRelativeToMC(const Int_t nMethods, TString *method, Int_t *methodMarkerStyle,
Int_t *methodMarkerColor, TString rfRpPoi)
{
- // Make a plot |(v{MC}-v{method})/v{MC}| for reference and integrated flow.
+ // Make a plot (v{MC}-v{method})/v{MC} for reference and integrated flow.
TString title = "";
if(rfRpPoi == "RF")