KaliVeda
Toolkit for HIC analysis
KVDataQualityAuditReporting_INDRA.h
1 #pragma once
2 
3 #include "KVBase.h"
4 #include <KVDataQualityAuditReportMaker.h>
5 #include <TCanvas.h>
6 
31 
33  enum class canvas_t {
34  kLandscape,
35  kPortrait
36  };
37 
39 
42 
43  std::vector<int> markers {20, 24, 21, 25, 34, 28, 47, 46, 45, 44, 29, 30, 43, 42, 22, 26, 23, 32};
44 
45  std::pair<int, int> get_layout(size_t ntels)
46  {
47  assert(ntels <= 16);
48  if (ntels <= 8) return {4, 2};
49  else if (ntels <= 12) return {4, 3};
50  return {4, 4};
51  }
52  void draw_sidebar_legend();
53 
55  void fill_list_of_telescopes(const TString& idtype, TList& tels, int ring);
56  int get_mod_set(int nmods);
57 public:
58  KVDataQualityAuditReporting_INDRA(const TString& audit_name, const TString& ds_name)
59  : fReport{audit_name}, fAudit{fReport.GetAudit()}, dataset_name{ds_name}
60  {
63  }
64 
65  void do_report();
66  void INDRA_ring_reporting_Z(int ring, const TString& idtype);
67  void INDRA_ring_mean_A_vs_Z(int ring, const TString& idtype, int& pad, int nx, int ny);
68  void INDRA_ring_Z_threshold_vs_Z(int ring, const TString& idtype, int& pad, int nx, int ny);
69 
71 };
bool Bool_t
#define ClassDef(name, id)
Base class for KaliVeda framework.
Definition: KVBase.h:139
Produce graphs and histograms from KVDataQualityAudit.
Prepare PDF report on data quality audits for INDRA experiments.
void INDRA_ring_Z_threshold_vs_Z(int ring, const TString &idtype, int &pad, int nx, int ny)
void INDRA_ring_mean_A_vs_Z(int ring, const TString &idtype, int &pad, int nx, int ny)
void make_canvas(canvas_t style=canvas_t::kLandscape)
Make an A4-size canvas.
std::pair< int, int > get_layout(size_t ntels)
void INDRA_ring_reporting_Z(int ring, const TString &idtype)
int get_mod_set(int nmods)
24 => 4 sets of 6, 16 => 2 sets of 8, 12 => 4 sets of 3, 8 => 1 set of 8
KVDataQualityAuditReporting_INDRA(const TString &audit_name, const TString &ds_name)
void fill_list_of_telescopes(const TString &idtype, TList &tels, int ring)
Audit of experimental data identification and calibrations.