#include <GeometryComparisonPlotter.h>
|
| GeometryComparisonPlotter (TString tree_file_name, TString outputDirname="output/", TString modulesToPlot="all", TString referenceName="Ideal", TString alignmentName="Alignment", TString plotOnlyGlobal="false") |
|
void | MakePlots (const vector< TString >, const vector< TString >, const vector< float >, const vector< float >) |
|
void | Set1dModule (const bool) |
|
void | Set2dModule (const bool) |
|
void | SetBatchMode (const bool) |
|
void | SetBranchMax (const TString, const float) |
|
void | SetBranchMin (const TString, const float) |
|
void | SetBranchSF (const TString, const float) |
|
void | SetBranchUnits (const TString, const TString) |
|
void | SetCanvasSize (const int window_width=3508, const int window_height=2480) |
|
void | SetGrid (const int, const int) |
|
void | SetLegend (const bool) |
|
void | SetLevelCut (const int) |
|
void | SetOutputDirectoryName (const TString) |
|
void | SetOutputFileName (const TString) |
|
void | SetPrint (const bool) |
|
void | SetPrintOption (const Option_t *) |
|
void | SetWrite (const bool) |
|
| ~GeometryComparisonPlotter () |
|
Definition at line 23 of file GeometryComparisonPlotter.h.
GeometryComparisonPlotter::GeometryComparisonPlotter |
( |
TString |
tree_file_name, |
|
|
TString |
outputDirname = "output/" , |
|
|
TString |
modulesToPlot = "all" , |
|
|
TString |
referenceName = "Ideal" , |
|
|
TString |
alignmentName = "Alignment" , |
|
|
TString |
plotOnlyGlobal = "false" |
|
) |
| |
GeometryComparisonPlotter::~GeometryComparisonPlotter |
( |
| ) |
|
TString GeometryComparisonPlotter::ExtensionFromPrintOption |
( |
TString |
print_option | ) |
|
|
private |
TString GeometryComparisonPlotter::LateXstyle |
( |
TString |
word | ) |
|
|
private |
TLegend * GeometryComparisonPlotter::MakeLegend |
( |
double |
x1, |
|
|
double |
y1, |
|
|
double |
x2, |
|
|
double |
y2, |
|
|
const TString |
title = "" |
|
) |
| |
|
private |
void GeometryComparisonPlotter::MakePlots |
( |
const vector< TString > |
x, |
|
|
const vector< TString > |
y, |
|
|
const vector< float > |
dyMin, |
|
|
const vector< float > |
dyMax |
|
) |
| |
-1) check that only existing branches are called
0) min and max values
1) declare TGraphs
2) loop on the TTree data
3) merge TGraph objects into TMultiGraph objects, then draw, print and write (according to the options _batchMode, _print and _write respectively)
TRACKER
SUBLEVELS (1..6)
Definition at line 190 of file GeometryComparisonPlotter.cc.
void GeometryComparisonPlotter::Set1dModule |
( |
const bool |
k1dModule | ) |
|
void GeometryComparisonPlotter::Set2dModule |
( |
const bool |
k2dModule | ) |
|
void GeometryComparisonPlotter::SetBatchMode |
( |
const bool |
kBatchMode | ) |
|
void GeometryComparisonPlotter::SetBranchMax |
( |
const TString |
branchname, |
|
|
const float |
max |
|
) |
| |
void GeometryComparisonPlotter::SetBranchMin |
( |
const TString |
branchname, |
|
|
const float |
min |
|
) |
| |
void GeometryComparisonPlotter::SetBranchSF |
( |
const TString |
branchname, |
|
|
const float |
SF |
|
) |
| |
void GeometryComparisonPlotter::SetBranchUnits |
( |
const TString |
branchname, |
|
|
const TString |
units |
|
) |
| |
void GeometryComparisonPlotter::SetCanvasSize |
( |
const int |
window_width = 3508 , |
|
|
const int |
window_height = 2480 |
|
) |
| |
void GeometryComparisonPlotter::SetGrid |
( |
const int |
kGridX, |
|
|
const int |
kGridY |
|
) |
| |
void GeometryComparisonPlotter::SetLegend |
( |
const bool |
kLegend | ) |
|
void GeometryComparisonPlotter::SetLevelCut |
( |
const int |
kLevelCut | ) |
|
void GeometryComparisonPlotter::SetOutputDirectoryName |
( |
const TString |
name | ) |
|
void GeometryComparisonPlotter::SetOutputFileName |
( |
const TString |
name | ) |
|
void GeometryComparisonPlotter::SetPrint |
( |
const bool |
kPrint | ) |
|
void GeometryComparisonPlotter::SetPrintOption |
( |
const Option_t * |
print_option | ) |
|
void GeometryComparisonPlotter::SetWrite |
( |
const bool |
kWrite | ) |
|
bool GeometryComparisonPlotter::_1dModule |
|
private |
bool GeometryComparisonPlotter::_2dModule |
|
private |
TString GeometryComparisonPlotter::_alignment_name |
|
private |
bool GeometryComparisonPlotter::_batchMode |
|
private |
int GeometryComparisonPlotter::_grid_x |
|
private |
int GeometryComparisonPlotter::_grid_y |
|
private |
bool GeometryComparisonPlotter::_legend |
|
private |
int GeometryComparisonPlotter::_levelCut |
|
private |
map<TString, float> GeometryComparisonPlotter::_max |
|
private |
map<TString, float> GeometryComparisonPlotter::_min |
|
private |
TString GeometryComparisonPlotter::_module_plot_option |
|
private |
TString GeometryComparisonPlotter::_output_directory |
|
private |
TString GeometryComparisonPlotter::_output_filename |
|
private |
bool GeometryComparisonPlotter::_print |
|
private |
TString GeometryComparisonPlotter::_print_only_global |
|
private |
TString GeometryComparisonPlotter::_print_option |
|
private |
TString GeometryComparisonPlotter::_reference_name |
|
private |
map<TString, float> GeometryComparisonPlotter::_SF |
|
private |
TString GeometryComparisonPlotter::_sublevel_names[6] |
|
private |
map<TString, TString> GeometryComparisonPlotter::_units |
|
private |
int GeometryComparisonPlotter::_window_height |
|
private |
int GeometryComparisonPlotter::_window_width |
|
private |
bool GeometryComparisonPlotter::_write |
|
private |
map<TString, float> GeometryComparisonPlotter::branch_f |
|
private |
map<TString, int> GeometryComparisonPlotter::branch_i |
|
private |
int GeometryComparisonPlotter::canvas_index |
|
static |
TTree* GeometryComparisonPlotter::data |
|
private |
TFile* GeometryComparisonPlotter::output |
|
private |
TFile* GeometryComparisonPlotter::tree_file |
|
private |