CorrelatedSpaceLightTree3 class that manages a 3D symmetrical correlated space stored in a tree Here we use a simple tree structure to store the 3 dimensionnal array in a short word (16 bits max size). More...
#include <CorrelatedSpaceLightTree3.h>
Public Types | |
enum | { kDefined, kUndefined } |
Public Member Functions | |
void | AssertTree () |
Get tree. More... | |
virtual void | Browse (TBrowser *b) |
Browser method. More... | |
CorrelatedSpaceLightTree3 (const char *name=CorrelatedSpace::GetDefaultName(), const char *title="Tree") | |
void | DeleteTree (Option_t *opt="") |
Reset Tree. More... | |
void | Fill (const Double_t *Xn, const Double_t weight=1.) |
Check if h3 already in tree. More... | |
void | FillFromH3 (TH3 *h3) |
fill correlated space from H3 More... | |
void | FillRandom (TH1 *h1, Int_t nEvents) |
fill random More... | |
const Char_t * | GetBranchName () |
Get branch name. More... | |
Double_t | GetCellContent (Int_t iCell) |
Get cell 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... | |
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... | |
const Char_t * | GetTreeName () const |
Get Tree name. More... | |
const Char_t * | GetTreeTitle () const |
Get Tree title. 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 TBranch * | SetAddress () |
Set address. More... | |
virtual void | SetBins (Int_t bin, Double_t min, Double_t max, Int_t axis=0) |
Set bin for each axis. More... | |
virtual void | SetBranch () |
Set Branch. More... | |
void | SetBranchName (TString name="cube") |
Set branch name. 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 | ~CorrelatedSpaceLightTree3 () |
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... | |
void | ProjectCombined (CSFilter *filter, Int_t idx) |
void | ProjectSimple (CSFilter *filter, Int_t idx) |
log message More... | |
Protected Attributes | |
TString | fBranchName |
tree that contains the matrix More... | |
Int_t | fDimension |
TList * | fHistoBkgList |
TList * | fHistoList |
TList * | fHistoTotList |
LogMessage | fLog |
array to store axis More... | |
Int_t | fNofCells |
Int_t | fStatus |
TTree * | fTree |
Short_t | fX [3] |
CorrelatedSpaceLightTree3 class that manages a 3D symmetrical correlated space stored in a tree Here we use a simple tree structure to store the 3 dimensionnal array in a short word (16 bits max size).
This space is suited for large dimension of axis up tp 16k, but with maximum number of events around 1 million. Otherwise the performance starts to decreasse.
Definition at line 57 of file CorrelatedSpaceLightTree3.h.