![]() |
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 | 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 | |
ClassDef (SVDSummaryPlots, 2) | |
needed by root | |
Private Attributes | |
TH2F * | m_histos [2] |
vector containing the U and V 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 23 of file SVDSummaryPlots.h.
enum E_side |
This enumeration assure the same semantic of the isU methods defined by Peter Kv.
Definition at line 58 of file SVDSummaryPlots.h.
|
inline |
Default constructor.
Definition at line 27 of file SVDSummaryPlots.h.
|
inline |
this is the default constructor
name | histogram name |
title | histogram title |
Definition at line 34 of file SVDSummaryPlots.h.
|
inline |
|
inline |
delete pointers
Definition at line 177 of file SVDSummaryPlots.h.
|
inlineprivate |
customize the histogram with the sensor, view
Definition at line 209 of file SVDSummaryPlots.h.
|
inline |
replaces layer ladder sensor view and apv with the current numbers
Definition at line 168 of file SVDSummaryPlots.h.
|
inline |
fill the histogram for
vxdID | side |
isU | with |
value |
Definition at line 156 of file SVDSummaryPlots.h.
|
inline |
fill the histogram for
vxdID | |
view | with |
value |
Definition at line 115 of file SVDSummaryPlots.h.
|
inline |
fill the histogram for
layer | |
ladder | |
sensor | |
view | with |
value |
Definition at line 107 of file SVDSummaryPlots.h.
|
inlineprivate |
find the Y bin given the layer and sensor number
Definition at line 187 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 63 of file SVDSummaryPlots.h.
|
inline |
get the value contained in the corresponding bin, given VxdID and view
Definition at line 78 of file SVDSummaryPlots.h.
|
inline |
get the value contained in the corresponding bin, given
layer | |
ladder | |
sensor | |
view |
Definition at line 94 of file SVDSummaryPlots.h.
|
inline |
Reset histograms.
Definition at line 140 of file SVDSummaryPlots.h.
|
inline |
set run ids in title
runID |
Definition at line 127 of file SVDSummaryPlots.h.
|
inline |
set histograms stat
stats |
Definition at line 149 of file SVDSummaryPlots.h.
|
private |
default histograms
Definition at line 204 of file SVDSummaryPlots.h.
|
private |
vector containing the U and V histograms
Definition at line 202 of file SVDSummaryPlots.h.
|
private |
Base title.
Definition at line 206 of file SVDSummaryPlots.h.