GammaWare  Head Version for release 0.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Gw::CorrelatedSpaceTree2F Class Reference

CorrelatedSpaceTree2F class that manages a 2D symmetrical correlated space of floats store in a tree. More...

#include <CorrelatedSpaceTree2F.h>

Inheritance diagram for Gw::CorrelatedSpaceTree2F:

Public Types

enum  { kDefined, kUndefined }
 

Public Member Functions

void AssertTree ()
 Get tree. More...
 
virtual void Browse (TBrowser *b)
 Browser method. More...
 
void CheckH2InTree (TH2 *h2)
 Check if h2 already in tree. More...
 
 CorrelatedSpaceTree2F ()
 nb of counts for a given x,y More...
 
void DeleteTree (Option_t *opt="")
 Reset Tree. More...
 
void Fill (const Double_t *Xn, const Double_t weight=1.)
 fill correlated space More...
 
void FillCounts (Int_t i, Int_t j, TH2 *h2)
 fill counts More...
 
void FillCounts (Int_t i, Int_t j, Int_t dimX, const Double_t *Xn, const Double_t weight=1.)
 fill counts from vector More...
 
void FillCounts (Int_t j)
 fill counts random More...
 
void FillFromH2 (TH2 *h2)
 fill correlated space from H2 More...
 
void FillHisto (Int_t j, TH1 *h)
 Fill histo. More...
 
void FillRandom (Int_t dim)
 fill random More...
 
const Char_t * GetBranchName ()
 Get branch name. More...
 
Double_t GetCellContent (Int_t iCell)
 Get cell content. More...
 
Double_t GetContent (Int_t i, Int_t j)
 Get content. More...
 
Double_t GetCounts ()
 Get counts. 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...
 
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...
 
void SetBranch ()
 Set branch. More...
 
void SetBranchName (TString name="mat1")
 Set branch name. More...
 
void SetCellContent (Int_t iCell, Double_t weight)
 Set cell content. More...
 
void SetCounts (Double_t weight)
 Set counts. More...
 
void SetDimension (Int_t dimension)
 Set dimension. More...
 
void SetNofCells (Int_t nCells)
 Set number of cells. More...
 
virtual ~CorrelatedSpaceTree2F ()
 

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

TString fBranchName
 tree that contains the matrix More...
 
Float_t fCounts
 
Int_t fDimension
 
TList * fHistoBkgList
 
TList * fHistoList
 
TList * fHistoTotList
 
LogMessage fLog
 
Int_t fNofCells
 
Int_t fStatus
 
TTree * fTree
 

Detailed Description

CorrelatedSpaceTree2F class that manages a 2D symmetrical correlated space of floats store in a tree.

Definition at line 40 of file CorrelatedSpaceTree2F.h.


The documentation for this class was generated from the following files: