#include <IDCDrawHelper.h>
|
static void | drawSector (const IDCDraw &idc, const unsigned int startRegion, const unsigned int endRegion, const unsigned int sector, const std::string zAxisTitle, const std::string filename, const float minZ=0, const float maxZ=-1) |
|
static void | drawSide (const IDCDraw &idc, const o2::tpc::Side side, const std::string zAxisTitle, const std::string filename, const float minZ=0, const float maxZ=-1) |
|
static TH2Poly * | drawSide (const IDCDraw &idc, const o2::tpc::Side side, const std::string zAxisTitle) |
|
static TH1F * | drawSide (const IDCDraw &idc, std::string_view type, const o2::tpc::Side side, const int nbins1D, const float xMin1D, const float xMax1D) |
|
static void | drawRadialProfile (const IDCDraw &idc, TH2F &hist, const o2::tpc::Side side) |
|
static void | drawIDCZeroStackCanvas (const IDCDraw &idc, const o2::tpc::Side side, const std::string_view type, const int nbins1D, const float xMin1D, const float xMax1D, TCanvas &outputCanvas, int integrationInterval) |
|
static void | drawSideGIF (const IDCDrawGIF &idcs, const unsigned int slices, const std::string zAxisTitle, const std::string filename="IDCs", const float minZ=0, const float maxZ=-1, const int run=-1) |
| make a GIF of IDCs for A and C side and the 1D IDCs
|
|
static std::string | getZAxisTitle (const IDCType type, const IDCDeltaCompression compression=IDCDeltaCompression::NO) |
|
Definition at line 31 of file IDCDrawHelper.h.
◆ drawIDCZeroStackCanvas()
void o2::tpc::IDCDrawHelper::drawIDCZeroStackCanvas |
( |
const IDCDraw & |
idc, |
|
|
const o2::tpc::Side |
side, |
|
|
const std::string_view |
type, |
|
|
const int |
nbins1D, |
|
|
const float |
xMin1D, |
|
|
const float |
xMax1D, |
|
|
TCanvas & |
outputCanvas, |
|
|
int |
integrationInterval |
|
) |
| |
|
static |
◆ drawRadialProfile()
◆ drawSector()
void o2::tpc::IDCDrawHelper::drawSector |
( |
const IDCDraw & |
idc, |
|
|
const unsigned int |
startRegion, |
|
|
const unsigned int |
endRegion, |
|
|
const unsigned int |
sector, |
|
|
const std::string |
zAxisTitle, |
|
|
const std::string |
filename, |
|
|
const float |
minZ = 0 , |
|
|
const float |
maxZ = -1 |
|
) |
| |
|
static |
draw sector
- Parameters
-
idc | IDCDraw struct containing function to get the values which will be drawn |
startRegion | first region which will be drawn |
endRegion | last region which will be drawn |
sector | sector which will be drawn |
zAxisTitle | axis title of the z axis |
fileName | name of the output file (if empty the canvas is drawn instead of writte to a file) |
minZ | min z value for drawing (if minZ > maxZ automatic z axis) |
maxZ | max z value for drawing (if minZ > maxZ automatic z axis) |
Definition at line 28 of file IDCDrawHelper.cxx.
◆ drawSide() [1/3]
TH2Poly * o2::tpc::IDCDrawHelper::drawSide |
( |
const IDCDraw & |
idc, |
|
|
const o2::tpc::Side |
side, |
|
|
const std::string |
zAxisTitle |
|
) |
| |
|
static |
◆ drawSide() [2/3]
void o2::tpc::IDCDrawHelper::drawSide |
( |
const IDCDraw & |
idc, |
|
|
const o2::tpc::Side |
side, |
|
|
const std::string |
zAxisTitle, |
|
|
const std::string |
filename, |
|
|
const float |
minZ = 0 , |
|
|
const float |
maxZ = -1 |
|
) |
| |
|
static |
draw side
- Parameters
-
idc | IDCDraw struct containing function to get the values which will be drawn |
side | side which will be drawn |
zAxisTitle | axis title of the z axis |
fileName | name of the output file (if empty the canvas is drawn instead of writte to a file) |
minZ | min z value for drawing (if minZ > maxZ automatic z axis) |
maxZ | max z value for drawing (if minZ > maxZ automatic z axis) |
Definition at line 76 of file IDCDrawHelper.cxx.
◆ drawSide() [3/3]
TH1F * o2::tpc::IDCDrawHelper::drawSide |
( |
const IDCDraw & |
idc, |
|
|
std::string_view |
type, |
|
|
const o2::tpc::Side |
side, |
|
|
const int |
nbins1D, |
|
|
const float |
xMin1D, |
|
|
const float |
xMax1D |
|
) |
| |
|
static |
◆ drawSideGIF()
void o2::tpc::IDCDrawHelper::drawSideGIF |
( |
const IDCDrawGIF & |
idcs, |
|
|
const unsigned int |
slices, |
|
|
const std::string |
zAxisTitle, |
|
|
const std::string |
filename = "IDCs" , |
|
|
const float |
minZ = 0 , |
|
|
const float |
maxZ = -1 , |
|
|
const int |
run = -1 |
|
) |
| |
|
static |
make a GIF of IDCs for A and C side and the 1D IDCs
- Parameters
-
idc | IDCDraw struct containing function to get the IDCs + 1D IDCs which will be drawn |
zAxisTitle | axis title of the z axis |
fileName | name of the output file (.gif is added automatically) |
minZ | min z value for drawing (if minZ > maxZ automatic z axis) |
maxZ | max z value for drawing (if minZ > maxZ automatic z axis) |
run | run of the IDCs (if =-1 then no run number is drawn) |
Definition at line 279 of file IDCDrawHelper.cxx.
◆ getZAxisTitle()
- Returns
- returns z axis title
- Parameters
-
type | IDC type |
compression | compression of the IDCs if used (only for IDCDelta) |
Definition at line 243 of file IDCDrawHelper.cxx.
The documentation for this class was generated from the following files:
- /home/runner/work/AliceO2/AliceO2/Detectors/TPC/calibration/include/TPCCalibration/IDCDrawHelper.h
- /home/runner/work/AliceO2/AliceO2/Detectors/TPC/calibration/src/IDCDrawHelper.cxx