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

#include <HistogramManager.h>

Inheritance diagram for Hal::HistogramManager_1_3D< T >:

Public Member Functions

 HistogramManager_1_3D (const HistogramManager_1_3D &manager)
 
HistogramManager_1_3D< T > & operator= (const HistogramManager_1_3D &manager)
 
void Init (Int_t size, HistogramAxisConf **axisconf, TString title, Bool_t Sumw=kFALSE)
 
void Init (Int_t sizeX, Int_t binsX, Double_t minX, Double_t maxX, Int_t binsY, Double_t minY, Double_t maxY, Int_t binsZ, Double_t minZ, Double_t maxZ, Bool_t sumw=kFALSE)
 
Int_t GetSize () const
 
TString GetComment (Int_t i)
 
void SetComment (TString comment, Int_t i)
 
TList * GetFlatList () const
 
PackageReport () const
 
T * At (const Int_t i) const
 
T ** GetArrray () const
 
void OverwriteAt (T *t, Int_t pos)
 
void Fill (Int_t i, Double_t X, Double_t Y, Double_t Z)
 
void Fill (Int_t i, Double_t X, Double_t Y, Double_t Z, Double_t weight)
 

Public Attributes

T ** fArray
 

Protected Attributes

Int_t fSize
 
Int_t fAxisNo
 
TString * fComments
 

Detailed Description

template<class T>
class Hal::HistogramManager_1_3D< T >

template that store 1dim array of 3-dim histograms

Definition at line 302 of file HistogramManager.h.

Constructor & Destructor Documentation

◆ HistogramManager_1_3D() [1/2]

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

Definition at line 321 of file HistogramManager.h.

◆ HistogramManager_1_3D() [2/2]

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

Definition at line 250 of file HistogramManager.cxx.

◆ ~HistogramManager_1_3D()

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

Definition at line 418 of file HistogramManager.h.

Member Function Documentation

◆ At()

template<class T >
T * Hal::HistogramManager_1_3D< T >::At ( const Int_t i) const
inline

return histogram

Parameters
ihistogram position
Returns
histogram

Definition at line 389 of file HistogramManager.h.

◆ Fill() [1/2]

template<class T >
void Hal::HistogramManager_1_3D< T >::Fill ( Int_t i,
Double_t X,
Double_t Y,
Double_t Z )
inline

fill histogram

Parameters
ihistogram position
Xx-value
Yy-value
Zz-value

Definition at line 408 of file HistogramManager.h.

◆ Fill() [2/2]

template<class T >
void Hal::HistogramManager_1_3D< T >::Fill ( Int_t i,
Double_t X,
Double_t Y,
Double_t Z,
Double_t weight )
inline

fill histogram

Parameters
ihistogram position
Xx-value
Yy-value
Zz-value
weightweight used for filling

Definition at line 417 of file HistogramManager.h.

◆ GetArrray()

template<class T >
T ** Hal::HistogramManager_1_3D< T >::GetArrray ( ) const
inline
Returns
array of histogram

Definition at line 394 of file HistogramManager.h.

◆ GetComment()

template<class T >
TString Hal::HistogramManager_1_3D< T >::GetComment ( Int_t i)
inline
Parameters
ihistogram index
Returns
comment for histogram

Definition at line 367 of file HistogramManager.h.

◆ GetFlatList()

template<class T >
TList * Hal::HistogramManager_1_3D< T >::GetFlatList ( ) const
Returns
histogram array as TList

Definition at line 359 of file HistogramManager.cxx.

◆ GetSize()

template<class T >
Int_t Hal::HistogramManager_1_3D< T >::GetSize ( ) const
inline
Returns
size of this array

Definition at line 361 of file HistogramManager.h.

◆ Init() [1/2]

template<class T >
void Hal::HistogramManager_1_3D< T >::Init ( Int_t size,
HistogramAxisConf ** axisconf,
TString title,
Bool_t Sumw = kFALSE )

initialize histograms

Parameters
sizesize of array
axisconfarray of axis configurations
titletitle of histograms
Sumwif true Suwm is called for histograms

Definition at line 288 of file HistogramManager.cxx.

◆ Init() [2/2]

template<class T >
void Hal::HistogramManager_1_3D< T >::Init ( Int_t sizeX,
Int_t binsX,
Double_t minX,
Double_t maxX,
Int_t binsY,
Double_t minY,
Double_t maxY,
Int_t binsZ,
Double_t minZ,
Double_t maxZ,
Bool_t sumw = kFALSE )

initialize histograms

Parameters
sizeXsize of array
binsXnumber of bins
minXx-min
maxXx-max
binsY
minYy-min
maxYy-min
binsZ
minZz-min
maxZz-max
sumwif true call Sumw

Definition at line 315 of file HistogramManager.cxx.

◆ operator=()

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

Definition at line 263 of file HistogramManager.cxx.

◆ OverwriteAt()

template<class T >
void Hal::HistogramManager_1_3D< T >::OverwriteAt ( T * t,
Int_t pos )

overwite this histogram, old histogram will be deleted

Parameters

param pos

Definition at line 340 of file HistogramManager.cxx.

◆ Report()

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

Definition at line 350 of file HistogramManager.cxx.

◆ SetComment()

template<class T >
void Hal::HistogramManager_1_3D< T >::SetComment ( TString comment,
Int_t i )
inline

set comment to histogram

Parameters
commentcomment
ihistogram position

Definition at line 373 of file HistogramManager.h.

Member Data Documentation

◆ fArray

template<class T >
T** Hal::HistogramManager_1_3D< T >::fArray

array of histograms

Definition at line 320 of file HistogramManager.h.

◆ fAxisNo

template<class T >
Int_t Hal::HistogramManager_1_3D< T >::fAxisNo
protected

axes number

Definition at line 311 of file HistogramManager.h.

◆ fComments

template<class T >
TString* Hal::HistogramManager_1_3D< T >::fComments
protected

array of comments

Definition at line 315 of file HistogramManager.h.

◆ fSize

template<class T >
Int_t Hal::HistogramManager_1_3D< T >::fSize
protected

length or array

Definition at line 307 of file HistogramManager.h.


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