![]() |
Project
|
#include <StepTHn.h>
Inherits StepTHn.
Public Member Functions | |
StepTHnT () | |
StepTHnT (const Char_t *name, const Char_t *title, const Int_t nSteps, const Int_t nAxes, Int_t *nBins, std::vector< Double_t > binEdges[], const char **axisTitles) | |
StepTHnT (const char *name, const char *title, const int nSteps, const int nAxes, const int *nBins, const double *xmin, const double *xmax) | |
~StepTHnT () override=default | |
Long64_t | Merge (TCollection *list) override |
![]() | |
StepTHn () | |
StepTHn (const Char_t *name, const Char_t *title, const Int_t nSteps, const Int_t nAxes) | |
~StepTHn () override | |
template<typename... Ts> | |
void | Fill (int iStep, const Ts &... valuesAndWeight) |
void | Fill (int iStep, int nParams, double positionAndWeight[]) |
THnBase * | getTHn (Int_t step, Bool_t sparse=kFALSE) |
Int_t | getNSteps () |
Int_t | getNVar () |
TArray * | getValues (Int_t step) |
TArray * | getSumw2 (Int_t step) |
StepTHn (const StepTHn &c) | |
StepTHn & | operator= (const StepTHn &corr) |
void | Copy (TObject &c) const override |
TAxis * | GetAxis (int i) |
void | Sumw2 () |
Protected Member Functions | |
TArray * | createArray (const TArray *src=nullptr) const override |
![]() | |
void | init () |
void | createTarget (Int_t step, Bool_t sparse) |
void | deleteContainers () |
Long64_t | getGlobalBinIndex (const Int_t *binIdx) |
Additional Inherited Members | |
![]() | |
Long64_t | mNBins |
Int_t | mNVars |
Int_t | mNSteps |
TArray ** | mValues |
TArray ** | mSumw2 |
THnBase ** | mTarget |
TAxis ** | mAxisCache |
target histogram | |
Int_t * | mNbinsCache |
cache axis pointers (about 50% of the time in Fill is spent in GetAxis otherwise) | |
Double_t * | mLastVars |
cache Nbins per axis | |
Int_t * | mLastBins |
caching of last used bins (in many loops some vars are the same for a while) | |
THnSparse * | mPrototype |
caching of last used bins (in many loops some vars are the same for a while) | |
|
inline |
StepTHnT< TemplateArray >::StepTHnT | ( | const Char_t * | name, |
const Char_t * | title, | ||
const Int_t | nSteps, | ||
const Int_t | nAxes, | ||
Int_t * | nBins, | ||
std::vector< Double_t > | binEdges[], | ||
const char ** | axisTitles | ||
) |
Definition at line 85 of file StepTHn.cxx.
StepTHnT< TemplateArray >::StepTHnT | ( | const char * | name, |
const char * | title, | ||
const int | nSteps, | ||
const int | nAxes, | ||
const int * | nBins, | ||
const double * | xmin, | ||
const double * | xmax | ||
) |
Definition at line 72 of file StepTHn.cxx.
|
inlineoverrideprotectedvirtual |
|
overridevirtual |
Implements StepTHn.
Definition at line 225 of file StepTHn.cxx.