CorrelatedSpaceTH2 class that manages a 2D symmetrical correlated space stored in a TH2. More...
#include <CorrelatedSpaceTH2.h>
Public Types | |
enum | { kDefined, kUndefined } |
Public Member Functions | |
void | Adopt (TH2 *h2) |
Adopt TH2, do not delete the matrix when destroying CS ! More... | |
void | AssertHisto () |
Get tree. More... | |
virtual void | Browse (TBrowser *b) |
Browser method. More... | |
CorrelatedSpaceTH2 (const char *name=CorrelatedSpace::GetDefaultName(), const char *title="TH2", Option_t *type="float") | |
log message More... | |
void | Fill (const Double_t *Xn, const Double_t weight=1.) |
fill correlated space More... | |
void | FillFromH2 (TH2 *h2) |
fill correlated space from H2 More... | |
void | FillRandom (Int_t dimX, Int_t dimY) |
fill random More... | |
Double_t | GetCellContent (Int_t iCell) |
Get cell content. More... | |
Double_t | GetContent (Int_t i, Int_t j) |
Get content. More... | |
Int_t | GetDimension () const |
Get dimension. More... | |
virtual TH1D * | GetHisto (Option_t *axis="x") |
Get histo. More... | |
virtual TH1D * | GetHistoBkg (Option_t *axis="x") |
Get bkg histo. More... | |
const Char_t * | GetHistoName () const |
Get histo name. More... | |
const Char_t * | GetHistoTitle () const |
Get histo title. More... | |
virtual TH1D * | GetHistoTot (Option_t *axis="x") |
Get histo total projection. More... | |
virtual TH1D * | GetHistoTot (Option_t *axis="x") const |
Get histo total projection. More... | |
Int_t | GetNbin (Int_t axis) const |
Get bin. More... | |
Int_t | GetNofCells () |
Get number of cells. More... | |
void | Import (CorrelatedSpace *cs) |
Import another CS. More... | |
void | Project (CSFilter *filter, Option_t *axis="X") |
Project. More... | |
virtual void | Project (Option_t *axis, Option_t *gateName="Gate0") |
Project. More... | |
virtual void | SetBins (Int_t bin, Double_t min, Double_t max, Int_t axis=0) |
Set bin for each axis. More... | |
void | SetCellContent (Int_t iCell, Double_t weight) |
Set cell content. More... | |
void | SetDimension (Int_t dimension) |
Set dimension. More... | |
void | SetNofCells (Int_t nCells) |
Set number of cells. More... | |
virtual | ~CorrelatedSpaceTH2 () |
Static Public Member Functions | |
static TList * | GetCSList () |
Get correlated space lsit. More... | |
static const Char_t * | GetDefaultName () |
Get default name for CS. More... | |
static const TString | GetFolderName () |
Get folder name. More... | |
Protected Member Functions | |
virtual Int_t | GetAxisNumber (Option_t *name) const |
list of Correlated spaces More... | |
Protected Attributes | |
Bool_t | fAdopted |
Int_t | fDimension |
TH2 * | fHisto |
TList * | fHistoBkgList |
TList * | fHistoList |
TList * | fHistoTotList |
LogMessage | fLog |
Int_t | fNofCells |
Int_t | fStatus |
UChar_t | fType |
CorrelatedSpaceTH2 class that manages a 2D symmetrical correlated space stored in a TH2.
Suited for small space (typically a 4k matrix of float) and big number of events.
Definition at line 50 of file CorrelatedSpaceTH2.h.