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

#include <HistogramManager.h>

Inheritance diagram for Hal::HistogramManager_4_1D< T >:

Public Member Functions

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

Public Attributes

HistogramManager_3_1D< T > * fArray
 

Detailed Description

template<class T>
class Hal::HistogramManager_4_1D< T >

4dim array of 1-dim histograms

Definition at line 1025 of file HistogramManager.h.

Constructor & Destructor Documentation

◆ HistogramManager_4_1D() [1/2]

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

Definition at line 1034 of file HistogramManager.h.

◆ HistogramManager_4_1D() [2/2]

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

Definition at line 863 of file HistogramManager.cxx.

◆ ~HistogramManager_4_1D()

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

Definition at line 1113 of file HistogramManager.h.

Member Function Documentation

◆ At()

template<class T >
T * Hal::HistogramManager_4_1D< T >::At ( Int_t i,
Int_t j,
Int_t k,
Int_t l ) const
inline

return histogram with given indexes

Parameters
i1st index
j2nd index
kf3rd index
l4th index
Returns
histogram

Definition at line 1091 of file HistogramManager.h.

◆ Fill() [1/2]

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

fill histogram that have given index

Parameters
i1st index
j2nd index
k3rd index
l4th index
Xvalue to fill

Definition at line 1100 of file HistogramManager.h.

◆ Fill() [2/2]

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

fill histogram that have given index

Parameters
i1st index
j2nd index
k3rd index
l4th index
Xvalue to fill
weightweight

Definition at line 1110 of file HistogramManager.h.

◆ Get()

template<class T >
HistogramManager_3_1D< T > * Hal::HistogramManager_4_1D< T >::Get ( const Int_t i) const
inline
Parameters
iindex
Returns
sub-array

Definition at line 1082 of file HistogramManager.h.

◆ GetFlatList()

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

Definition at line 936 of file HistogramManager.cxx.

◆ GetSize()

template<class T >
Int_t Hal::HistogramManager_4_1D< T >::GetSize ( ) const
inline
Returns
4th dimension of array

Definition at line 1066 of file HistogramManager.h.

◆ Init() [1/2]

template<class T >
void Hal::HistogramManager_4_1D< T >::Init ( Int_t sizeX,
Int_t sizeY,
Int_t sizeZ,
Int_t sizeD,
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)
sizeDsize of array (4th dim)
axisconfarray of axis configurations
titletitle of histograms
Sumwif true Suwm is called for histogtrams

Definition at line 892 of file HistogramManager.cxx.

◆ Init() [2/2]

template<class T >
void Hal::HistogramManager_4_1D< T >::Init ( Int_t sizeX,
Int_t sizeY,
Int_t sizeZ,
Int_t sizeT,
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
sizeTsize of array
binsXnumber of bins
minXx-min
maxXx-max
sumwif true call Sumw

Definition at line 910 of file HistogramManager.cxx.

◆ operator=()

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

Definition at line 874 of file HistogramManager.cxx.

◆ Report()

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

Definition at line 927 of file HistogramManager.cxx.

Member Data Documentation

◆ fArray

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

array of arrays

Definition at line 1033 of file HistogramManager.h.


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