Belle II Software development
|
class to summarize SVD quantities per sensor and side More...
#include <SVDSummaryPlots.h>
Public Types | |
enum | E_side { VIndex = 0 , UIndex = 1 } |
This enumeration assure the same semantic of the isU methods defined by Peter Kv. More... | |
Public Member Functions | |
SVDSummaryPlots () | |
Default constructor. | |
SVDSummaryPlots (TString name, TString title) | |
this is the default constructor | |
~SVDSummaryPlots () | |
clean everything in the destructor | |
TH2F * | getHistogram (int view) |
get a reference to the histogram for | |
float | getValue (const VxdID &vxdID, int view) |
get the value contained in the corresponding bin, given VxdID and view | |
float | getValue (int layer, int ladder, int sensor, int view) |
get the value contained in the corresponding bin, given | |
void | fill (int layer, int ladder, int sensor, int view, float value) |
fill the histogram for | |
void | fill (const VxdID &vxdID, int view, float value) |
fill the histogram for | |
void | setRunID (const TString &runID) |
set run ids in title | |
void | reset () |
Reset histograms. | |
void | setStats (bool stats=true) |
set histograms stat | |
void | fill (const VxdID &vxdID, bool isU, float value) |
fill the histogram for | |
void | customizeString (std::string &base, bool isU) |
replaces layer ladder sensor view and apv with the current numbers | |
void | setMinimum (Int_t value=0) |
set histogram minimum | |
void | setMaximum (Int_t value=0) |
set histogram maximum | |
TH2Poly * | getPoly (int view, int min=-1111, int max=-1111) |
Create the TH2Poly version of the plot. | |
void | clean () |
delete pointers | |
Private Member Functions | |
Int_t | findBinY (Int_t layer, Int_t sensor) |
find the Y bin given the layer and sensor number | |
void | customize (TH2F &histogram, int view) |
customize the histogram with the sensor, view | |
void | generateHistogramBins (TH2Poly *histogram) |
generate histogram bins | |
Int_t | findBinPoly (Int_t layer, Int_t ladder, Int_t sensor) |
find the poly-bin given the layer, ladder and sensor number | |
ClassDef (SVDSummaryPlots, 3) | |
needed by root | |
Private Attributes | |
TH2F * | m_histos [2] |
vector containing the U and V histograms | |
TH2Poly * | m_polyHistos [2] = {nullptr} |
vector containing the U and V poly-histograms | |
TH2F * | m_defaultHistogram = nullptr |
default histograms | |
TString | m_Title [2] |
Base title. | |
class to summarize SVD quantities per sensor and side
Definition at line 26 of file SVDSummaryPlots.h.
enum E_side |
This enumeration assure the same semantic of the isU methods defined by Peter Kv.
Definition at line 61 of file SVDSummaryPlots.h.
|
inline |
Default constructor.
Definition at line 30 of file SVDSummaryPlots.h.
|
inline |
this is the default constructor
name | histogram name |
title | histogram title |
Definition at line 37 of file SVDSummaryPlots.h.
|
inline |
|
inline |
delete pointers
Definition at line 246 of file SVDSummaryPlots.h.
|
inlineprivate |
customize the histogram with the sensor, view
Definition at line 280 of file SVDSummaryPlots.h.
|
inline |
replaces layer ladder sensor view and apv with the current numbers
Definition at line 170 of file SVDSummaryPlots.h.
|
inline |
fill the histogram for
vxdID | side |
isU | with |
value |
Definition at line 158 of file SVDSummaryPlots.h.
|
inline |
fill the histogram for
vxdID | |
view | with |
value |
Definition at line 117 of file SVDSummaryPlots.h.
|
inline |
fill the histogram for
layer | |
ladder | |
sensor | |
view | with |
value |
Definition at line 109 of file SVDSummaryPlots.h.
|
inlineprivate |
find the poly-bin given the layer, ladder and sensor number
Definition at line 359 of file SVDSummaryPlots.h.
|
inlineprivate |
find the Y bin given the layer and sensor number
Definition at line 256 of file SVDSummaryPlots.h.
|
inlineprivate |
generate histogram bins
Definition at line 316 of file SVDSummaryPlots.h.
|
inline |
get a reference to the histogram for
view | please, use the enumeration SVDSummaryPlots::Vindex and SVDSummaryPlots::UIndex |
Definition at line 66 of file SVDSummaryPlots.h.
|
inline |
Create the TH2Poly version of the plot.
Definition at line 198 of file SVDSummaryPlots.h.
|
inline |
get the value contained in the corresponding bin, given VxdID and view
Definition at line 81 of file SVDSummaryPlots.h.
|
inline |
get the value contained in the corresponding bin, given
layer | |
ladder | |
sensor | |
view |
Definition at line 96 of file SVDSummaryPlots.h.
|
inline |
Reset histograms.
Definition at line 142 of file SVDSummaryPlots.h.
|
inline |
set histogram maximum
value |
Definition at line 190 of file SVDSummaryPlots.h.
|
inline |
set histogram minimum
value |
Definition at line 181 of file SVDSummaryPlots.h.
|
inline |
set run ids in title
runID |
Definition at line 129 of file SVDSummaryPlots.h.
|
inline |
set histograms stat
stats |
Definition at line 151 of file SVDSummaryPlots.h.
|
private |
default histograms
Definition at line 275 of file SVDSummaryPlots.h.
|
private |
vector containing the U and V histograms
Definition at line 271 of file SVDSummaryPlots.h.
|
private |
vector containing the U and V poly-histograms
Definition at line 273 of file SVDSummaryPlots.h.
|
private |
Base title.
Definition at line 277 of file SVDSummaryPlots.h.