CombinePtPointsSpectraTriggerCorrMat()) or compare spectra with different or the same binnings (
CalculateRatioBetweenSpectraWithDifferentBinning()). Furthermore the previously used functions to combined only the fully independent results from PHOS and PCM are kept in this header files (
CombinePtPointsSpectraAdv(), CombinePtPointsSpectra(), CombinePtPointsRAA()), however, they should not be used anymore as they will no longer be maintained. Most of these functions do rather delicate operations (i.e. matrix inversions, transformations of graphs & histos into each other, ...) as such please check the
couts, they are ment as control and debug output. Last but not least it contains a function to calculate weighted quantities based on the
CombinePtPointsSpectraTriggerCorrMat()to properly display for instance the efficiency, acceptance, mass-position... . This function is, however, not yet fully vetted for all special cases, thus please have a look at the outcome and make sure the results are sensible.
InitializeBinning()using the functions:
InitializeClusterBinning(), GetStartBin(), ReturnSingleInvariantMassBinPlotting(), GetOptimumNColumnsAndRows() & GetBinning()for the corresponding variables, as these can/will be used in the combination macros for instance as well.
FitObject()). Also the fitting functions for the resolution fitting are contained in this header.
GetColorDefaultColor(), GetDefaultMarkerStyle(), GetDefaultMarkerSize()), triggers (
GetDefaultTriggerColor(), GetDefaultTriggerMarker(), GetDefaultTriggerColorName(), GetDefaultTriggerMarkerStyleName(), GetDefaultTriggerMarkerSizeName()) and detection techniques (
GetDefaultColorDiffDetectors, GetDefaultMarkerStyleDiffDetectors(), GetDefaultMarkerSizeDiffDetectors). Make sure to use them as it eases following presentations in the different meetings and the corresponding colors often have already been optimzed for visibility and style in the corresponding papers. In addition several functions to put logos and labels on the plot are contained in this header (i.e.
PutALICESimulationLabel(), PutProcessLabelAndEnergyOnPlot(), DrawAliceLogoPerformance(), DrawStructure(), DrawAliceText()). Also some functions to extract the marker settings and colors from histos and graphs and create a single marker or box from these.
DrawGammaSetMarker(), DrawGammaNLOTGraph(), SetStyleGammaNLOTGraphWithBand(), DrawAutoGammaHisto(), SetStyleHisto(), SetStyleHistoTH2ForGraphs(), DrawGammaHistoWithTitle2()...) or multiple objects (
DrawAutoGammaHistos(), DrawAutoGammaHistosMaterial(), DrawAutoGamma3Histos(), DrawAutoGammaHistosWOLeg()...). Most of these functions exist for multiple objects and are named accordingly, they each have slightly different default settings and are usually optimized for a certain purpose. Thus please have a look at the different macros in which context they are used or ask in the slack chat if you are not sure. Additionally, some more general functions for setting proper canvas and pad settings are defined here:
StyleSettings(), StyleSettingsThesis(), SetPlotStyle(), SetPlotStyleNConts(), DrawCanvasSettings(), DrawPadSettings()using part or all of these functions will make your code much more readable and your plots instantly better visible so please use them. Also the function:
ReturnCorrectValuesForCanvasScaling()is vary handy as it return the correct values for the pad margins for multipad plots.
makein this folder once you have downloaded the directory in order to be able run the direct photon extraction properly. Afterwards the path to this directory needs to be included in CompileCorrectGammaV2.C including your user-name on your device.