ROOT
6.07/01
Reference Guide
|
Abstract array base class.
Used by TArrayC, TArrayS, TArrayI, TArrayL, TArrayF and TArrayD. Data member is public for historical reasons.
Public Member Functions | |
TArray () | |
TArray (Int_t n) | |
TArray (const TArray &a) | |
TArray & | operator= (const TArray &rhs) |
virtual | ~TArray () |
Int_t | GetSize () const |
virtual void | Set (Int_t n)=0 |
virtual Double_t | GetAt (Int_t i) const =0 |
virtual void | SetAt (Double_t v, Int_t i)=0 |
Static Public Member Functions | |
static TArray * | ReadArray (TBuffer &b, const TClass *clReq) |
Read TArray object from buffer. More... | |
static void | WriteArray (TBuffer &b, const TArray *a) |
Write TArray object to buffer. More... | |
Public Attributes | |
Int_t | fN |
Protected Member Functions | |
Bool_t | BoundsOk (const char *where, Int_t at) const |
Bool_t | OutOfBoundsError (const char *where, Int_t i) const |
Friends | |
TBuffer & | operator<< (TBuffer &b, const TArray *obj) |
Write TArray or derived object to buffer. More... | |
#include <TArray.h>
Definition at line 79 of file TArray.h.
Referenced by TArrayC::AddAt(), TArrayD::AddAt(), TArrayF::AddAt(), TArrayI::AddAt(), TArrayL::AddAt(), TArrayL64::AddAt(), TArrayS::AddAt(), TArrayI::At(), TArrayF::At(), TArrayL::At(), TArrayL64::At(), TArrayC::At(), TArrayS::At(), TArrayD::At(), TArrayC::operator[](), TArrayD::operator[](), TArrayL::operator[](), TArrayL64::operator[](), TArrayF::operator[](), TArrayS::operator[](), and TArrayI::operator[]().
Implemented in TArrayC, TArrayD, TArrayF, TArrayI, TArrayL, TArrayL64, and TArrayS.
Referenced by THnSparseArrayChunk::AddBinContent(), THnSparse::AddBinContent(), THnSparse::GetBinContent(), and THnSparseArrayChunk::Sumw2().
|
inline |
Definition at line 49 of file TArray.h.
Referenced by THnSparseArrayChunk::AddBin(), TEvePointSet::AssertIntIdsSize(), RooStats::BayesianCalculator::ComputeShortestInterval(), THnBase::CreateHist(), TDecompSparse::Decompose(), TUnfold::ErrorMatrixToHist(), TDecompSparse::Factor(), TFITSHDU::GetArrayColumn(), TFITSHDU::GetArrayRow(), THnSparse::GetBinContent(), THnSparse::GetBinError2(), getGaussRnd(), TDsKey::GetKey(), TTreeFormulaManager::GetNdata(), TRobustEstimator::GetNOut(), TUnfold::GetOutput(), TTreeFormula::GetRealInstance(), TUnfold::GetRhoIFromMatrix(), TFormLeafInfoMultiVarDim::GetSize(), TDsKey::GetSum(), TProofPlayerSuperMaster::HandleTimer(), THnBase::Init(), TDecompSparse::InitPivot(), TAxis::IsVariableBinSize(), TBufferJSON::JsonWriteMember(), TTreeFormula::LoadCurrentDim(), TFormLeafInfoMultiVarDim::LoadSizes(), TFormLeafInfoMultiVarDimCollection::LoadSizes(), TFormLeafInfoMultiVarDimClones::LoadSizes(), TH2::Merge(), TH3::Merge(), TH1::Merge(), TDsKey::operator==(), portfolio(), TProofPlayerSuperMaster::Progress(), TFITSHDU::ReadAsHistogram(), TFITSHDU::ReadAsImage(), TFITSHDU::ReadAsMatrix(), TFile::ReadStreamerInfo(), TProfile::Rebin(), TH1::Rebin(), TH2::Rebin2D(), TProfile2D::Rebin2D(), TH3::Rebin3D(), THnBase::RebinBase(), rr_arrayc_new(), rr_arrayd_new(), rr_arrayf_new(), rr_arrayi_new(), rr_arrayl_new(), rr_arrays_new(), TASImage::SetImage(), TDecompSparse::SetMatrix(), TDecompSparse::Solve(), THnSparseArrayChunk::Sumw2(), TStreamerInfo::TagFile(), TBufferFile::TagStreamerInfo(), TGRegion::TGRegion(), THnSparseArrayChunk::THnSparseArrayChunk(), TFormLeafInfoMultiVarDim::UpdateSizes(), TParallelMergingFile::UploadAndReset(), TMVA::PDF::ValidatePDF(), and TParallelMergingFile::WriteStreamerInfo().
Referenced by BoundsOk().
Read TArray object from buffer.
Simplified version of TBuffer::ReadObject (does not keep track of multiple references to same array).
Definition at line 41 of file TArray.cxx.
Referenced by operator>>().
Implemented in TArrayD, TArrayF, TArrayI, TArrayL, TArrayL64, TArrayS, and TArrayC.
Referenced by THnSparseArrayChunk::AddBinContent(), THnSparse::AddBinContent(), and THnSparse::SetBinContent().
Write TArray object to buffer.
Simplified version of TBuffer::WriteObject (does not keep track of multiple references to the same array).
Definition at line 82 of file TArray.cxx.
Referenced by operator<<().
Write TArray or derived object to buffer.
Definition at line 112 of file TArray.cxx.
Int_t TArray::fN |
Definition at line 40 of file TArray.h.
Referenced by TH2Poly::Add(), TH1::Add(), TArrayC::Adopt(), TArrayD::Adopt(), TArrayF::Adopt(), TArrayI::Adopt(), TArrayL::Adopt(), TArrayS::Adopt(), TArrayL64::Adopt(), BoundsOk(), TH1::CheckBinLimits(), TH1::ClearUnderflowAndOverflow(), TArrayD::Copy(), TArrayL::Copy(), TArrayC::Copy(), TArrayF::Copy(), TArrayL64::Copy(), TArrayS::Copy(), TArrayI::Copy(), TF2::CreateHistogram(), TGraphAsymmErrors::Divide(), TProfile::Divide(), TProfile2D::Divide(), TProfile3D::Divide(), TH1::Divide(), TH1::DoFillN(), TH3::DoFillProfileProjection(), TH2::DoFitSlices(), TProfile2D::DoProfile(), TH2::DoProfile(), TH3::DoProject1D(), TH3::DoProject2D(), TH2::DoProjection(), TProfile3D::DoProjectProfile2D(), TH3::DoProjectProfile2D(), TH2::DoQuantiles(), TH1::DrawNormalized(), TH1::Eval(), TH1K::Fill(), TH2::Fill(), TH3::Fill(), TH2Poly::Fill(), TProfile::Fill(), TProfile2D::Fill(), TProfile3D::Fill(), TH1::Fill(), RooAbsData::fillHistogram(), TH2::FillN(), TProfile::FillN(), TH1::FillRandom(), TAxis::FindBin(), TAxis::FindFixBin(), TH3::FitSlicesZ(), TProfile::GetB2(), TProfile2D::GetB2(), TProfile3D::GetB2(), TAxis::GetBinCenter(), TAxis::GetBinCenterLog(), TH2Poly::GetBinError(), TH1::GetBinError(), TH1::GetBinErrorLow(), TH1::GetBinErrorSqUnchecked(), TH1::GetBinErrorUp(), TAxis::GetBinLowEdge(), TAxis::GetBinUpEdge(), TAxis::GetBinWidth(), TF2::GetContour(), TH1::GetContour(), TF2::GetContourLevel(), TH1::GetContourLevel(), TH1::GetContourLevelPad(), GetSize(), TProfile::GetStats(), TProfile2D::GetStats(), TProfile3D::GetStats(), TArrayD::GetSum(), TArrayI::GetSum(), TArrayL64::GetSum(), TArrayF::GetSum(), TArrayS::GetSum(), TArrayL::GetSum(), TArrayC::GetSum(), TH1::GetSumw2N(), TMVA::Tools::HistoHasEquidistantBins(), IsEquidistantBinning(), TH1::LabelsDeflate(), TH1::LabelsInflate(), TH1::LabelsOption(), TH2::Merge(), TH3::Merge(), TH1::Merge(), TH1::Multiply(), TDecayChannel::NDaughters(), TArrayF::operator=(), TArrayI::operator=(), TArrayL64::operator=(), TArrayL::operator=(), TArrayS::operator=(), TArrayC::operator=(), TArrayD::operator=(), operator=(), THStack::Paint(), TF2::Paint(), THistPainter::PaintErrors(), THistPainter::PaintHist(), TH1::Print(), TProfile::ProjectionX(), TProfile2D::ProjectionXY(), TProfile3D::ProjectionXYZ(), TProfile::Rebin(), TH1::Rebin(), TH2::Rebin2D(), TProfile2D::Rebin2D(), TH3::Rebin3D(), TH1::Rebuild(), TArrayD::Reset(), TArrayC::Reset(), TArrayL64::Reset(), TArrayL::Reset(), TArrayI::Reset(), TArrayS::Reset(), TArrayF::Reset(), TH1::ResetStats(), TH2Poly::SavePrimitive(), TProfile::SavePrimitive(), TEfficiency::SavePrimitive(), TProfile3D::SavePrimitive(), TProfile2D::SavePrimitive(), TH1::SavePrimitive(), TH1::Scale(), TArrayC::Set(), TArrayF::Set(), TArrayD::Set(), TArrayL64::Set(), TArrayI::Set(), TArrayS::Set(), TArrayL::Set(), TAxis::Set(), TH1::SetBinError(), TProfile3D::SetBins(), TProfile2D::SetBins(), TH1::SetBins(), TF2::SetContourLevel(), TH1::SetContourLevel(), TH2::Smooth(), TH1::Sumw2(), TArrayC::TArrayC(), TArrayD::TArrayD(), TArrayF::TArrayF(), TArrayI::TArrayI(), TArrayL::TArrayL(), TArrayL64::TArrayL64(), TArrayS::TArrayS(), and ~TArray().