Public Member Functions | |
TSHistogramFld (TString name) | |
void | Add (TObject *, TString, TString="") |
int | AddPolyBinContent (TH2Poly &, int bin, double w=1) |
TSHistogramFld * | Clone (TString name="") const |
void | AppendToAllNames (TString, TString sep="_") |
void | AppendToAllTitles (TString, TString sep=" ") |
void | Clear (Option_t *opt="") |
void | Copy (TSHistogramFld &) |
int | Fill (int N, TString *list, double *values) |
int | Fill (std::vector< TString > &, std::vector< double > &) |
int | Fill (TString vx, TString vy, double x, double y, double w=1, int opt=0) |
int | Fill (TString vx, double x, double w=1, int opt=0) |
int | FillPoly (TH2Poly *h, double x, double y, double w=1, int opt=1) |
int | FillHistosFromFile (TFile *, TString opt="") |
int | GetHistoDim (int) const |
TString | GetHistoName (int) const |
TString | GetHistoNameX (int) const |
TString | GetHistoNameY (int) const |
TList * | GetListOf (TString) const |
TObject * | GetObject (int) const |
float | GetOutliersFrac (TString, TString="") const |
TObject * | GetTagHisto (TString, TString="") const |
int | Import (TSHistogramFld &) |
bool | IsSumw2 () const |
void | Init () |
bool | IsTH1 (const TObject &) const |
bool | IsTH2 (const TObject &) const |
bool | IsTH2Poly (const TObject &) const |
void | PrependToAllNames (TString, TString sep="_") |
void | PrependToAllTitles (TString, TString sep=" ") |
void | ReplaceToAllTitles (TString) |
void | RenameAllWithBase (TString, TString sep="_") |
void | ResetHistos () |
void | SetSumw2 (bool=false) |
TSHistogramFld (TString name) | |
void | Add (TObject *, TString, TString="") |
int | AddPolyBinContent (TH2Poly &, int bin, double w=1) |
TSHistogramFld * | Clone (TString name="") const |
void | AppendToAllNames (TString, TString sep="_") |
void | AppendToAllTitles (TString, TString sep=" ") |
void | Clear (Option_t *opt="") |
void | Copy (TSHistogramFld &) |
int | Fill (int N, TString *list, double *values) |
int | Fill (std::vector< TString > &, std::vector< double > &) |
int | Fill (TString vx, TString vy, double x, double y, double w=1, int opt=0) |
int | Fill (TString vx, double x, double w=1, int opt=0) |
int | FillPoly (TH2Poly *h, double x, double y, double w=1, int opt=1) |
int | FillHistosFromFile (TFile *, TString opt="") |
int | GetHistoDim (int) const |
TString | GetHistoName (int) const |
TString | GetHistoNameX (int) const |
TString | GetHistoNameY (int) const |
TList * | GetListOf (TString) const |
TObject * | GetObject (int) const |
float | GetOutliersFrac (TString, TString="") const |
TObject * | GetTagHisto (TString, TString="") const |
int | Import (TSHistogramFld &) |
bool | IsSumw2 () const |
void | Init () |
bool | IsTH1 (const TObject &) const |
bool | IsTH2 (const TObject &) const |
bool | IsTH2Poly (const TObject &) const |
void | PrependToAllNames (TString, TString sep="_") |
void | PrependToAllTitles (TString, TString sep=" ") |
void | ReplaceToAllTitles (TString) |
void | RenameAllWithBase (TString, TString sep="_") |
void | ResetHistos () |
void | SetSumw2 (bool=false) |
int TSHistogramFld::Fill | ( | int | N, |
TString * | list, | ||
double * | values | ||
) |
To be Implemented
Referenced by Fill().
int TSHistogramFld::Fill | ( | TString | vx, |
TString | vy, | ||
double | x, | ||
double | y, | ||
double | w = 1 , |
||
int | opt = 0 |
||
) |
To be implemented
int TSHistogramFld::Fill | ( | TString | vx, |
double | x, | ||
double | w = 1 , |
||
int | opt = 0 |
||
) |
To be Implemented
References Fill().
int TSHistogramFld::FillPoly | ( | TH2Poly * | h, |
double | x, | ||
double | y, | ||
double | w = 1 , |
||
int | opt = 1 |
||
) |
Default option is opt==0 or opt==1: a loop is executed over all the bins, if the point (x,y) is inside the bin the bin content is incremented by w (default=1). In this way it is assured that two (or more) overlapping bins are both incremented if they both contains the point (x,y).
Option opt==0 used a modified version of IsInside that matched the same logic used in TSvariable to check if a value x is inside the range: [xmin,xmax : xmin <= x <xmax In TH2Poly in fact the point x is not considred inside is it is on the left margin of the intervals i.e. on the left sides of the bin rectangular. This couses discrepancies in the number of entries between the map bins represented via TH2Poly and the bins represented via TH1F/TH2F etc..
If opt==2 default TH2Poly::Fill is called which used the same IsInside method of option 1 and do not fill overlapping bins (only the first one)