Xephyr
0.0
|
This class is supposed to compare a "base" histo with a set of other histogram. One can choose for ratio plot, stack plot of different component, one can set the projected axis and the slice on which do the projection, one can also rebin the histo. the histo are supposed to be TH2F. More...
#include <XePdfObjects.h>
Public Member Functions | |
void | setBaseHisto (TH2F b, TString n="") |
set histo with wich one one to compare the rest | |
void | addHistoToList (TH2F h, TString n="") |
set the comparison histos | |
void | setNameofComponent (unsigned int i, TString n) |
set Name of component | |
void | compare () |
draw just a normal comparison plot | |
void | printModels () |
print model content in csv format | |
void | compareWithRatio () |
add a ratio plot to compare() | |
void | drawLegend (TH1D *baseH, vector< TH1D *> list) |
TString | projectionInfo () |
![]() | |
errorHandler (TString name) | |
void | Error (TString functionName, TString message) |
Send an Error message to the user. More... | |
void | Warning (TString functionName, TString message) |
Send a Warning message to the user. More... | |
void | Info (TString functionName, TString message) |
Send an Info message to the user. More... | |
void | Debug (TString functionName, TString message) |
Send a Debug message to the user. More... | |
void | setPrintLevel (int level) |
Set the local printing level (for this instance only) More... | |
int | getPrintLevel () |
Return the current print level for this instance. remind that if you set with setPrintLevel this will override the global print level. | |
Public Attributes | |
int | rebinX |
int | rebinY |
bool | projectionX |
double | projectionMin |
double | projectionMax |
int | binMin |
int | binMax |
bool | doStack |
TString | titleX |
TString | titleY |
TH2F | base |
vector< TString > | names |
vector< TH2F > | compareList |
TH1D * | projectedBase |
vector< TH1D * > | projectedList |
![]() | |
int | localPrintLevel |
TString | className |
Additional Inherited Members | |
![]() | |
static int | globalPrintLevel = 1 |
This class is supposed to compare a "base" histo with a set of other histogram. One can choose for ratio plot, stack plot of different component, one can set the projected axis and the slice on which do the projection, one can also rebin the histo. the histo are supposed to be TH2F.
int histoCompare::binMax |
same but in bin nuber
int histoCompare::binMin |
maximum value on the projected axis
double histoCompare::projectionMax |
minimum value on the projected axis
TString histoCompare::titleX |
True if you want to sum up histo in compareList