THnSparse Class Reference

#include <THnSparse.h>

Inheritance diagram for THnSparse:

TNamed TNamed TObject TObject TObject TObject THnSparseT< CONT > THnSparseT< CONT > List of all members.

Public Member Functions

virtual ~THnSparse ()
Int_t GetNChunks () const
TObjArrayGetListOfAxes ()
TAxisGetAxis (Int_t dim) const
Long64_t Fill (const Double_t *x, Double_t w=1.)
Long64_t Fill (const char *name[], Double_t w=1.)
TFitResultPtr Fit (TF1 *f1, Option_t *option="", Option_t *goption="")
TListGetListOfFunctions ()
Double_t GetEntries () const
Double_t GetWeightSum () const
Long64_t GetNbins () const
Int_t GetNdimensions () const
Bool_t GetCalculateErrors () const
void CalculateErrors (Bool_t calc=kTRUE)
Long64_t GetBin (const Int_t *idx, Bool_t allocate=kTRUE)
Long64_t GetBin (const Double_t *x, Bool_t allocate=kTRUE)
Long64_t GetBin (const char *name[], Bool_t allocate=kTRUE)
void SetBinEdges (Int_t idim, const Double_t *bins)
void SetBinContent (const Int_t *x, Double_t v)
void SetBinContent (Long64_t bin, Double_t v)
void SetBinError (const Int_t *x, Double_t e)
void SetBinError (Long64_t bin, Double_t e)
void AddBinContent (const Int_t *x, Double_t v=1.)
void AddBinContent (Long64_t bin, Double_t v=1.)
void SetEntries (Double_t entries)
void SetTitle (const char *title)
Double_t GetBinContent (const Int_t *idx) const
Double_t GetBinContent (Long64_t bin, Int_t *idx=0) const
Double_t GetBinError (const Int_t *idx) const
Double_t GetBinError (Long64_t linidx) const
Double_t GetSparseFractionBins () const
Double_t GetSparseFractionMem () const
Double_t GetSumw () const
Double_t GetSumw2 () const
Double_t GetSumwx (Int_t dim) const
Double_t GetSumwx2 (Int_t dim) const
TH1DProjection (Int_t xDim, Option_t *option="") const
TH2DProjection (Int_t yDim, Int_t xDim, Option_t *option="") const
TH3DProjection (Int_t xDim, Int_t yDim, Int_t zDim, Option_t *option="") const
THnSparseProjection (Int_t ndim, const Int_t *dim, Option_t *option="") const
THnSparseRebin (Int_t group) const
THnSparseRebin (const Int_t *group) const
Long64_t Merge (TCollection *list)
void Scale (Double_t c)
void Add (const THnSparse *h, Double_t c=1.)
void Multiply (const THnSparse *h)
void Multiply (TF1 *f, Double_t c=1.)
void Divide (const THnSparse *h)
void Divide (const THnSparse *h1, const THnSparse *h2, Double_t c1=1., Double_t c2=1., Option_t *option="")
void RebinnedAdd (const THnSparse *h, Double_t c=1.)
void Reset (Option_t *option="")
void Sumw2 ()
Double_t ComputeIntegral ()
void GetRandom (Double_t *rand, Bool_t subBinRandom=kTRUE)
void Print (Option_t *option="") const
void PrintEntries (Long64_t from=0, Long64_t howmany=-1, Option_t *options=0) const
void PrintBin (Int_t *coord, Option_t *options) const
void PrintBin (Long64_t idx, Option_t *options) const
 ClassDef (THnSparse, 2)
virtual ~THnSparse ()
Int_t GetNChunks () const
TObjArrayGetListOfAxes ()
TAxisGetAxis (Int_t dim) const
Long64_t Fill (const Double_t *x, Double_t w=1.)
Long64_t Fill (const char *name[], Double_t w=1.)
TFitResultPtr Fit (TF1 *f1, Option_t *option="", Option_t *goption="")
TListGetListOfFunctions ()
Double_t GetEntries () const
Double_t GetWeightSum () const
Long64_t GetNbins () const
Int_t GetNdimensions () const
Bool_t GetCalculateErrors () const
void CalculateErrors (Bool_t calc=kTRUE)
Long64_t GetBin (const Int_t *idx, Bool_t allocate=kTRUE)
Long64_t GetBin (const Double_t *x, Bool_t allocate=kTRUE)
Long64_t GetBin (const char *name[], Bool_t allocate=kTRUE)
void SetBinEdges (Int_t idim, const Double_t *bins)
void SetBinContent (const Int_t *x, Double_t v)
void SetBinContent (Long64_t bin, Double_t v)
void SetBinError (const Int_t *x, Double_t e)
void SetBinError (Long64_t bin, Double_t e)
void AddBinContent (const Int_t *x, Double_t v=1.)
void AddBinContent (Long64_t bin, Double_t v=1.)
void SetEntries (Double_t entries)
void SetTitle (const char *title)
Double_t GetBinContent (const Int_t *idx) const
Double_t GetBinContent (Long64_t bin, Int_t *idx=0) const
Double_t GetBinError (const Int_t *idx) const
Double_t GetBinError (Long64_t linidx) const
Double_t GetSparseFractionBins () const
Double_t GetSparseFractionMem () const
Double_t GetSumw () const
Double_t GetSumw2 () const
Double_t GetSumwx (Int_t dim) const
Double_t GetSumwx2 (Int_t dim) const
TH1DProjection (Int_t xDim, Option_t *option="") const
TH2DProjection (Int_t yDim, Int_t xDim, Option_t *option="") const
TH3DProjection (Int_t xDim, Int_t yDim, Int_t zDim, Option_t *option="") const
THnSparseProjection (Int_t ndim, const Int_t *dim, Option_t *option="") const
THnSparseRebin (Int_t group) const
THnSparseRebin (const Int_t *group) const
Long64_t Merge (TCollection *list)
void Scale (Double_t c)
void Add (const THnSparse *h, Double_t c=1.)
void Multiply (const THnSparse *h)
void Multiply (TF1 *f, Double_t c=1.)
void Divide (const THnSparse *h)
void Divide (const THnSparse *h1, const THnSparse *h2, Double_t c1=1., Double_t c2=1., Option_t *option="")
void RebinnedAdd (const THnSparse *h, Double_t c=1.)
void Reset (Option_t *option="")
void Sumw2 ()
Double_t ComputeIntegral ()
void GetRandom (Double_t *rand, Bool_t subBinRandom=kTRUE)
void Print (Option_t *option="") const
void PrintEntries (Long64_t from=0, Long64_t howmany=-1, Option_t *options=0) const
void PrintBin (Int_t *coord, Option_t *options) const
void PrintBin (Long64_t idx, Option_t *options) const
 ClassDef (THnSparse, 2)

Static Public Member Functions

static THnSparseCreateSparse (const char *name, const char *title, const TH1 *h1, Int_t ChunkSize=1024 *16)
static THnSparseCreateSparse (const char *name, const char *title, const TH1 *h1, Int_t ChunkSize=1024 *16)

Protected Member Functions

 THnSparse ()
 THnSparse (const char *name, const char *title, Int_t dim, const Int_t *nbins, const Double_t *xmin, const Double_t *xmax, Int_t chunksize)
Int_t GetChunkSize () const
THnSparseCompactBinCoordGetCompactCoord () const
THnSparseArrayChunkGetChunk (Int_t idx) const
THnSparseArrayChunkAddChunk ()
void FillExMap ()
virtual TArrayGenerateArray () const=0
Long64_t GetBinIndexForCurrentBin (Bool_t allocate)
Long64_t Fill (Long64_t bin, Double_t w)
THnSparseCloneEmpty (const char *name, const char *title, const TObjArray *axes, Int_t chunksize, Bool_t keepTargetAxis) const
Bool_t CheckConsistency (const THnSparse *h, const char *tag) const
Bool_t IsInRange (Int_t *coord) const
TH1CreateHist (const char *name, const char *title, const TObjArray *axes, Bool_t keepTargetAxis) const
TObjectProjectionAny (Int_t ndim, const Int_t *dim, Bool_t wantSparse, Option_t *option="") const
Bool_t PrintBin (Long64_t idx, Int_t *coord, Option_t *options) const
void AddInternal (const THnSparse *h, Double_t c, Bool_t rebinned)
 THnSparse ()
 THnSparse (const char *name, const char *title, Int_t dim, const Int_t *nbins, const Double_t *xmin, const Double_t *xmax, Int_t chunksize)
Int_t GetChunkSize () const
THnSparseCompactBinCoordGetCompactCoord () const
THnSparseArrayChunkGetChunk (Int_t idx) const
THnSparseArrayChunkAddChunk ()
void FillExMap ()
virtual TArrayGenerateArray () const=0
Long64_t GetBinIndexForCurrentBin (Bool_t allocate)
Long64_t Fill (Long64_t bin, Double_t w)
THnSparseCloneEmpty (const char *name, const char *title, const TObjArray *axes, Int_t chunksize, Bool_t keepTargetAxis) const
Bool_t CheckConsistency (const THnSparse *h, const char *tag) const
Bool_t IsInRange (Int_t *coord) const
TH1CreateHist (const char *name, const char *title, const TObjArray *axes, Bool_t keepTargetAxis) const
TObjectProjectionAny (Int_t ndim, const Int_t *dim, Bool_t wantSparse, Option_t *option="") const
Bool_t PrintBin (Long64_t idx, Int_t *coord, Option_t *options) const
void AddInternal (const THnSparse *h, Double_t c, Bool_t rebinned)

Private Types

enum  
 array with bin weight sums More...
enum  
 array with bin weight sums More...

Private Member Functions

 THnSparse (const THnSparse &)
 status of integral
THnSparseoperator= (const THnSparse &)
 THnSparse (const THnSparse &)
 status of integral
THnSparseoperator= (const THnSparse &)

Private Attributes

Int_t fNdimensions
Int_t fChunkSize
Long64_t fFilledBins
TObjArray fAxes
TObjArray fBinContent
TExMap fBins
TExMap fBinsContinued
 filled bins
Double_t fEntries
 filled bins for non-unique hashes, containing pairs of (bin index 0, bin index 1)
Double_t fTsumw
Double_t fTsumw2
TArrayD fTsumwx
TArrayD fTsumwx2
THnSparseCompactBinCoordfCompactCoord
Double_tfIntegral
 compact coordinate
enum THnSparse:: { ... }  fIntegralStatus
 array with bin weight sums
THnSparseCompactBinCoordfCompactCoord
Double_tfIntegral
 compact coordinate
enum THnSparse:: { ... }  fIntegralStatus
 array with bin weight sums

Detailed Description

Definition at line 105 of file THnSparse.h.


Member Enumeration Documentation

anonymous enum [private]

array with bin weight sums

Definition at line 121 of file THnSparse.h.

anonymous enum [private]

array with bin weight sums

Definition at line 121 of file THnSparse.h.


Constructor & Destructor Documentation

THnSparse::THnSparse ( const THnSparse  )  [private]

status of integral

THnSparse::THnSparse (  )  [protected]

Definition at line 493 of file THnSparse.cxx.

References fBinContent, and TCollection::SetOwner().

THnSparse::THnSparse ( const char *  name,
const char *  title,
Int_t  dim,
const Int_t nbins,
const Double_t xmin,
const Double_t xmax,
Int_t  chunksize 
) [protected]

Definition at line 502 of file THnSparse.cxx.

References TObjArray::AddAtAndExpand(), axis, fAxes, fBinContent, fCompactCoord, fNdimensions, i, TCollection::SetOwner(), and SetTitle().

THnSparse::~THnSparse (  )  [virtual]

Definition at line 528 of file THnSparse.cxx.

References fCompactCoord, fIntegral, fIntegralStatus, and kNoInt.

THnSparse::THnSparse ( const THnSparse  )  [private]

status of integral

THnSparse::THnSparse (  )  [protected]

THnSparse::THnSparse ( const char *  name,
const char *  title,
Int_t  dim,
const Int_t nbins,
const Double_t xmin,
const Double_t xmax,
Int_t  chunksize 
) [protected]

virtual THnSparse::~THnSparse (  )  [virtual]


Member Function Documentation

THnSparse& THnSparse::operator= ( const THnSparse  )  [private]

Int_t THnSparse::GetChunkSize (  )  const [inline, protected]

Definition at line 136 of file THnSparse.h.

References fChunkSize.

Referenced by THnSparseT< CONT >::GenerateArray(), GetSparseFractionMem(), and Print().

THnSparseCompactBinCoord * THnSparse::GetCompactCoord (  )  const [protected]

Definition at line 980 of file THnSparse.cxx.

References d, fCompactCoord, fNdimensions, GetAxis(), and GetNbins().

Referenced by AddBinContent(), AddChunk(), FillExMap(), GetBin(), GetBinContent(), GetBinError(), GetBinIndexForCurrentBin(), GetSparseFractionMem(), SetBinContent(), and SetBinError().

THnSparseArrayChunk* THnSparse::GetChunk ( Int_t  idx  )  const [inline, protected]

Definition at line 138 of file THnSparse.h.

References fBinContent.

Referenced by AddBinContent(), Fill(), GetBinContent(), GetBinError(), GetBinIndexForCurrentBin(), GetSparseFractionMem(), SetBinContent(), and SetBinError().

THnSparseArrayChunk * THnSparse::AddChunk (  )  [protected]

Definition at line 557 of file THnSparse.cxx.

References TObjArray::AddLast(), chunk, fBinContent, GenerateArray(), GetCalculateErrors(), and GetCompactCoord().

Referenced by GetBinIndexForCurrentBin().

void THnSparse::FillExMap (  )  [protected]

Definition at line 738 of file THnSparse.cxx.

References TExMap::Add(), buf, TExMap::Capacity(), chunk, TExMap::Expand(), fBinContent, fBins, fBinsContinued, GetCompactCoord(), THnSparseCoordCompression::GetHashFromBuffer(), GetNbins(), TExMap::GetValue(), hash, and Long64_t.

Referenced by AddInternal(), GetBinIndexForCurrentBin(), and Merge().

virtual TArray* THnSparse::GenerateArray (  )  const [protected, pure virtual]

Referenced by AddChunk().

Long64_t THnSparse::GetBinIndexForCurrentBin ( Bool_t  allocate  )  [protected]

Definition at line 930 of file THnSparse.cxx.

References TExMap::Add(), AddChunk(), TExMap::Capacity(), chunk, TExMap::Expand(), fBinContent, fBins, fBinsContinued, fChunkSize, fFilledBins, FillExMap(), THnSparseCompactBinCoord::GetBuffer(), GetChunk(), GetCompactCoord(), TObjArray::GetEntriesFast(), THnSparseCompactBinCoord::GetHash(), GetNbins(), TExMap::GetSize(), TCollection::GetSize(), TExMap::GetValue(), hash, TObjArray::Last(), and Long64_t.

Referenced by AddBinContent(), GetBin(), GetBinContent(), GetBinError(), SetBinContent(), and SetBinError().

Long64_t THnSparse::Fill ( Long64_t  bin,
Double_t  w 
) [inline, protected]

Definition at line 145 of file THnSparse.h.

References chunk, fChunkSize, fEntries, fIntegralStatus, fTsumw, fTsumw2, GetCalculateErrors(), GetChunk(), and kInvalidInt.

Referenced by ProjectionTester::buildHistograms(), ProjectionTester::buildHistogramsWithWeights(), RooStats::MCMCInterval::CreateSparseHist(), drawsparse(), TTimeHists::Fill(), Fill(), RooStats::MarkovChain::GetAsSparseHist(), testAddSparse(), testDivSparse1(), testDivSparse2(), testMergeSparse(), and testMulSparse().

THnSparse * THnSparse::CloneEmpty ( const char *  name,
const char *  title,
const TObjArray axes,
Int_t  chunksize,
Bool_t  keepTargetAxis 
) const [protected]

Definition at line 568 of file THnSparse.cxx.

References TObjArray::AddAtAndExpand(), axes(), axis, TNamed::Clone(), fAxes, fChunkSize, fCompactCoord, fNdimensions, TAxis::GetNbins(), TAxis::kAxisRange, nbins, TObject::ResetBit(), TAxis::Set(), TNamed::SetNameTitle(), and TCollection::SetOwner().

Referenced by ProjectionAny(), and Rebin().

Bool_t THnSparse::CheckConsistency ( const THnSparse h,
const char *  tag 
) const [protected]

Definition at line 1697 of file THnSparse.cxx.

References fNdimensions, GetAxis(), GetNbins(), h, kFALSE, kTRUE, and TObject::Warning().

Referenced by Add(), Divide(), and Multiply().

Bool_t THnSparse::IsInRange ( Int_t coord  )  const [protected]

Definition at line 1075 of file THnSparse.cxx.

References axis, fNdimensions, GetAxis(), i, TAxis::kAxisRange, kFALSE, kTRUE, max, and min.

Referenced by ProjectionAny().

TH1 * THnSparse::CreateHist ( const char *  name,
const char *  title,
const TObjArray axes,
Bool_t  keepTargetAxis 
) const [protected]

Definition at line 614 of file THnSparse.cxx.

References axes(), d, TObject::Error(), hist, TAxis::kAxisRange, TAxis::Set(), and TNamed::SetTitle().

Referenced by ProjectionAny().

TObject * THnSparse::ProjectionAny ( Int_t  ndim,
const Int_t dim,
Bool_t  wantSparse,
Option_t option = "" 
) const [protected]

Definition at line 1170 of file THnSparse.cxx.

References TObjArray::AddAt(), AddBinContent(), axis, CloneEmpty(), CreateHist(), d, fChunkSize, fEntries, fNdimensions, GetAxis(), GetBinContent(), GetBinError(), GetCalculateErrors(), TNamed::GetName(), GetNbins(), TNamed::GetTitle(), hist, i, IsInRange(), TAxis::kAxisRange, kFALSE, kNPOS, Long64_t, name, SetBinError(), TObject::SetBit(), SetEntries(), TAxis::SetRange(), TMath::Sqrt(), TObject::TestBit(), and title.

Referenced by Projection().

Bool_t THnSparse::PrintBin ( Long64_t  idx,
Int_t coord,
Option_t options 
) const [protected]

Definition at line 2010 of file THnSparse.cxx.

References fNdimensions, GetBin(), GetBinContent(), GetBinError(), GetCalculateErrors(), kFALSE, kTRUE, and Printf().

Referenced by PrintBin(), and PrintEntries().

void THnSparse::AddInternal ( const THnSparse h,
Double_t  c,
Bool_t  rebinned 
) [protected]

Definition at line 1340 of file THnSparse.cxx.

References AddBinContent(), TExMap::Capacity(), TExMap::Expand(), fBinContent, fBins, FillExMap(), fNdimensions, GetBin(), GetBinError(), GetCalculateErrors(), GetEntries(), GetNbins(), TExMap::GetSize(), TCollection::GetSize(), h, i, j, Long64_t, SetBinError(), SetEntries(), TMath::Sqrt(), Sumw2(), TObject::Warning(), and x.

Referenced by Add(), and RebinnedAdd().

THnSparse * THnSparse::CreateSparse ( const char *  name,
const char *  title,
const TH1 h1,
Int_t  ChunkSize = 1024 *16 
) [static]

Definition at line 669 of file THnSparse.cxx.

References array, axis, error, GetNbins(), TNamed::GetTitle(), h, i, maxRange, minRange, nbins, s, value, TObject::Warning(), and x.

Referenced by G__G__Hist_101_0_20(), G__setup_memfuncTHnSparse(), test1DObjects(), test2DObjects(), testBinDataData1D(), testBinDataData1DInt(), testBinDataData2D(), testBinDataData2DInt(), testBinDataData3D(), testBinDataData3DInt(), testConversion1D(), testConversion2D(), testConversion3D(), testSparseData1DFull(), testSparseData1DSparse(), testSparseData2DFull(), testSparseData2DSparse(), testSparseData3DFull(), and testSparseData3DSparse().

Int_t THnSparse::GetNChunks (  )  const [inline]

Definition at line 177 of file THnSparse.h.

References fBinContent, and TObjArray::GetEntriesFast().

Referenced by Print().

TObjArray* THnSparse::GetListOfAxes (  )  [inline]

Definition at line 178 of file THnSparse.h.

References fAxes.

TAxis* THnSparse::GetAxis ( Int_t  dim  )  const [inline]

Definition at line 179 of file THnSparse.h.

References fAxes.

Referenced by ProjectionTester::buildHistograms(), CheckConsistency(), ComputeIntegral(), Fit(), GetBin(), GetCompactCoord(), GetRandom(), GetSparseFractionBins(), GetSparseFractionMem(), IsInRange(), RooStats::MCMCInterval::LowerLimitBySparseHist(), Multiply(), Print(), PrintEntries(), ProjectionAny(), Rebin(), SetTitle(), and RooStats::MCMCInterval::UpperLimitBySparseHist().

Long64_t THnSparse::Fill ( const Double_t x,
Double_t  w = 1. 
) [inline]

Definition at line 181 of file THnSparse.h.

References d, Fill(), fNdimensions, fTsumwx, fTsumwx2, GetBin(), GetCalculateErrors(), and w.

Long64_t THnSparse::Fill ( const char *  name[],
Double_t  w = 1. 
) [inline]

Definition at line 191 of file THnSparse.h.

References Fill(), GetBin(), and w.

TFitResultPtr THnSparse::Fit ( TF1 f1,
Option_t option = "",
Option_t goption = "" 
)

Definition at line 771 of file THnSparse.cxx.

References axis, Foption_t::Chi2, ROOT::Fit::FitObject(), TH1::FitOptionsMake(), GetAxis(), GetNdimensions(), i, Foption_t::Like, and Foption_t::Nostore.

TList* THnSparse::GetListOfFunctions (  )  [inline]

Definition at line 196 of file THnSparse.h.

Double_t THnSparse::GetEntries (  )  const [inline]

Definition at line 198 of file THnSparse.h.

References fEntries.

Referenced by AddInternal(), Merge(), Multiply(), Print(), and Scale().

Double_t THnSparse::GetWeightSum (  )  const [inline]

Definition at line 199 of file THnSparse.h.

References fTsumw.

Long64_t THnSparse::GetNbins (  )  const [inline]

Definition at line 200 of file THnSparse.h.

References fFilledBins.

Referenced by AddInternal(), TTimeHists::Check(), CheckConsistency(), ComputeIntegral(), CreateSparse(), RooStats::MCMCInterval::DetermineBySparseHist(), Divide(), FillExMap(), GetBinIndexForCurrentBin(), GetCompactCoord(), GetRandom(), GetSparseFractionBins(), GetSparseFractionMem(), RooStats::MCMCInterval::LowerLimitBySparseHist(), Merge(), Multiply(), Print(), PrintEntries(), ProjectionAny(), Rebin(), Scale(), testDivSparse1(), testDivSparse2(), testMulSparse(), and RooStats::MCMCInterval::UpperLimitBySparseHist().

Int_t THnSparse::GetNdimensions (  )  const [inline]

Definition at line 201 of file THnSparse.h.

References fNdimensions.

Referenced by Fit(), GetRandom(), Print(), and Rebin().

Bool_t THnSparse::GetCalculateErrors (  )  const [inline]

Definition at line 202 of file THnSparse.h.

References fTsumw2.

Referenced by AddChunk(), AddInternal(), Divide(), Fill(), GetBinError(), Multiply(), Print(), PrintBin(), ProjectionAny(), Rebin(), Scale(), SetBinError(), and Sumw2().

void THnSparse::CalculateErrors ( Bool_t  calc = kTRUE  )  [inline]

Definition at line 203 of file THnSparse.h.

References fTsumw2, and Sumw2().

Long64_t THnSparse::GetBin ( const Int_t idx,
Bool_t  allocate = kTRUE 
)

Definition at line 845 of file THnSparse.cxx.

References GetBinIndexForCurrentBin(), GetCompactCoord(), and THnSparseCompactBinCoord::SetCoord().

Referenced by AddInternal(), Fill(), RooStats::MCMCInterval::IsInInterval(), and PrintBin().

Long64_t THnSparse::GetBin ( const Double_t x,
Bool_t  allocate = kTRUE 
)

Definition at line 814 of file THnSparse.cxx.

References fNdimensions, GetAxis(), GetBinIndexForCurrentBin(), GetCompactCoord(), THnSparseCompactBinCoord::GetCoord(), i, and THnSparseCompactBinCoord::UpdateCoord().

Long64_t THnSparse::GetBin ( const char *  name[],
Bool_t  allocate = kTRUE 
)

Definition at line 830 of file THnSparse.cxx.

References fNdimensions, GetAxis(), GetBinIndexForCurrentBin(), GetCompactCoord(), THnSparseCompactBinCoord::GetCoord(), i, and THnSparseCompactBinCoord::UpdateCoord().

void THnSparse::SetBinEdges ( Int_t  idim,
const Double_t bins 
)

Definition at line 1715 of file THnSparse.cxx.

References axis, and fAxes.

void THnSparse::SetBinContent ( const Int_t x,
Double_t  v 
)

Definition at line 1724 of file THnSparse.cxx.

References GetBinIndexForCurrentBin(), GetCompactCoord(), kTRUE, and THnSparseCompactBinCoord::SetCoord().

Referenced by Divide(), Multiply(), Scale(), and testMulSparse().

void THnSparse::SetBinContent ( Long64_t  bin,
Double_t  v 
)

Definition at line 1734 of file THnSparse.cxx.

References chunk, fChunkSize, fEntries, and GetChunk().

void THnSparse::SetBinError ( const Int_t x,
Double_t  e 
)

Definition at line 1744 of file THnSparse.cxx.

References GetBinIndexForCurrentBin(), GetCompactCoord(), kTRUE, and THnSparseCompactBinCoord::SetCoord().

Referenced by AddInternal(), Divide(), Multiply(), ProjectionAny(), Scale(), testDivSparse1(), and testDivSparse2().

void THnSparse::SetBinError ( Long64_t  bin,
Double_t  e 
)

Definition at line 1754 of file THnSparse.cxx.

References chunk, TObject::Error(), fChunkSize, GetCalculateErrors(), GetChunk(), and Sumw2().

void THnSparse::AddBinContent ( const Int_t x,
Double_t  v = 1. 
)

Definition at line 536 of file THnSparse.cxx.

References GetBinIndexForCurrentBin(), GetCompactCoord(), kTRUE, Long64_t, and THnSparseCompactBinCoord::SetCoord().

Referenced by AddInternal(), and ProjectionAny().

void THnSparse::AddBinContent ( Long64_t  bin,
Double_t  v = 1. 
)

Definition at line 546 of file THnSparse.cxx.

References chunk, fChunkSize, and GetChunk().

void THnSparse::SetEntries ( Double_t  entries  )  [inline]

Definition at line 220 of file THnSparse.h.

References fEntries.

Referenced by AddInternal(), Divide(), Multiply(), ProjectionAny(), and Scale().

void THnSparse::SetTitle ( const char *  title  )  [virtual]

Reimplemented from TNamed.

Definition at line 1801 of file THnSparse.cxx.

References TString::First(), fNdimensions, TNamed::fTitle, GetAxis(), TString::Index(), TString::Length(), TString::Remove(), TString::ReplaceAll(), and TNamed::SetTitle().

Referenced by THnSparse().

Double_t THnSparse::GetBinContent ( const Int_t idx  )  const

Definition at line 854 of file THnSparse.cxx.

References chunk, fChunkSize, GetBinIndexForCurrentBin(), GetChunk(), GetCompactCoord(), kFALSE, Long64_t, and THnSparseCompactBinCoord::SetCoord().

Referenced by TTimeHists::Check(), ComputeIntegral(), RooStats::MCMCInterval::DetermineBySparseHist(), Divide(), GetBinError(), GetRandom(), RooStats::MCMCInterval::IsInInterval(), RooStats::MCMCInterval::LowerLimitBySparseHist(), Multiply(), PrintBin(), ProjectionAny(), Rebin(), Scale(), testDivSparse1(), testDivSparse2(), testMulSparse(), and RooStats::MCMCInterval::UpperLimitBySparseHist().

Double_t THnSparse::GetBinContent ( Long64_t  bin,
Int_t idx = 0 
) const

Definition at line 864 of file THnSparse.cxx.

References chunk, fChunkSize, fNdimensions, THnSparseCoordCompression::GetBufferSize(), GetChunk(), GetCompactCoord(), and THnSparseCoordCompression::SetCoordFromBuffer().

Double_t THnSparse::GetBinError ( const Int_t idx  )  const

Definition at line 890 of file THnSparse.cxx.

References chunk, fChunkSize, GetBinContent(), GetBinIndexForCurrentBin(), GetCalculateErrors(), GetChunk(), GetCompactCoord(), kFALSE, Long64_t, THnSparseCompactBinCoord::SetCoord(), and TMath::Sqrt().

Referenced by AddInternal(), Divide(), Multiply(), PrintBin(), ProjectionAny(), Rebin(), Scale(), testDivSparse1(), and testDivSparse2().

Double_t THnSparse::GetBinError ( Long64_t  linidx  )  const

Definition at line 909 of file THnSparse.cxx.

References chunk, fChunkSize, GetBinContent(), GetCalculateErrors(), GetChunk(), and TMath::Sqrt().

Double_t THnSparse::GetSparseFractionBins (  )  const

Definition at line 1034 of file THnSparse.cxx.

References d, fFilledBins, fNdimensions, GetAxis(), and GetNbins().

Referenced by Print().

Double_t THnSparse::GetSparseFractionMem (  )  const

Definition at line 1044 of file THnSparse.cxx.

References d, fBinContent, fBins, THnSparseArrayChunk::fContent, fFilledBins, fNdimensions, GetAxis(), THnSparseCoordCompression::GetBufferSize(), GetChunk(), GetChunkSize(), GetCompactCoord(), TClass::GetDataMember(), TDataMember::GetDataType(), TObjArray::GetEntries(), GetNbins(), TExMap::GetSize(), Long64_t, TDataType::Size(), size, and TObject::Warning().

Referenced by Print().

Double_t THnSparse::GetSumw (  )  const [inline]

Definition at line 231 of file THnSparse.h.

References fTsumw.

Referenced by RooStats::MCMCInterval::DetermineBySparseHist(), and Print().

Double_t THnSparse::GetSumw2 (  )  const [inline]

Definition at line 232 of file THnSparse.h.

References fTsumw2.

Referenced by Print().

Double_t THnSparse::GetSumwx ( Int_t  dim  )  const [inline]

Definition at line 233 of file THnSparse.h.

References fTsumwx.

Referenced by Print().

Double_t THnSparse::GetSumwx2 ( Int_t  dim  )  const [inline]

Definition at line 234 of file THnSparse.h.

References fTsumwx2.

Referenced by Print().

TH1D * THnSparse::Projection ( Int_t  xDim,
Option_t option = "" 
) const

Definition at line 1107 of file THnSparse.cxx.

References ProjectionAny().

Referenced by ProjectionTester::compareHistograms(), and drawsparse().

TH2D * THnSparse::Projection ( Int_t  yDim,
Int_t  xDim,
Option_t option = "" 
) const

Definition at line 1121 of file THnSparse.cxx.

References ProjectionAny().

TH3D * THnSparse::Projection ( Int_t  xDim,
Int_t  yDim,
Int_t  zDim,
Option_t option = "" 
) const

Definition at line 1138 of file THnSparse.cxx.

References ProjectionAny().

THnSparse * THnSparse::Projection ( Int_t  ndim,
const Int_t dim,
Option_t option = "" 
) const

Definition at line 1154 of file THnSparse.cxx.

References ProjectionAny().

THnSparse * THnSparse::Rebin ( Int_t  group  )  const

Definition at line 1785 of file THnSparse.cxx.

References d, and GetNdimensions().

THnSparse * THnSparse::Rebin ( const Int_t group  )  const

Definition at line 1840 of file THnSparse.cxx.

References TObjArray::AddAt(), TObjArray::At(), TArrayD::At(), TMath::CeilNint(), TNamed::Clone(), CloneEmpty(), d, fChunkSize, fEntries, fNdimensions, Form(), GetAxis(), GetBinContent(), GetBinError(), GetCalculateErrors(), TNamed::GetName(), TAxis::GetNbins(), GetNbins(), GetNdimensions(), TArray::GetSize(), TNamed::GetTitle(), TAxis::GetXbins(), TAxis::GetXmax(), TAxis::GetXmin(), h, i, kNPOS, kTRUE, Long64_t, name, TAxis::Set(), TCollection::SetOwner(), TMath::Sqrt(), and title.

Long64_t THnSparse::Merge ( TCollection list  ) 

Definition at line 1435 of file THnSparse.cxx.

References Add(), TExMap::Capacity(), TObject::Error(), TExMap::Expand(), fBinContent, fBins, FillExMap(), GetEntries(), TObject::GetName(), GetNbins(), TExMap::GetSize(), TCollection::GetSize(), list, Long64_t, and TIter::Reset().

void THnSparse::Scale ( Double_t  c  ) 

Definition at line 1317 of file THnSparse.cxx.

References GetBinContent(), GetBinError(), GetCalculateErrors(), GetEntries(), GetNbins(), i, Long64_t, SetBinContent(), SetBinError(), and SetEntries().

void THnSparse::Add ( const THnSparse h,
Double_t  c = 1. 
)

Definition at line 1407 of file THnSparse.cxx.

References AddInternal(), CheckConsistency(), h, and kFALSE.

Referenced by Merge().

void THnSparse::Multiply ( const THnSparse h  ) 

Definition at line 1473 of file THnSparse.cxx.

References CheckConsistency(), fNdimensions, GetBinContent(), GetBinError(), GetCalculateErrors(), GetEntries(), GetNbins(), h, i, kFALSE, kTRUE, Long64_t, SetBinContent(), SetBinError(), SetEntries(), TMath::Sqrt(), Sumw2(), and v1.

Referenced by testDivSparse1(), and testDivSparse2().

void THnSparse::Multiply ( TF1 f,
Double_t  c = 1. 
)

Definition at line 1511 of file THnSparse.cxx.

References error, fNdimensions, GetAxis(), GetBinContent(), GetBinError(), GetCalculateErrors(), GetNbins(), i, j, kFALSE, NULL, points, TF1::RejectPoint(), SetBinContent(), SetBinError(), Sumw2(), and value.

void THnSparse::Divide ( const THnSparse h  ) 

Definition at line 1556 of file THnSparse.cxx.

References CheckConsistency(), fEntries, fNdimensions, GetBinContent(), GetBinError(), GetCalculateErrors(), GetNbins(), h, i, kFALSE, kTRUE, Long64_t, SetBinContent(), SetBinError(), SetEntries(), TMath::Sqrt(), Sumw2(), v1, and TObject::Warning().

Referenced by testDivSparse1(), and testDivSparse2().

void THnSparse::Divide ( const THnSparse h1,
const THnSparse h2,
Double_t  c1 = 1.,
Double_t  c2 = 1.,
Option_t option = "" 
)

Definition at line 1610 of file THnSparse.cxx.

References TMath::Abs(), binomial(), CheckConsistency(), TString::Contains(), TObject::Error(), fFilledBins, fNdimensions, TH2D::GetBinContent(), TH1::GetBinError(), GetCalculateErrors(), TH1::GetEntries(), h1, h2, i, kFALSE, kTRUE, Long64_t, Reset(), SetBinContent(), SetBinError(), SetEntries(), TMath::Sqrt(), Sumw2(), TString::ToLower(), v1, w, and TObject::Warning().

void THnSparse::RebinnedAdd ( const THnSparse h,
Double_t  c = 1. 
)

Definition at line 1421 of file THnSparse.cxx.

References AddInternal(), h, and kTRUE.

void THnSparse::Reset ( Option_t option = ""  ) 

Definition at line 1926 of file THnSparse.cxx.

References TObject::Clear(), TExMap::Delete(), TObjArray::Delete(), fBinContent, fBins, fBinsContinued, fEntries, fFilledBins, fIntegral, fIntegralStatus, fTsumw, fTsumw2, and kNoInt.

Referenced by Divide().

void THnSparse::Sumw2 (  ) 

Definition at line 1771 of file THnSparse.cxx.

References chunk, fBinContent, fTsumw2, and GetCalculateErrors().

Referenced by AddInternal(), ProjectionTester::buildHistograms(), ProjectionTester::buildHistogramsWithWeights(), CalculateErrors(), RooStats::MCMCInterval::CreateSparseHist(), Divide(), RooStats::MarkovChain::GetAsSparseHist(), Multiply(), SetBinError(), testAddSparse(), testDivSparse1(), testDivSparse2(), testMergeSparse(), and testMulSparse().

Double_t THnSparse::ComputeIntegral (  ) 

Definition at line 1943 of file THnSparse.cxx.

References TObject::Error(), fIntegral, fIntegralStatus, fNdimensions, GetAxis(), GetBinContent(), GetNbins(), i, kNoInt, kValidInt, and Long64_t.

Referenced by GetRandom().

void THnSparse::GetRandom ( Double_t rand,
Bool_t  subBinRandom = kTRUE 
)

Definition at line 996 of file THnSparse.cxx.

References TMath::BinarySearch(), ComputeIntegral(), fIntegral, fIntegralStatus, fNdimensions, GetAxis(), GetBinContent(), TAxis::GetBinWidth(), GetNbins(), GetNdimensions(), gRandom, i, kValidInt, Long64_t, p, and TRandom::Rndm().

void THnSparse::Print ( Option_t option = ""  )  const [virtual]

Reimplemented from TNamed.

Definition at line 2107 of file THnSparse.cxx.

References axis, fNdimensions, GetAxis(), GetCalculateErrors(), GetChunkSize(), GetEntries(), TNamed::GetName(), GetNbins(), GetNChunks(), GetNdimensions(), GetSparseFractionBins(), GetSparseFractionMem(), GetSumw(), GetSumw2(), GetSumwx(), GetSumwx2(), TNamed::GetTitle(), PrintEntries(), and Printf().

void THnSparse::PrintEntries ( Long64_t  from = 0,
Long64_t  howmany = -1,
Option_t options = 0 
) const

Definition at line 2059 of file THnSparse.cxx.

References fNdimensions, GetAxis(), GetNbins(), i, Long64_t, nbins, and PrintBin().

Referenced by Print().

void THnSparse::PrintBin ( Int_t coord,
Option_t options 
) const [inline]

Definition at line 265 of file THnSparse.h.

References PrintBin().

void THnSparse::PrintBin ( Long64_t  idx,
Option_t options 
) const

Definition at line 2000 of file THnSparse.cxx.

References fNdimensions, and PrintBin().

THnSparse::ClassDef ( THnSparse  ,
 
)

THnSparse& THnSparse::operator= ( const THnSparse  )  [private]

Int_t THnSparse::GetChunkSize (  )  const [inline, protected]

Definition at line 136 of file THnSparse.h.

References fChunkSize.

THnSparseCompactBinCoord* THnSparse::GetCompactCoord (  )  const [protected]

THnSparseArrayChunk* THnSparse::GetChunk ( Int_t  idx  )  const [inline, protected]

Definition at line 138 of file THnSparse.h.

References fBinContent.

THnSparseArrayChunk* THnSparse::AddChunk (  )  [protected]

void THnSparse::FillExMap (  )  [protected]

virtual TArray* THnSparse::GenerateArray (  )  const [protected, pure virtual]

Long64_t THnSparse::GetBinIndexForCurrentBin ( Bool_t  allocate  )  [protected]

Long64_t THnSparse::Fill ( Long64_t  bin,
Double_t  w 
) [inline, protected]

Definition at line 145 of file THnSparse.h.

References chunk, fChunkSize, fEntries, fIntegralStatus, fTsumw, fTsumw2, GetCalculateErrors(), GetChunk(), and kInvalidInt.

THnSparse* THnSparse::CloneEmpty ( const char *  name,
const char *  title,
const TObjArray axes,
Int_t  chunksize,
Bool_t  keepTargetAxis 
) const [protected]

Bool_t THnSparse::CheckConsistency ( const THnSparse h,
const char *  tag 
) const [protected]

Bool_t THnSparse::IsInRange ( Int_t coord  )  const [protected]

TH1* THnSparse::CreateHist ( const char *  name,
const char *  title,
const TObjArray axes,
Bool_t  keepTargetAxis 
) const [protected]

TObject* THnSparse::ProjectionAny ( Int_t  ndim,
const Int_t dim,
Bool_t  wantSparse,
Option_t option = "" 
) const [protected]

Bool_t THnSparse::PrintBin ( Long64_t  idx,
Int_t coord,
Option_t options 
) const [protected]

void THnSparse::AddInternal ( const THnSparse h,
Double_t  c,
Bool_t  rebinned 
) [protected]

static THnSparse* THnSparse::CreateSparse ( const char *  name,
const char *  title,
const TH1 h1,
Int_t  ChunkSize = 1024 *16 
) [static]

Int_t THnSparse::GetNChunks (  )  const [inline]

Definition at line 177 of file THnSparse.h.

References fBinContent, and TObjArray::GetEntriesFast().

TObjArray* THnSparse::GetListOfAxes (  )  [inline]

Definition at line 178 of file THnSparse.h.

References fAxes.

TAxis* THnSparse::GetAxis ( Int_t  dim  )  const [inline]

Definition at line 179 of file THnSparse.h.

References fAxes.

Long64_t THnSparse::Fill ( const Double_t x,
Double_t  w = 1. 
) [inline]

Definition at line 181 of file THnSparse.h.

References d, Fill(), fNdimensions, fTsumwx, fTsumwx2, GetBin(), GetCalculateErrors(), and w.

Long64_t THnSparse::Fill ( const char *  name[],
Double_t  w = 1. 
) [inline]

Definition at line 191 of file THnSparse.h.

References Fill(), GetBin(), and w.

TFitResultPtr THnSparse::Fit ( TF1 f1,
Option_t option = "",
Option_t goption = "" 
)

TList* THnSparse::GetListOfFunctions (  )  [inline]

Definition at line 196 of file THnSparse.h.

Double_t THnSparse::GetEntries (  )  const [inline]

Definition at line 198 of file THnSparse.h.

References fEntries.

Double_t THnSparse::GetWeightSum (  )  const [inline]

Definition at line 199 of file THnSparse.h.

References fTsumw.

Long64_t THnSparse::GetNbins (  )  const [inline]

Definition at line 200 of file THnSparse.h.

References fFilledBins.

Int_t THnSparse::GetNdimensions (  )  const [inline]

Definition at line 201 of file THnSparse.h.

References fNdimensions.

Bool_t THnSparse::GetCalculateErrors (  )  const [inline]

Definition at line 202 of file THnSparse.h.

References fTsumw2.

void THnSparse::CalculateErrors ( Bool_t  calc = kTRUE  )  [inline]

Definition at line 203 of file THnSparse.h.

References fTsumw2, and Sumw2().

Long64_t THnSparse::GetBin ( const Int_t idx,
Bool_t  allocate = kTRUE 
)

Long64_t THnSparse::GetBin ( const Double_t x,
Bool_t  allocate = kTRUE 
)

Long64_t THnSparse::GetBin ( const char *  name[],
Bool_t  allocate = kTRUE 
)

void THnSparse::SetBinEdges ( Int_t  idim,
const Double_t bins 
)

void THnSparse::SetBinContent ( const Int_t x,
Double_t  v 
)

void THnSparse::SetBinContent ( Long64_t  bin,
Double_t  v 
)

void THnSparse::SetBinError ( const Int_t x,
Double_t  e 
)

void THnSparse::SetBinError ( Long64_t  bin,
Double_t  e 
)

void THnSparse::AddBinContent ( const Int_t x,
Double_t  v = 1. 
)

void THnSparse::AddBinContent ( Long64_t  bin,
Double_t  v = 1. 
)

void THnSparse::SetEntries ( Double_t  entries  )  [inline]

Definition at line 220 of file THnSparse.h.

References fEntries.

void THnSparse::SetTitle ( const char *  title  )  [virtual]

Reimplemented from TNamed.

Double_t THnSparse::GetBinContent ( const Int_t idx  )  const

Double_t THnSparse::GetBinContent ( Long64_t  bin,
Int_t idx = 0 
) const

Double_t THnSparse::GetBinError ( const Int_t idx  )  const

Double_t THnSparse::GetBinError ( Long64_t  linidx  )  const

Double_t THnSparse::GetSparseFractionBins (  )  const

Double_t THnSparse::GetSparseFractionMem (  )  const

Double_t THnSparse::GetSumw (  )  const [inline]

Definition at line 231 of file THnSparse.h.

References fTsumw.

Double_t THnSparse::GetSumw2 (  )  const [inline]

Definition at line 232 of file THnSparse.h.

References fTsumw2.

Double_t THnSparse::GetSumwx ( Int_t  dim  )  const [inline]

Definition at line 233 of file THnSparse.h.

References fTsumwx.

Double_t THnSparse::GetSumwx2 ( Int_t  dim  )  const [inline]

Definition at line 234 of file THnSparse.h.

References fTsumwx2.

TH1D* THnSparse::Projection ( Int_t  xDim,
Option_t option = "" 
) const

TH2D* THnSparse::Projection ( Int_t  yDim,
Int_t  xDim,
Option_t option = "" 
) const

TH3D* THnSparse::Projection ( Int_t  xDim,
Int_t  yDim,
Int_t  zDim,
Option_t option = "" 
) const

THnSparse* THnSparse::Projection ( Int_t  ndim,
const Int_t dim,
Option_t option = "" 
) const

THnSparse* THnSparse::Rebin ( Int_t  group  )  const

THnSparse* THnSparse::Rebin ( const Int_t group  )  const

Long64_t THnSparse::Merge ( TCollection list  ) 

void THnSparse::Scale ( Double_t  c  ) 

void THnSparse::Add ( const THnSparse h,
Double_t  c = 1. 
)

void THnSparse::Multiply ( const THnSparse h  ) 

void THnSparse::Multiply ( TF1 f,
Double_t  c = 1. 
)

void THnSparse::Divide ( const THnSparse h  ) 

void THnSparse::Divide ( const THnSparse h1,
const THnSparse h2,
Double_t  c1 = 1.,
Double_t  c2 = 1.,
Option_t option = "" 
)

void THnSparse::RebinnedAdd ( const THnSparse h,
Double_t  c = 1. 
)

void THnSparse::Reset ( Option_t option = ""  ) 

void THnSparse::Sumw2 (  ) 

Double_t THnSparse::ComputeIntegral (  ) 

void THnSparse::GetRandom ( Double_t rand,
Bool_t  subBinRandom = kTRUE 
)

void THnSparse::Print ( Option_t option = ""  )  const [virtual]

Reimplemented from TNamed.

void THnSparse::PrintEntries ( Long64_t  from = 0,
Long64_t  howmany = -1,
Option_t options = 0 
) const

void THnSparse::PrintBin ( Int_t coord,
Option_t options 
) const [inline]

Definition at line 265 of file THnSparse.h.

References PrintBin().

void THnSparse::PrintBin ( Long64_t  idx,
Option_t options 
) const

THnSparse::ClassDef ( THnSparse  ,
 
)


Member Data Documentation

Int_t THnSparse::fNdimensions [private]

Definition at line 107 of file THnSparse.h.

Referenced by AddInternal(), CheckConsistency(), CloneEmpty(), ComputeIntegral(), Divide(), Fill(), GetBin(), GetBinContent(), GetCompactCoord(), GetNdimensions(), GetRandom(), GetSparseFractionBins(), GetSparseFractionMem(), IsInRange(), Multiply(), Print(), PrintBin(), PrintEntries(), ProjectionAny(), Rebin(), SetTitle(), and THnSparse().

Int_t THnSparse::fChunkSize [private]

Definition at line 108 of file THnSparse.h.

Referenced by AddBinContent(), CloneEmpty(), Fill(), GetBinContent(), GetBinError(), GetBinIndexForCurrentBin(), GetChunkSize(), ProjectionAny(), Rebin(), SetBinContent(), and SetBinError().

Long64_t THnSparse::fFilledBins [private]

Definition at line 109 of file THnSparse.h.

Referenced by Divide(), GetBinIndexForCurrentBin(), GetNbins(), GetSparseFractionBins(), GetSparseFractionMem(), and Reset().

TObjArray THnSparse::fAxes [private]

Definition at line 110 of file THnSparse.h.

Referenced by CloneEmpty(), GetAxis(), GetListOfAxes(), SetBinEdges(), and THnSparse().

TObjArray THnSparse::fBinContent [private]

Definition at line 111 of file THnSparse.h.

Referenced by AddChunk(), AddInternal(), FillExMap(), GetBinIndexForCurrentBin(), GetChunk(), GetNChunks(), GetSparseFractionMem(), Merge(), Reset(), Sumw2(), and THnSparse().

TExMap THnSparse::fBins [private]

Definition at line 112 of file THnSparse.h.

Referenced by AddInternal(), FillExMap(), GetBinIndexForCurrentBin(), GetSparseFractionMem(), Merge(), and Reset().

TExMap THnSparse::fBinsContinued [private]

filled bins

Definition at line 113 of file THnSparse.h.

Referenced by FillExMap(), GetBinIndexForCurrentBin(), and Reset().

Double_t THnSparse::fEntries [private]

filled bins for non-unique hashes, containing pairs of (bin index 0, bin index 1)

Definition at line 114 of file THnSparse.h.

Referenced by Divide(), Fill(), GetEntries(), ProjectionAny(), Rebin(), Reset(), SetBinContent(), and SetEntries().

Double_t THnSparse::fTsumw [private]

Definition at line 115 of file THnSparse.h.

Referenced by Fill(), GetSumw(), GetWeightSum(), and Reset().

Double_t THnSparse::fTsumw2 [private]

Definition at line 116 of file THnSparse.h.

Referenced by CalculateErrors(), Fill(), GetCalculateErrors(), GetSumw2(), Reset(), and Sumw2().

TArrayD THnSparse::fTsumwx [private]

Definition at line 117 of file THnSparse.h.

Referenced by Fill(), and GetSumwx().

TArrayD THnSparse::fTsumwx2 [private]

Definition at line 118 of file THnSparse.h.

Referenced by Fill(), and GetSumwx2().

THnSparseCompactBinCoord* THnSparse::fCompactCoord [private]

Definition at line 119 of file THnSparse.h.

Referenced by CloneEmpty(), GetCompactCoord(), THnSparse(), and ~THnSparse().

Double_t* THnSparse::fIntegral [private]

compact coordinate

Definition at line 120 of file THnSparse.h.

Referenced by ComputeIntegral(), GetRandom(), Reset(), and ~THnSparse().

enum { ... } THnSparse::fIntegralStatus [private]

array with bin weight sums

Referenced by ComputeIntegral(), Fill(), GetRandom(), Reset(), and ~THnSparse().

THnSparseCompactBinCoord* THnSparse::fCompactCoord [private]

Definition at line 119 of file THnSparse.h.

Double_t* THnSparse::fIntegral [private]

compact coordinate

Definition at line 120 of file THnSparse.h.

enum { ... } THnSparse::fIntegralStatus [private]

array with bin weight sums


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:41:38 2011 for ROOT_528-00b_version by  doxygen 1.5.1