Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
Hal::HistogramManager_3_1D< T > Class Template Reference

#include <HistogramManager.h>

Inheritance diagram for Hal::HistogramManager_3_1D< T >:

Public Member Functions

 HistogramManager_3_1D (const HistogramManager_3_1D &manager)
 
HistogramManager_3_1D< T > & operator= (const HistogramManager_3_1D &manager)
 
void Init (Int_t sizeX, Int_t sizeY, Int_t sizeZ, HistogramAxisConf **axisconf, TString title, Bool_t Sumw=kFALSE)
 
void Init (Int_t sizeX, Int_t sizeY, Int_t sizeZ, Int_t binsX, Double_t minX, Double_t maxX, Bool_t sumw=kFALSE)
 
Int_t GetSize () const
 
TList * GetFlatList () const
 
PackageReport () const
 
HistogramManager_2_1D< T > * Get (Int_t i) const
 
T * At (Int_t i, Int_t j, Int_t k) const
 
void Fill (Int_t i, Int_t j, Int_t k, Double_t X)
 
void Fill (Int_t i, Int_t j, Int_t k, Double_t X, Double_t weight)
 

Public Attributes

HistogramManager_2_1D< T > * fArray
 

Detailed Description

template<class T>
class Hal::HistogramManager_3_1D< T >

3-dim array of 1-dim histogram

Definition at line 723 of file HistogramManager.h.

Constructor & Destructor Documentation

◆ HistogramManager_3_1D() [1/2]

template<class T >
Hal::HistogramManager_3_1D< T >::HistogramManager_3_1D ( )
inline

Definition at line 732 of file HistogramManager.h.

◆ HistogramManager_3_1D() [2/2]

template<class T >
Hal::HistogramManager_3_1D< T >::HistogramManager_3_1D ( const HistogramManager_3_1D< T > & manager)

Definition at line 604 of file HistogramManager.cxx.

◆ ~HistogramManager_3_1D()

template<class T >
virtual Hal::HistogramManager_3_1D< T >::~HistogramManager_3_1D ( )
inlinevirtual

Definition at line 802 of file HistogramManager.h.

Member Function Documentation

◆ At()

template<class T >
T * Hal::HistogramManager_3_1D< T >::At ( Int_t i,
Int_t j,
Int_t k ) const
inline
Parameters
i1st index in array of histograms
j2nd index in array of histograms
k3rd index in array of histograms
Returns
histogram

Definition at line 784 of file HistogramManager.h.

◆ Fill() [1/2]

template<class T >
void Hal::HistogramManager_3_1D< T >::Fill ( Int_t i,
Int_t j,
Int_t k,
Double_t X )
inline

fill given histogram

Parameters
i1st index in array of histograms
j2nd index in array of histograms
kf3rd index in array of histograms
Xvalue

Definition at line 792 of file HistogramManager.h.

◆ Fill() [2/2]

template<class T >
void Hal::HistogramManager_3_1D< T >::Fill ( Int_t i,
Int_t j,
Int_t k,
Double_t X,
Double_t weight )
inline

fill given histogram

Parameters
i1st index in array of histograms
j2nd index in array of histograms
kf3rd index in array of histograms
Xvalue
weightweight

Definition at line 801 of file HistogramManager.h.

◆ Get()

template<class T >
HistogramManager_2_1D< T > * Hal::HistogramManager_3_1D< T >::Get ( Int_t i) const
inline

get sub-barray

Parameters
iindex
Returns
sub-array

Definition at line 776 of file HistogramManager.h.

◆ GetFlatList()

template<class T >
TList * Hal::HistogramManager_3_1D< T >::GetFlatList ( ) const
Returns
all histograms in "flat" TList

Definition at line 670 of file HistogramManager.cxx.

◆ GetSize()

template<class T >
Int_t Hal::HistogramManager_3_1D< T >::GetSize ( ) const
inline
Returns
3rd dimension of array

Definition at line 760 of file HistogramManager.h.

◆ Init() [1/2]

template<class T >
void Hal::HistogramManager_3_1D< T >::Init ( Int_t sizeX,
Int_t sizeY,
Int_t sizeZ,
HistogramAxisConf ** axisconf,
TString title,
Bool_t Sumw = kFALSE )

initialize histograms

Parameters
sizeXsize of array (1st dim)
sizeYsize of array (2nd dim)
sizeZsize of array (3rd dim)
axisconfarray of axis configurations
titletitle of histograms
Sumwif true Suwm is called for histograms

Definition at line 633 of file HistogramManager.cxx.

◆ Init() [2/2]

template<class T >
void Hal::HistogramManager_3_1D< T >::Init ( Int_t sizeX,
Int_t sizeY,
Int_t sizeZ,
Int_t binsX,
Double_t minX,
Double_t maxX,
Bool_t sumw = kFALSE )

initialize histograms

Parameters
sizeXsize of array
sizeYsize of array
sizeZsize of array
binsXnumber of bins
minXx-min
maxXx-max
sumwif true call Sumw

Definition at line 651 of file HistogramManager.cxx.

◆ operator=()

template<class T >
HistogramManager_3_1D< T > & Hal::HistogramManager_3_1D< T >::operator= ( const HistogramManager_3_1D< T > & manager)

Definition at line 615 of file HistogramManager.cxx.

◆ Report()

template<class T >
Package * Hal::HistogramManager_3_1D< T >::Report ( ) const
Returns
package mad from this

Definition at line 661 of file HistogramManager.cxx.

Member Data Documentation

◆ fArray

template<class T >
HistogramManager_2_1D<T>* Hal::HistogramManager_3_1D< T >::fArray

array of arrays

Definition at line 731 of file HistogramManager.h.


The documentation for this class was generated from the following files: