17#include <fmt/format.h>
25 poly->SetContour(255);
26 poly->SetTitle(
nullptr);
27 poly->GetYaxis()->SetTickSize(0.002f);
28 poly->GetYaxis()->SetTitleOffset(0.7f);
29 poly->GetZaxis()->SetTitleOffset(1.3f);
31 poly->GetZaxis()->SetTitle(zAxisTitle.data());
33 poly->SetMinimum(
minZ);
34 poly->SetMaximum(
maxZ);
37 TCanvas* can =
new TCanvas(
"can",
"can", 2000, 1400);
38 can->SetRightMargin(0.14f);
39 can->SetLeftMargin(0.06f);
40 can->SetTopMargin(0.04f);
51 latex.DrawLatexNDC(.07, .9, fmt::format(
"Sector {}",
sector).data());
63 poly->SetMinimum(
minZ);
64 poly->SetMaximum(
maxZ);
67 TCanvas* can =
new TCanvas(
"can",
"can", 650, 600);
68 can->SetTopMargin(0.04f);
69 can->SetRightMargin(0.14f);
70 can->SetLeftMargin(0.1f);
73 std::string sideName = (
side ==
Side::A) ?
"A-Side" :
"C-Side";
75 latex.DrawLatexNDC(.13, .9, sideName.data());
88 poly->SetContour(255);
89 poly->SetTitle(
nullptr);
90 poly->GetXaxis()->SetTitleOffset(1.2f);
91 poly->GetYaxis()->SetTitleOffset(1.3f);
92 poly->GetZaxis()->SetTitleOffset(1.3f);
93 poly->GetZaxis()->SetTitle(zAxisTitle.data());
94 poly->GetZaxis()->SetMaxDigits(3);
97 unsigned int sectorStart = (
side ==
Side::A) ? 0 : o2::tpc::SECTORSPERSIDE;
98 unsigned int sectorEnd = (
side ==
Side::A) ? o2::tpc::SECTORSPERSIDE : (sectorStart * SIDES);
101 const float angDeg = 10.f +
sector * 20;
115 std::string stype =
"SAC";
119 return fmt::format(
"#it{{{}}} (ADC)", stype);
123 return fmt::format(
"#it{{{}_{{0}}}} (ADC)", stype);
127 return fmt::format(
"#Delta#it{{{}}}", stype);
130 return fmt::format(
"#Delta#it{{{}}}_{{1}}", stype);
134 return fmt::format(
"#it{{{}}} (Outliers: Yellow)", stype);
configStandalone Light OpenGL display display_light Apply smoothing to points Enable Z buffer Highlight links Highlight seeds Highlight sector tracks Highlight final tracks Show individual sector
configStandalone Light OpenGL display display_light Apply smoothing to points Enable Z buffer Highlight links Highlight seeds Highlight sector tracks Highlight final tracks Show individual Show related Highlight grid Show only individual collision Color clusters belonging to track objects Set line Enable drawing TPC data Enable drawing TOF data Enable drawing magnetic field Set field line step count Invert colors configStandalone Heavy OpenGL display display_heavy Show tracks with ITS contribution Show tracks with TOF contribution Enable propagation of loopers Show clusters at nominal x of pad row for early transformed data Split CE tracks when they cross the central Mark clusters Mark adjacent clusters Hide rejected tracks Apply filter on tracks to be displayed Separate increase X coordinate
helper class for drawing SACs per sector/side
static std::string getZAxisTitle(const SACType type)
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)
GLsizei const GLubyte GLsizei GLenum const void * coords
GLint GLint GLsizei GLint GLenum GLenum type
GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat maxZ
@ IDC
integrated and grouped IDCs
@ IDCOne
IDC1: I_1(t) = <I(r,\phi,t) / I_0(r,\phi)>_{r,\phi}.
@ IDCZero
IDC0: I_0(r,\phi) = <I(r,\phi,t)>_t.
@ IDCDelta
IDCDelta: \Delta I(r,\phi,t) = I(r,\phi,t) / ( I_0(r,\phi) * I_1(t) )
container to be written to CCDB
static TH2Poly * makeSectorHist(const std::string_view name="hSector", const std::string_view title="Sector;local #it{x} (cm);local #it{y} (cm)", const float xMin=83.65f, const float xMax=247.7f, const float yMin=-43.7f, const float yMax=43.7f, const Type type=Type::Pad, std::string binningStr="")
static TH2Poly * makeSideHist(Side side, const Type type=Type::Pad, std::string binningStr="")
static std::vector< PadCoordinates > getStackCoordinatesSector()
create a vector of stack corner coordinate for one full sector