#include <TH1K.h>
Inheritance diagram for TH1K:
Public Member Functions | |
TH1K () | |
TH1K (const char *name, const char *title, Int_t nbinsx, Double_t xlow, Double_t xup, Int_t k=0) | |
virtual | ~TH1K () |
virtual Int_t | Fill (Double_t x) |
virtual Int_t | Fill (Double_t x, Double_t w) |
virtual Int_t | Fill (const char *name, Double_t w) |
virtual Double_t | GetBinContent (Int_t bin) const |
virtual Double_t | GetBinContent (Int_t bin, Int_t) const |
virtual Double_t | GetBinContent (Int_t bin, Int_t, Int_t) const |
virtual Double_t | GetBinError (Int_t bin) const |
virtual Double_t | GetBinError (Int_t bin, Int_t) const |
virtual Double_t | GetBinError (Int_t bin, Int_t, Int_t) const |
virtual void | Reset (Option_t *option="") |
virtual void | SavePrimitive (ostream &out, Option_t *option="") |
void | SetKOrd (Int_t k) |
TH1K () | |
TH1K (const char *name, const char *title, Int_t nbinsx, Double_t xlow, Double_t xup, Int_t k=0) | |
virtual | ~TH1K () |
virtual Int_t | Fill (Double_t x) |
virtual Int_t | Fill (Double_t x, Double_t w) |
virtual Int_t | Fill (const char *name, Double_t w) |
virtual Double_t | GetBinContent (Int_t bin) const |
virtual Double_t | GetBinContent (Int_t bin, Int_t) const |
virtual Double_t | GetBinContent (Int_t bin, Int_t, Int_t) const |
virtual Double_t | GetBinError (Int_t bin) const |
virtual Double_t | GetBinError (Int_t bin, Int_t) const |
virtual Double_t | GetBinError (Int_t bin, Int_t, Int_t) const |
virtual void | Reset (Option_t *option="") |
virtual void | SavePrimitive (ostream &out, Option_t *option="") |
void | SetKOrd (Int_t k) |
Protected Attributes | |
Int_t | fReady |
Int_t | fNIn |
Int_t | fKOrd |
Int_t | fKCur |
Private Member Functions | |
void | Sort () |
void | Sort () |
Definition at line 27 of file TH1K.h.
TH1K::TH1K | ( | ) |
TH1K::TH1K | ( | ) |
TH1K::TH1K | ( | const char * | name, | |
const char * | title, | |||
Int_t | nbinsx, | |||
Double_t | xlow, | |||
Double_t | xup, | |||
Int_t | k = 0 | |||
) |
virtual TH1K::~TH1K | ( | ) | [virtual] |
void TH1K::Sort | ( | ) | [private] |
Reimplemented from TH1.
Definition at line 75 of file TH1K.cxx.
References TArrayF::AddAt(), TH1::fEntries, TH1::fgStatOverflows, TAxis::FindBin(), TArray::fN, fNIn, fReady, TH1::fTsumw, TH1::fTsumw2, TH1::fTsumwx, TH1::fTsumwx2, TH1::fXaxis, TAxis::GetNbins(), and TArrayF::Set().
Reimplemented from TH1.
Definition at line 105 of file TH1K.cxx.
References TMath::Abs(), TMath::BinarySearch(), TArrayF::fArray, fKCur, fKOrd, fNIn, fReady, TH1::GetBinCenter(), TH1::GetBinWidth(), and x.
Referenced by GetBinContent(), and GetBinError().
Reimplemented from TH1.
Definition at line 133 of file TH1K.cxx.
References fKCur, fNIn, GetBinContent(), and TMath::Sqrt().
Referenced by GetBinError().
void TH1K::Reset | ( | Option_t * | option = "" |
) | [virtual] |
void TH1K::SavePrimitive | ( | ostream & | out, | |
Option_t * | option = "" | |||
) | [virtual] |
Reimplemented from TH1.
Definition at line 153 of file TH1K.cxx.
References TObject::ClassName(), TString::Contains(), TString::Data(), TArrayF::fArray, TH1::fDirectory, fKOrd, fNIn, TH1::fOption, TH1::fXaxis, TH1::fYaxis, TH1::fZaxis, TNamed::GetName(), TAxis::GetNbins(), TNamed::GetTitle(), TH1::GetXaxis(), TAxis::GetXmax(), TAxis::GetXmin(), i, TH1::kNoStats, TString::Length(), TAxis::SaveAttributes(), TAttFill::SaveFillAttributes(), TAttLine::SaveLineAttributes(), TAttMarker::SaveMarkerAttributes(), TObject::TestBit(), and TString::ToLower().
void TH1K::Sort | ( | ) | [private] |
virtual void TH1K::SavePrimitive | ( | ostream & | out, | |
Option_t * | option = "" | |||
) | [virtual] |
Reimplemented from TH1.
Int_t TH1K::fReady [protected] |
Int_t TH1K::fNIn [protected] |
Definition at line 33 of file TH1K.h.
Referenced by Fill(), GetBinContent(), GetBinError(), Reset(), SavePrimitive(), Sort(), and TH1K().
Int_t TH1K::fKOrd [protected] |
Definition at line 34 of file TH1K.h.
Referenced by GetBinContent(), SavePrimitive(), SetKOrd(), and TH1K().
Int_t TH1K::fKCur [protected] |