Project
Loading...
Searching...
No Matches
o2::tpc::SACDrawHelper Class Reference

#include <SACDrawHelper.h>

Classes

struct  SACDraw
 

Static Public Member Functions

static void drawSector (const SACDraw &SAC, const unsigned int sector, const std::string zAxisTitle, const std::string filename, const float minZ=0, const float maxZ=-1)
 
static void drawSide (const SACDraw &SAC, 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 SACDraw &SAC, const o2::tpc::Side side, const std::string zAxisTitle)
 
static std::string getZAxisTitle (const SACType type)
 

Detailed Description

Definition at line 28 of file SACDrawHelper.h.

Member Function Documentation

◆ drawSector()

void o2::tpc::SACDrawHelper::drawSector ( const SACDraw SAC,
const unsigned int  sector,
const std::string  zAxisTitle,
const std::string  filename,
const float  minZ = 0,
const float  maxZ = -1 
)
static

draw sector

Parameters
SACSACDraw struct containing function to get the values which will be drawn
sectorsector which will be drawn
zAxisTitleaxis title of the z axis
fileNamename of the output file (if empty the canvas is drawn instead of writte to a file)
minZmin z value for drawing (if minZ > maxZ automatic z axis)
maxZmax z value for drawing (if minZ > maxZ automatic z axis)

Definition at line 20 of file SACDrawHelper.cxx.

◆ drawSide() [1/2]

TH2Poly * o2::tpc::SACDrawHelper::drawSide ( const SACDraw SAC,
const o2::tpc::Side  side,
const std::string  zAxisTitle 
)
static

Definition at line 84 of file SACDrawHelper.cxx.

◆ drawSide() [2/2]

void o2::tpc::SACDrawHelper::drawSide ( const SACDraw SAC,
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
SACSACDraw struct containing function to get the values which will be drawn
sideside which will be drawn
zAxisTitleaxis title of the z axis
fileNamename of the output file (if empty the canvas is drawn instead of writte to a file)
minZmin z value for drawing (if minZ > maxZ automatic z axis)
maxZmax z value for drawing (if minZ > maxZ automatic z axis)

Definition at line 59 of file SACDrawHelper.cxx.

◆ getZAxisTitle()

std::string o2::tpc::SACDrawHelper::getZAxisTitle ( const SACType  type)
static
Returns
returns z axis title
Parameters
typeSAC type

Definition at line 113 of file SACDrawHelper.cxx.


The documentation for this class was generated from the following files: