#include <THnSparse.h>
Inheritance diagram for THnSparse:
Definition at line 105 of file THnSparse.h.
anonymous enum [private] |
anonymous enum [private] |
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] |
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] |
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().
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().
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().
Definition at line 1697 of file THnSparse.cxx.
References fNdimensions, GetAxis(), GetNbins(), h, kFALSE, kTRUE, and TObject::Warning().
Referenced by Add(), Divide(), and Multiply().
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().
Definition at line 2010 of file THnSparse.cxx.
References fNdimensions, GetBin(), GetBinContent(), GetBinError(), GetCalculateErrors(), kFALSE, kTRUE, and Printf().
Referenced by PrintBin(), and PrintEntries().
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 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().
Definition at line 181 of file THnSparse.h.
References d, Fill(), fNdimensions, fTsumwx, fTsumwx2, GetBin(), GetCalculateErrors(), 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] |
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().
Definition at line 845 of file THnSparse.cxx.
References GetBinIndexForCurrentBin(), GetCompactCoord(), and THnSparseCompactBinCoord::SetCoord().
Referenced by AddInternal(), Fill(), RooStats::MCMCInterval::IsInInterval(), and PrintBin().
Definition at line 814 of file THnSparse.cxx.
References fNdimensions, GetAxis(), GetBinIndexForCurrentBin(), GetCompactCoord(), THnSparseCompactBinCoord::GetCoord(), i, and THnSparseCompactBinCoord::UpdateCoord().
Definition at line 830 of file THnSparse.cxx.
References fNdimensions, GetAxis(), GetBinIndexForCurrentBin(), GetCompactCoord(), THnSparseCompactBinCoord::GetCoord(), i, and THnSparseCompactBinCoord::UpdateCoord().
Definition at line 1724 of file THnSparse.cxx.
References GetBinIndexForCurrentBin(), GetCompactCoord(), kTRUE, and THnSparseCompactBinCoord::SetCoord().
Referenced by Divide(), Multiply(), Scale(), and testMulSparse().
Definition at line 1734 of file THnSparse.cxx.
References chunk, fChunkSize, fEntries, and GetChunk().
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().
Definition at line 1754 of file THnSparse.cxx.
References chunk, TObject::Error(), fChunkSize, GetCalculateErrors(), GetChunk(), and Sumw2().
Definition at line 536 of file THnSparse.cxx.
References GetBinIndexForCurrentBin(), GetCompactCoord(), kTRUE, Long64_t, and THnSparseCompactBinCoord::SetCoord().
Referenced by AddInternal(), and ProjectionAny().
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().
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().
Definition at line 864 of file THnSparse.cxx.
References chunk, fChunkSize, fNdimensions, THnSparseCoordCompression::GetBufferSize(), GetChunk(), GetCompactCoord(), and THnSparseCoordCompression::SetCoordFromBuffer().
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().
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 1107 of file THnSparse.cxx.
References ProjectionAny().
Referenced by ProjectionTester::compareHistograms(), and drawsparse().
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().
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().
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::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().
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().
THnSparse::ClassDef | ( | THnSparse | , | |
2 | ||||
) |
Int_t THnSparse::GetChunkSize | ( | ) | const [inline, protected] |
THnSparseCompactBinCoord* THnSparse::GetCompactCoord | ( | ) | const [protected] |
THnSparseArrayChunk* THnSparse::GetChunk | ( | Int_t | idx | ) | const [inline, protected] |
THnSparseArrayChunk* THnSparse::AddChunk | ( | ) | [protected] |
void THnSparse::FillExMap | ( | ) | [protected] |
virtual TArray* THnSparse::GenerateArray | ( | ) | const [protected, pure virtual] |
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] |
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] |
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 181 of file THnSparse.h.
References d, Fill(), fNdimensions, fTsumwx, fTsumwx2, GetBin(), GetCalculateErrors(), 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] |
Double_t THnSparse::GetWeightSum | ( | ) | const [inline] |
Long64_t THnSparse::GetNbins | ( | ) | const [inline] |
Int_t THnSparse::GetNdimensions | ( | ) | const [inline] |
Bool_t THnSparse::GetCalculateErrors | ( | ) | const [inline] |
void THnSparse::SetEntries | ( | Double_t | entries | ) | [inline] |
void THnSparse::SetTitle | ( | const char * | title | ) | [virtual] |
Reimplemented from TNamed.
Double_t THnSparse::GetSparseFractionBins | ( | ) | const |
Double_t THnSparse::GetSparseFractionMem | ( | ) | const |
Double_t THnSparse::GetSumw | ( | ) | const [inline] |
Double_t THnSparse::GetSumw2 | ( | ) | const [inline] |
Long64_t THnSparse::Merge | ( | TCollection * | list | ) |
void THnSparse::Scale | ( | Double_t | c | ) |
void THnSparse::Multiply | ( | const THnSparse * | h | ) |
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::Reset | ( | Option_t * | option = "" |
) |
void THnSparse::Sumw2 | ( | ) |
Double_t THnSparse::ComputeIntegral | ( | ) |
void THnSparse::PrintEntries | ( | Long64_t | from = 0 , |
|
Long64_t | howmany = -1 , |
|||
Option_t * | options = 0 | |||
) | const |
THnSparse::ClassDef | ( | THnSparse | , | |
2 | ||||
) |
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] |
TArrayD THnSparse::fTsumwx2 [private] |
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] |
enum { ... } THnSparse::fIntegralStatus [private] |
array with bin weight sums